Page 1 of 1

How to Create bmp of bitdepth = 1

Posted: 2009-04-01T23:54:08-07:00
by chartahir
I'm trying to create a bmp image of bitdepth = 1, but unable to do so. The image has always a bitdepth of 32.

How can i do this ?

Re: How to Create bmp of bitdepth = 1

Posted: 2009-04-02T10:54:40-07:00
by fmw42
I am not sure IM can do that. See BMP formats supported by IM at http://www.imagemagick.org/Usage/formats/#bmp

Re: How to Create bmp of bitdepth = 1

Posted: 2009-04-03T02:38:54-07:00
by chartahir
I've done it using -monochrome and IM version 6.5, previously with IM version 6.2.8 i was unable to achieve the same.

Re: How to Create bmp of bitdepth = 1

Posted: 2009-04-07T20:38:58-07:00
by anthony
did you try -depth 1

Re: How to Create bmp of bitdepth = 1

Posted: 2009-04-11T02:31:56-07:00
by chartahir
No, -depth 1 didn't seem to work,

I'm writing text in image.
But the image is distorted too much when i used -monochrome.

Is there any thing to avoid this ?

Re: How to Create bmp of bitdepth = 1

Posted: 2009-04-12T01:16:21-07:00
by anthony
-threshold, -ordered-dither

See IM Examples, Quantization and Dithering
http://www.imagemagick.org/Usage/quantize/