Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the basis for metadata contained in image files produced by GIMP?
#1
Have been using GIMP for long enough to remember when it just couldn't handle metadata.  Have been pleased to see that change such that metadata is included.  The documentation (i.e., User guide) on this subject has also been a work in progress and seems to lack reliability.  For example, the User Guide includes text at the beginning of the main section which says "Note: ... PNG, JPEG, TIFF and WebP preserve existing metadata. ...".  Then when reaching down into the more detailed explanations, for Exif data, there is text which says "It is not supported in JPEG 2000 or PNG.".  Pretty much adds up to a direct contradiction.

When working with photographs, which is the basis for this post, the idea of simply preserving the metadata produced by the camera is desirable.  In the case of Exif data there is a standard which is thought to apply to cameras (i.e., files produced by cameras).  This means that post processing software like GIMP and lots of others ought NOT be changing it.  Must admit it took a while to notice but that is NOT the case.

It seems that GIMP recognizes different types of metadata to include Exif, XMP, & IPTC.  There is also something called Makernotes which is produced by cameras where the term "maker" is believed to mean that it is specific to a particular camera (i.e., proprietary rather than a universal standard).  It appears as though post processing software, to include GIMP, treat this as though it is Exif data.  For example, GIMP includes it when Exif inclusion is specified for image files to be created and excludes it otherwise.

The new finding is that the Exif metadata included in image files created by GIMP closely resembles what the camera produced.  However, one discrepancy involves GIMP adding tags to describe the dimensions of the new image file along with bit depth which is flat out wrong (i.e., Bits per sample: 8 8 8 in the case of an image file with 16 bit precision).  It has been noticed the cameras are prone to making this same mistake but that might could be reconciled by saying it applies to the preview image whereas in the example mentioned there is no thumbnail or preview image.

When it comes to Makernotes such minor discrepancies are no longer the case.  The differences are major.  For example, as much as 30% of tags are simply omitted.  Given that Makernotes are particular to the camera it would be expected that GIMP ought NOT be changing anything.  What scenario would call for GIMP making such alterations to be desirable?  Thinking here is that it would be better for GIMP to omit the Makernotes rather than make changes.  What reason might there be for doing this.

Afraid these new discoveries suggest that, at least for Exif data, GIMP's support is more destructive than productive.
Reply


Messages In This Thread
What is the basis for metadata contained in image files produced by GIMP? - by ajax - 09-16-2022, 09:15 PM

Forum Jump: