exif-handling.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. How GIMP should handle EXIF data
  2. Bill Skaggs 1/2/05
  3. This is a summary of how an image editing program is supposed to
  4. handle each of the EXIF fields, according to the EXIF specs. Note
  5. that this expresses my understanding based on a quick reading, and
  6. should not be taken as gospel. For details on the contents of each of
  7. these fields, consult the formal EXIF specifications, available from
  8. http://www.exif.org/specifications.html.
  9. (Note: according to the EXIF specs, an EXIF jpeg file must have a name
  10. that is ASCII, in 8.3 format, with extension .JPG, but of course we
  11. are not going to enforce this.)
  12. Fields that should be used to set up the GIMP image when an EXIF file
  13. is loaded, either by using them to configure the image (e.g.,
  14. orientation), or by placing them in parasites that can be accessed by
  15. non-exif-aware functions.
  16. Orientation
  17. XResolution
  18. YResolution
  19. ResolutionUnit
  20. ImageDescription
  21. Artist
  22. Copyright
  23. Colorspace
  24. ComponentsConfiguration
  25. UserComment
  26. SubjectArea
  27. SubjectLocation
  28. ImageUniqueID
  29. PixelXDimension
  30. PixelYDimension
  31. Fields that should be modified by GIMP when an EXIF jpeg file is
  32. saved. A letter "M" indicates fields whose presence is mandatory
  33. according to the spec.
  34. Orientation
  35. XResolution (M)
  36. YResolution (M)
  37. ResolutionUnit (M)
  38. Software
  39. DateTime
  40. ImageDescription
  41. Artist
  42. Colorspace (M)
  43. PixelXDimension (M)
  44. PixelYDimension (M)
  45. ComponentsConfiguration (M)
  46. UserComment
  47. SubsecTime
  48. SubjectArea
  49. SubjectLocation
  50. FileSource
  51. ImageUniqueID
  52. thumbnail Compression (M)
  53. thumbnail XResolution (M)
  54. thumbnail YResolution (M)
  55. thumbnail JPEGInterchangeFormat (M)
  56. thumbnail JPEGInterchangeFormatLength (M)
  57. Fields that should be used and saved related to color management:
  58. TransferFunction
  59. WhitePoint
  60. PrimaryChromaticity
  61. YCbCrCoefficients
  62. ReferenceBlackWhite
  63. Fields that should be deleted if they exist when saving a file as
  64. jpeg, because they only apply to uncompressed (TIFF) data. This
  65. applies both to the main image and to the thumbnail, if there is one.
  66. ImageWidth
  67. ImageLength
  68. BitsPerSample
  69. Compression
  70. SamplesPerPixel
  71. PhotometricInterpretation
  72. StripOffsets
  73. PlanarConfiguration
  74. YCbCrSubSampling
  75. Any field not mentioned here should be passed through unchanged.