Author Topic: Make JPEG file DCF compatible  (Read 6296 times)

Archive

  • Newbie
  • *
  • Posts: 0
Make JPEG file DCF compatible
« on: May 12, 2010, 08:54:26 AM »
[Originally posted by geirhh on 2008-10-23 18:41:29-07]

Does anyone know I can
insert basic EXIF data into JPEGs so my images become 'DCF compliant'.

EXIF JPEG format is a bit different from other JPEG formats,
notable JFIF JPEG as used in many image editing applications.

Archive

  • Newbie
  • *
  • Posts: 0
Re: Make JPEG file DCF compatible
« Reply #1 on: May 12, 2010, 08:54:26 AM »
[Originally posted by exiftool on 2008-10-23 23:07:35-07]

Yes, absolutely you can do this with exiftool, except that you
need some image utility to generate the thumbnail image
since that is part of the DCF spec (I believe).  ExifTool will
insert a thumbnail image for you, but it won't generate one.
All the rest of the tags should be no problem.  But you should
read the DCF spec to see exactly what it requires, I don't remember
off the top of my head.

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: Make JPEG file DCF compatible
« Reply #2 on: May 12, 2010, 08:54:26 AM »
[Originally posted by exiftool on 2008-10-23 23:47:31-07]

I did a bit of reading, and the thumbnail isn't mandatory
for a DCF image.  For a DCF basic file, the following tags
are mandatory:

Make

Model

DateTimeOriginal

CreateDate (called DateTimeDigitized by the spec)

InteropIndex

InteropVersion

The DCF basic file is one that uses the sRGB color space.
There are additional requirements for the DCF optional
file (other color space like Adobe RGB):

WhitePoint

PrimaryChromaticities

YCbCrCoefficients

Gamma

ExifTool may be used to write all these.  You should also
use exiftool to delete JFIF information if it exists since
this shouldn't appear in an EXIF JPEG.

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: Make JPEG file DCF compatible
« Reply #3 on: May 12, 2010, 08:54:26 AM »
[Originally posted by exiftool on 2008-10-23 23:59:51-07]

Also, the ColorSpace tag is mandatory for both types
of DCF images.  (but somehow it is missing from table
12 in the DCF specification).

- Phil