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?
#4
(09-16-2022, 09:15 PM)ajax Wrote: 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.

Hi,
I have just recently begun to use GIMP 2.10.12 for retouching images - but have used it for years for drawing. What I now notice is that images exported as JPEG's invariably have the current day's date and time as the DateTaken and this, in my examples, is often several years ago.
I have had to resort to using jExifGUI to reinstate the correct dates and times in the newly-saved images. This is probably a mix-up in selecting which date tags to read from and write to in this newer version of GIMP as in the relatively few images saved in earlier versions I never noticed this behaviour.

I often use Faststone Viewer to compare original and edited images and like to have them appear side-by-side in the thumbnails so I can use the arrow keys to switch quickly and easily from one to another to compare. Beefore-and-After comparisons within software is of little use to me as I often want (need?) to compare several versions rather than simply two.
Has anybody else noticed this changed dates and times issue? I should be interested to hear if anybody has, and I am also interested to know Ajax has fared with the problem he outlined in the above quote.

I am guessing that if a way could be found to temporarily disable ExifTool operations within GIMP the problem might be solved since GIMP couldn't then read or write to image files. What do other user think?

Lastly, as a new member, Hello to all and thanks in advance for any comments.

Mike
Reply


Messages In This Thread
RE: What is the basis for metadata contained in image files produced by GIMP? - by mikebyrne - 02-03-2023, 06:37 PM

Forum Jump: