Re: [Lcms-user] How does a transformation work
An ICC-based CMM for color management
Brought to you by:
mm2
From: flap <fb...@oh...> - 2023-12-29 13:21:30
|
Am Freitag, 29. Dezember 2023, 14:01:40 CET schrieb mar...@li...: > Hi, > > From your explanation, it seems to me that the transformation you want has nothing to do with color management. You > know nothing about the L* of your grayscale and need only some scaling. I would rather use simple math in this case: > > Gray_out = (Gray_in * 40) /51 + 40; > > You could just use a for() loop. This is going to be faster that using any color management routines. Hmm. It just was a test to understand how it (may) works. The profile I create is used in the muPDF library to create a greyscale out from a PDF document. I would expect, any kind of PDF could be rasterized into a greyscale raster this way. Cheers, Jürgen |