xiaozhuai / imageinfo

Free Palestine🇵🇸🇵🇸🇵🇸Cross platform super fast single header c++ library to get image size and format without loading/decoding. Support avif, bmp, cur, dds, gif, hdr (pic), heic (heif), icns, ico, j2k, jp2, jpeg (jpg), jpx, ktx, png, psd, qoi, tga, tiff (tif), webp ...
MIT License
106 stars 26 forks source link

Can't read HDR file #3

Closed abbaswasim closed 9 months ago

abbaswasim commented 9 months ago

IIUC it should be able to identify and read HDR files but running imageinfo https://github.com/KhronosGroup/glTF-Sample-Environments/blob/b710a9fe6bcdfb8965530ede36e8279c298261de/footprint_court.hdr gives error

  - Error    : Unrecognized image format
xiaozhuai commented 9 months ago

Thanks for report this bug, it was fixed by https://github.com/xiaozhuai/imageinfo/commit/4fe7ec088785091ac2cf5f72b72ccdc7b7ba1fa5