Re: [Lcms-user] Apply profile with PCS = cmsSigXYZData, Color Space = cmsSigGrayData
An ICC-based CMM for color management
Brought to you by:
mm2
|
From: Aaron B. <bo...@gm...> - 2017-02-20 17:01:46
|
Thanks, Noel. That is a good point. For TIFF, I can store the profile in the TIFF file, and avoid transforming. For other formats, such as PNG, I would need to transform. On Mon, Feb 20, 2017 at 11:49 AM, Noel Carboni < NCa...@pr...> wrote: > > Thanks, Noel. This is not for display on monitor. JPEG 2000 supports > embedded ICC profiles, and I am > > > trying to use the profile when decoding the image. > > > > I guess I'm still not clear: Why are you transforming the data into > another color space? > > > > If you're trying to decode it then save it as another kind of file (e.g., > .tiff or .jpg or something that can carry its own color profile tag), maybe > you should consider just maintaining the color profile it's already got. > > > > What I'm saying is that maybe you just want to decode the data, then save > the data in another file, and tag that file with the same profile the > JPEG2000 file started with, making no color transformation on the decoded > data at all. LittleCMS need not be involved with that. > > > > As Marti mentioned, if you DO want to transform the color values into a > different color space, you need to specify what that color space is. > > > > -Noel > > > |