Page 1 of 1

sometimes BMP to TGA conversion results in a greyscale image

Posted: 2008-12-11T16:37:21-07:00
by neon
Hello,


I have a weird problem where sometimes converting a BMP image to a TGA one with a resize in the process results in a greyscale image. The filesize also ends up about 460kb as opposed to the standard 1.2MB or so we are used to. Reprocessing the same source image using the same source code usually corrects the error, but the fact that it's happening in the first place is concerning.

Any ideas on how to resolve this?

Regards,
Neon

Re: sometimes BMP to TGA conversion results in a greyscale image

Posted: 2008-12-11T18:54:40-07:00
by neon
okay i figured out what's up and thought i'd share the results in case anyone else had this problem..

the source images were pictures of silverware and they were being treated at the photoshop stage by retouchers.

the retouchers were removing the saturation of the image to help ensure they retained their silver look.

this resulted in Imagemagick detecting the source images as greyscale.

I used -type TrueColor to fix this.