i am not sure if this is a bug or the expected behaviour.
I have a jpeg file with EXIF information that also includes a Photoshop IRB marker inside APP13 (0xFFED).
libexif ignores the exif information of that file. Debugging it, is seems that in exif_data_load_data(), that marker is not identified, and the file parsing stops here:
* Unknown marker or data. Give up. */
840 exif_log (data->priv->log, EXIF_LOG_CODE_CORRUPT_DATA,
841 "ExifData", _("EXIF marker not found."));
I've modified the function to detect the marker APP13 (0xFFED), and in that case, move to the next marker (0xFF).
After changing that, the library finds the EXIF data in the picture.
The image is copyrighted and cannot upload it. I will try to find another one with this marker to upload a test case.
Log in to post a comment.