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 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user