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 <
ncarb...@prodigitalsoftware.com> 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
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to