LeoHsiao1 / pyexiv2

Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
GNU General Public License v3.0
202 stars 39 forks source link

Allow compilation with older libexiv2 #83

Closed jim-easterbrook closed 3 years ago

jim-easterbrook commented 3 years ago

The enableBMFF function was introduced in libexiv2 v0.27.4. This change allows exiv2api.cpp to be compiled with older versions of libexiv2. I copied it from here: https://github.com/Exiv2/exiv2/issues/1493#issuecomment-808083726

LeoHsiao1 commented 3 years ago

Thank you for your work! Since this PR only affects compilation, it will only be visible in the Git repository until the next release to pypi.org .