News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Make JPEG file DCF compatible

Started by Archive, May 12, 2010, 08:54:26 AM

Previous topic - Next topic

Archive

[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

[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

[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

[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