[Digikam-devel] [Bug 137750] color mode2 nikon d70s not recognized as adobe rgb

Caspar Maessen cmaessen at casco.demon.nl
Wed Nov 29 20:51:07 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=137750         




------- Additional Comments From cmaessen casco demon nl  2006-11-29 21:51 -------
Op donderdag 23 november 2006 22:01, schreef Caspar Maessen:
  > No luck. checked out the gettext branch of svn-version 991 of


For the time being I'm making use of a workaround with the exiv2 
commandline tool:
exiv2 -M"set Exif.Photo.ColorSpace Short 2" _dsc*.jpg

This works based on the following information

This is what digiKam expects:
TagName:               Type:     Value:    Translation:
Exif.Nikon3.ColorMode  Ascii  9  MODE1a    MODE1a
Exif.Photo.ColorSpace  Short  1  1         sRGB
Exif.Nikon3.ColorMode  Ascii  9  MODE2     MODE2
Exif.Photo.ColorSpace  Short  1  2         Adobe RGB
Exif.Nikon3.ColorMode  Ascii  9  MODE3a    MODE3a
Exif.Photo.ColorSpace  Short  1  1         sRGB

And this is what it gets:
TagName:               Type:     Value:    Translation:
Exif.Nikon3.ColorMode  Ascii  9  MODE1a    MODE1a
Exif.Photo.ColorSpace  Short  1  1         sRGB
Exif.Nikon3.ColorMode  Ascii  9  MODE2     MODE2
Exif.Photo.ColorSpace  Short  1  65535     Uncalibrated
Exif.Nikon3.ColorMode  Ascii  9  MODE3a    MODE3a
Exif.Photo.ColorSpace  Short  1  1         sRGB

So the MODE2 camera-setting isn't translated correctly. The fix is
that we set Exif.Photo.ColorSpace for every JPG-file with the filename
beginning with an underscore (_dsc*.jpg), defining fotographs
taken in MODE2.

I am creating a script around this, with which I will also fix the 
ISO-tag. For sake of efficiency in my workflow and the need of renaming 
outside digiKam (too many digits in the sequencenumber), I will do 
without the digiKam imagedownload for the time being. So I also need to 
take care of autorotation, for which I'm using exiftran.
Nevertheless, I hope you will solve this matter in due time, because 
this is not an ideal solution.


Caspar.



More information about the Digikam-devel mailing list