[sf-lug] Forcing a greyscape JPEG into RGB colorspace?

Bill Kendrick nbs at sonic.net
Mon Jun 14 13:18:06 PDT 2010


On Mon, Jun 14, 2010 at 11:02:36AM -0700, jim wrote:
> 
> 
>    my initial reaction was "what?" i.e. how to 
> infer hue from greys. 
>    after some more coffee it occurs that maybe 
> you want an RGB representation of greys, yes? 
> i.e. Ox777 would be mid-grey, 0xFFF white, 
> 0x000 black, etc., yes? 

Precisely.  The 3rd party we're dealing with want
the images to be in an RGB colorspace, even if
R=G=B for every pixel.  Just a (to me, arbitrary)
requirement (since the 3rd party is a black box).

-bill!




More information about the sf-lug mailing list