|
From: <Mar...@li...> - 2014-03-25 10:53:41
|
Hello Mathieu > > My question is can I simply use tificc (lcms2 2.5 from debian) this way: > > $ tificc -ifile5.jp2.icm rgb.ppm.jp2.tif file5.j2k.tificc.tif Yes, but note this would use the perceptual intent and will convert to sRGB. There is no such thing as "apply an ICC profile". Profiles are applied always as pairs, the source and the destination. The source is the colorspace the image data is in, the destination is the color space you want to obtain. In your case, you are converting to sRGB. Make sure the decoding is not already returning sRGB data. Otherwise I don't know internals of this lib. > $ wtpt file5.jp2.icm > Show media white of profiles, identifying black body locus. v2 Don't use this program, is very outdated. Use icctrans instead with -v3 transicc -v3 -i file5.jp2.icm LittleCMS ColorSpace conversion calculator - 4.2 [LittleCMS 2.06] Profile: Restricted ICC profile describing ROMM-RGB Copyright 2001 EKC-RICC Reference Output profile: sRGB built-in No copyright, use freely > Should I be paying attention to any particular flag in `tificc` before > applying this particular ICC profile ? Not really. intents don't apply because it is a matrix-shaper one. Just look for double color management somwhere else. Regards Marti |