TechnikTobi / little_exif

A little library for reading and writing EXIF data in pure Rust.
Apache License 2.0
18 stars 4 forks source link

Changed ISO to be an arbitrary list of values #4

Closed dbartussek closed 4 months ago

dbartussek commented 4 months ago

The exif spec (https://www.cipa.jp/std/documents/download_e.html?DC-008-Translation-2023-E) states in section 4.6.6, Table 9, that "Photographic Sensitivity" (renamed from "ISO speed rating") is an arbitrary number of shorts.

Testing samples from https://github.com/ianare/exif-samples shows that generally, only one value is present. Windows also only recognizes metadata with a single ISO value, so the current implementation produces exif data from which Windows cannot read the ISO value.

TechnikTobi commented 4 months ago

huh, well, seems to have changed since revision 1.4 (February 2001). Thanks for the fix!