Hi all,
I have a query about PS colour spaces and their rasterisation.
I have some PS produced by the Generic Mapping Tools, it is
supposed to have a dark grey (50) rectangle in it. Looking
at PS I see
/A /setgray
:
{0.196 A} FS
which I understand is setting the colour to 0.196 = 50/255
before doing the fill. Typically the PS will have other layers
in it and these will be in the RGB colour space.
Now, viewing this file in gv, converting it to png with the
gs device png16m or almost any other way of looking at it,
the rectangle is RGB 65/65/65. There seems to be some kind of
transformation of greyscale value x to RGB which is not the
obvious x -> x/x/x.
Could anyone point me to some resources on how/why/where in gs
this transformation is performed, in particular if it is possible
to coerce gs to use the "obvious" transformation.
There is some background on this issue at
http://gmtrac.soest.hawaii.edu/issues/40
Thanks in advance!
Jim