Sorry, but I have to come back.
Background: We creates the .tif files for use in textile printers. These printers use LAB colorspace and they know exactly what white is.
Problem: all the above solutions gives us a background that is visually (on screen) white, but not for a LAB aware printer.
I'm not sure, where I should look. I have testet all kind of notation for the background color, and I'm not sure, if we haven't a bug somewhere sitting around. Look at this
Code: Select all
convert -size 1x1 xc:white -set colorspace srgb -depth 8 srgb-white-pixel.png
convert srgb-white-pixel.png -format %c histogram:info:-
gives: 1: (255,255,255) #FFFFFF white
totally fine. Now:
Code: Select all
convert srgb-white-pixel.png -colorspace Lab -depth 8 -format %c histogram:info:-
gives: 1: (255,128,127) #FF807F cielab(255,128,127)
In my mind, pure white conversation should be
1: (255,127,127) #FFFFFF cielab(255,127,127)
And thats exactly what happens with our printfiles the white gets converted to some light color, but not pure white.
Comments?