[vox-tech] Forcing a greyscape JPEG into RGB colorspace?

Brian Lavender brian at brie.com
Mon Jun 14 17:53:11 PDT 2010


On Mon, Jun 14, 2010 at 10:29:47AM -0700, Bill Kendrick wrote:
> 
> So I've got a system that receives images from users
> We then ship those out to a 3rd party.  This 3rd party
> requires that they be JPEGs (easy to convert to) of a
> certain size (easy to check) and in RGB colorspace
> (vs CMYK or Grey).
> 
> I had a great bit of difficulty, and simply threw my hands up,
> when trying to "encourage" a greyscale image (that is, a picture
> that's only grey pixels) to become an RGB colorspace JPEG.
> 
> Every automated tool I tried (libjpeg-progs, ImageMagick,
> possibly others; it's been a while) seemed to ignore my colorspace
> hint, and said to themselves "ah, but it's only grey pixels;
> let's just save it as Grey colorspace!)
> 
> Does anyone here have any suggestions on a tool that can handle
> this for me?  (Again, this will be running on a server as part

Do you have a jpeg that is in grey? 

brian
-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture


More information about the vox-tech mailing list