fmw42 wrote: ↑2017-08-25T22:11:03-07:00
Your tiff file has two pages or layers. Not sure which. But the second one is totally white. How did you create it?
You are right there are two layers in there which I had forgotten about. The first layer (all white pixels) should not be needed anyway, I suspect it was just used to create the ramp (I am not the original author of the file - it was provided by Florian Höch , author of DisplayCAL).
fmw42 wrote: ↑2017-08-25T22:11:03-07:00
Anyway try
Code: Select all
convert CFX_lut.tif[0] CFX_lut.png
or
Code: Select all
convert CFX_lut.tif[0] -alpha off CFX_lut.png
Does that work?
Unfortunately not; the pixel values are all out. eg. pixel at coordinate x128 y1 should have an RGB value of 128,128,128 but its value is 149,149,149.
fmw42 wrote: ↑2017-08-25T22:11:03-07:00
The results are identical for me on IM 6.9.9.9 Q16 Mac OSX
compare -metric rmse CFX_lut.tif[0] CFX_lut.png null:
0 (0)
For me:
compare -metric rmse CFX_lut.tif[0] CFX_lut.png
24015.5 (0.366453)
fmw42 wrote: ↑2017-08-25T22:11:03-07:00
Please always provide your IM version and platform when asking questions on this forum. Syntax may differ.
Sorry,
ImageMagick-7.0.6-9-portable-Q16-x86.zip
ImageMagick-7.0.6-9-portable-Q16-x64.zip