[NBLUG/talk] Forcing a greyscape JPEG into RGB colorspace?

Bill Kendrick nbs at sonic.net
Mon Jun 14 13:17:04 PDT 2010


On Mon, Jun 14, 2010 at 11:56:05AM -0700, Troy Arnold wrote:
> I have a couple of scripts floating around that successfully use the
> '-colorspace rgb' argument to imagemagick's convert utility although that's
> in place to deal with CMYK images.

That's precisely what I'm doing right now; except it tries to be "helpful"
and converts to (or keeps as) Grey colorspace if the image has no 'color'
pixels.  (That is, for every pixel R=G=B aka H=whatever,S=0,V=whatever.)

> You might also look at graphicsmagick.

Thanks, I'll take a look.


> I actually really enjoy writing these kind of image crunching scripts... :)

Me too... sometimes. ;)

Thx!

-bill!



More information about the talk mailing list