Roughsketch / imagesize

Quickly probe the size of various image formats without reading the entire file.
MIT License
57 stars 12 forks source link

Handle EXR long names flag #27

Closed Roughsketch closed 1 year ago

Roughsketch commented 1 year ago

According to the OpenEXR docs, the long name bit flag indicates whether or not the maximum attribute name is 255 characters or 31 characters. This uses that flag to avoid reading more data than is required for the file.