BUG: unable to get ICC profile from jpg / Nikon RAW
Posted: 2011-01-22T17:13:06-07:00
hi,
I'm using IM 6.6.7-1 on Fedora x64 (built from src). I am trying to programatically extract embedded ICC profiles from my jpgs / Nikon NEFs with the Magick++ i/f via
However, for jpgs/nefs that contain ICC profiles, the IM tools do not believe there is any profile - the ICC profile is definitely there - the jpg was exported from Nikon's Capture NX with the correct option.
dcraw 9.05 and exiftool confirms the existance of the embedded profile
Using the IM i/f (Magick::Image::iccColorProfile(void) and ) Magick::Image::profile("...") with "ICC" and "ICM" as params) the Blob returned has zero size. identify reports no profile, and convert test.jpg test.icc fails
The image that i've used is available below for your testing/validation of the bug.
https://sites.google.com/
Can you confirm that this is a bug or user error? thanks
Ray
I'm using IM 6.6.7-1 on Fedora x64 (built from src). I am trying to programatically extract embedded ICC profiles from my jpgs / Nikon NEFs with the Magick++ i/f via
Code: Select all
Magick::Image::iccColorProfile(void)
dcraw 9.05 and exiftool confirms the existance of the embedded profile
Code: Select all
$ dcraw -i -v test.jpg | grep -i profile
Embedded ICC profile: yes
$ exiftool -v test.jpg
...
| 19) ICC_Profile (SubDirectory) -->
| + [ICC_Profile directory with 9 entries]
| | ProfileHeader (SubDirectory) -->
| | + [BinaryData directory, 128 bytes]
| | | ProfileCMMType = NKON
| | | ProfileVersion = 544
| | | ProfileClass = mntr
| | | ColorSpaceData = RGB
| | | ProfileConnectionSpace = XYZ
| | | ProfileDateTime = 2009 2 20 17 7 10
| | | ProfileFileSignature = acsp
| | | PrimaryPlatform = APPL
| | | CMMFlags = 0
| | | DeviceManufacturer = none
| | | DeviceModel =
| | | DeviceAttributes = 0 0
| | | RenderingIntent = 0
| | | ConnectionSpaceIlluminant = 0.9642 1 0.82491
| | | ProfileCreator =
| | | ProfileID = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
| | 0) ProfileDescription = Nikon sRGB 4.0.0.3002
| | 1) RedMatrixColumn = 0.43607 0.2225 0.01392
...
Code: Select all
]$ convert test.jpg test.icc
convert: no color profile is available `test.icc' @ error/meta.c/WriteMETAImage/2379.
https://sites.google.com/
Can you confirm that this is a bug or user error? thanks
Ray