Page 1 of 1

Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-03-30T08:19:07-07:00
by deus_ex_mamiya
Hi,

The Imagemagick “Formats” webpage says that this format is supported (for reading):
DCR R Kodak Digital Camera Raw Image File

However, the ‘convert’ & ‘display’ commands both spew out error messages, and fail to operate, when I feed them any Kodak .DCR file from my Kodak Proback 645M.
It seems that DCR is not actually supported, at least under my version: I am using ImageMagick-6.4.0, on Suse 11.

Could you please try to fix this? I can supply .dcr files for testing, if this would help.

Thanks,
Ray

Re: Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-03-30T09:06:49-07:00
by el_supremo
What are the error messages?

ImageMagick uses the dcraw program as a "delegate" to read images from several types of digital camera, Kodak being one of them.
I suspect that for some reason dcraw isn't on your system.

Pete

Re: Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-03-30T09:30:29-07:00
by deus_ex_mamiya
Error messages:

ray@baade:~> convert 47fb2685.dcr test_dcr.tif

convert: incorrect count for field "MinSampleValue" (1, expecting 3); tag ignored. `47fb2685.dcr'.
convert: 47fb2685.dcr: unknown field with tag 33405 (0x827d) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 33423 (0x828f) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 33424 (0x8290) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 33434 (0x829a) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 33437 (0x829d) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 34850 (0x8822) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 34859 (0x882b) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 36867 (0x9003) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37380 (0x9204) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37381 (0x9205) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37383 (0x9207) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37384 (0x9208) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37386 (0x920a) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37393 (0x9211) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37397 (0x9215) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37398 (0x9216) encountered. `TIFFReadDirectory'.
convert: 47fb2685.dcr: unknown field with tag 37399 (0x9217) encountered. `TIFFReadDirectory'.
convert: Bad value 9 for "Orientation" tag ignored. `47fb2685.dcr'.
convert: incorrect count for field "RichTIFFIPTC" (0, expecting 1); tag ignored. `47fb2685.dcr'.
convert: Tag 37381: Rational with zero denominator (num = 0). `47fb2685.dcr'.
convert: Tag 37386: Rational with zero denominator (num = 0). `47fb2685.dcr'.

Re: Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-03-30T09:35:47-07:00
by magick
Try this command:
  • convert dcr:47fb2685.dcr test_dcr.tif
DCR images masquerade as TIFF.

Re: Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-04-01T03:25:36-07:00
by deus_ex_mamiya
....and dcraw seems to be fine on my system:

ray@baade:~> whereis dcraw
dcraw: /usr/bin/dcraw /usr/bin/X11/dcraw /usr/share/man/man1/dcraw.1.gz

ray@baade:~> which dcraw
/usr/bin/dcraw

ray@baade:~> /usr/bin/dcraw
Raw photo decoder "dcraw" v8.85
by Dave Coffin, dcoffin a cybercom o net

Re: Kodak DCR RAW format - "supported", but actually, no!

Posted: 2010-04-01T05:21:28-07:00
by deus_ex_mamiya
Thanks, magic! Prefixing the DCR file with dcr:47fb2685.dcr worked!

Case closed...thanks for the help.