ianare / exif-py

Easy to use Python module to extract Exif metadata from digital image files.
BSD 3-Clause "New" or "Revised" License
831 stars 191 forks source link

Option to return floats instead of strings representing fractions #198

Closed gitcodebob closed 4 months ago

gitcodebob commented 4 months ago

As a developer I use ExposureTime from Exif tags to do calculations. This is made difficult. Tag values are converted to strings by the library, into a fractional notation.

Example: EXIF ExposureTime 1/160

Can we include an option to prevent converting float and int values to strings or atleast disable the fractional notation?