#109 Exif data is not read; libexif claims it is corrupt

closed-invalid
Dan Fandrich
libexif (61)
5
2012-08-08
2011-12-29
Stephan Arts
No

I am implementing icc-color-profile support in ristretto.

There are 2 types I need to take into account, the ICC profile of the output-device. (the monitor/printer) and the ICC-profile of the input-device. (embedded in an image's exif-data)

I use libexif to read the exif-data from image-files. The test-case I received in our bugtracker: https://bugzilla.xfce.org/show_bug.cgi?id=8039 links to the following image: http://img.fotocommunity.com/photos/4763821.jpg

When viewed in firefox or geeqie, the color-profiles are read and applied. exiftool is perfectly happy listing the exif-tags and their values.\

But, when I try to extract the tag: EXIF_TAG_INTER_COLOR_PROFILE, nothing happens.

Opening the file with the exif gives the following message:

Corrupt data
The data provided does not follow the specification.
ExifLoader: The data supplied does not seem to contain EXIF data.

I am not sure if this is a valid error since other applications appear to have no problems with reading the exif-tags.

I am using (lib)exif 0.6.20

Discussion

  • Dan Fandrich
    Dan Fandrich
    2012-06-13

    • assigned_to: nobody --> dfandrich
    • status: open --> pending-invalid
     
  • Dan Fandrich
    Dan Fandrich
    2012-06-13

    The sample image does not contain EXIF metadata. It does contain an ICC Color Profile, but that is not a data format that libexif supports.

     
  • Dan Fandrich
    Dan Fandrich
    2012-08-08

    • status: pending-invalid --> closed-invalid