Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 34046
Status: resolved
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: geoff [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: nikon icc file troubles
initially reported here: http://sourceforge.net/forum/message.php?msg_id=4833825 "Nikon deliberately uses a non-standard tag in their profiles. Most likely the puprpose of this unofficial tag is to crash any program that attempts to use these profiles while strictly adhering to the ICC format rules... the utility exiftool, used to read the tag information in a color profile, will fail when attempting to read an unmodified Nikon profile." personally, I seem to be able to read nikon-generated icc profiles just fine with 7.15 and 7.21. but I cannot extract them from a nef file following the manpage example: $ exiftool -icc_profile -b -w icc 01c00186.nef $ ll *.icc ls: cannot access *.icc: No such file or directory $ exiftool -v10 -icc_profile -b -w icc 01c00186.nef 1 output files created $ ll *.icc -rw-rw-r-- 1 geoff geoff 794894 2008-03-13 09:01 01c00186.icc $ exiftool 01c00186.icc Error: File format error - 01c00186.icc
From: EXIFTOOL [...] cpan.org
ICC_Profiles do not exist in NEF images directly from the camera, but they are inserted by various Nikon utilities. Are you sure the image contained ICC_Profile information? If so, I can figure out the problem if I can see the image. Either post a URL so I can download it, or send it to phil at owl.phy.queensu.ca. Thanks. BTW, the -v option should not be combined with the -w option unless you want the verbose text in the output file. This is by design, and allows generation of verbose output files. - Phil
Subject: Re: [rt.cpan.org #34046] nikon icc file troubles
Date: Thu, 13 Mar 2008 10:22:03 -0400
To: bug-Image-ExifTool [...] rt.cpan.org
From: Geoffrey Young <geoff [...] modperlcookbook.org>
Phil Harvey via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34046 > > > ICC_Profiles do not exist in NEF images directly from the camera, but they are inserted by > various Nikon utilities. > > Are you sure the image contained ICC_Profile information?
I'm new to this level of abstraction, but it seems that nikon stores *something* in the nef files: https://sourceforge.net/forum/message.php?msg_id=4820448 the user I quoted at the start of this bug led me to believe you could use exiftool (or other tools) to extract that information much in the same way nikon software does, but you would know better than I would. Show quoted text
> If so, I can figure out the problem if > I can see the image. Either post a URL so I can download it, or send it to phil at > owl.phy.queensu.ca. Thanks.
sent via private email :) Show quoted text
> > BTW, the -v option should not be combined with the -w option unless you want the verbose > text in the output file. This is by design, and allows generation of verbose output files.
ok, I was just using -v to figure out why there was no profile generated. thanks :) --Geoff
Thanks for the samples. There was no ICC Profile information in these images. However, I have been able to obtain a copy of one of the non-standard Nikon ICC Profiles, and will add support for this to the next exiftool release (version 7.22). But this wasn't an exiftool bug, it was simply that the Nikon file didn't conform to the ICC specification. - Phil