does IM support grayscale BMP? (as opposed to RGB)
Posted: 2009-04-09T21:44:29-07:00
Hello,
I am in an unfortunate situation to convert 16bit grayscale (single channel) TIF to 8bit grayscale BMP. ImageJ does a perfect job for this, but my IM does not (version 6.3.3). More specifically, IM saves BMP only in RGB mode even with -colorspace Gray or -type Grayscale options specified, resulting in 3x larger file size than desired (because of the three redundant channels R=G=B=256 grayscale).
What is the right way of doing this using IM? Or, perhaps IM just does not support single-channel 8bit grayscale BMP?
Thanks,
Jun
I am in an unfortunate situation to convert 16bit grayscale (single channel) TIF to 8bit grayscale BMP. ImageJ does a perfect job for this, but my IM does not (version 6.3.3). More specifically, IM saves BMP only in RGB mode even with -colorspace Gray or -type Grayscale options specified, resulting in 3x larger file size than desired (because of the three redundant channels R=G=B=256 grayscale).
What is the right way of doing this using IM? Or, perhaps IM just does not support single-channel 8bit grayscale BMP?
Thanks,
Jun