[argyllcms] Re: creating a cLut profile from a matrix profile (fakeread maybe)

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 20 Apr 2020 13:18:36 +1000

Yves Gauvreau wrote:

Hi,

I'm mostly interested in this part : (i.e. create a cLUT profile from a 
matrix profile)

there's not much to it. Simply replace dispread or printtarg/chartread with 
fakeread.

i.e., say you wanted to create a cLUT version of sRGB with gamut mapping:

 targen -v -d3 -f5000 -csRGB.icm cLUTsRGB

 fakeread sRGB.icm cLUTsRGB

 colprof -v -D"cLUT sRGB" -qh -S source.icm -cmt -dmt cLUTsRGB

(Because the reading is fast, you can up the number of test points
 to get better fidelity of the cLUT to the matrix profile.)

Cheers,
        Graeme Gill.



Other related posts: