[solved] from PNG til 1bpp BMP in one step ?
Posted: 2012-07-12T05:00:53-07:00
I need to create a 1bpp BMP image, plain and simple.
My source for test is a PNG as exported by InkScape.
I think I tried every single combination of -type bilevel, -depth 2 etc etc - but always I get returned a 24 bpp image.
I have put sample files here: http://ge.tt/5Ob8ZOK/v/0
What I need is to go from drawing.png to drawing.bmp, but have the result be like drawing2.bmp
A diff with identify:
drawing.txt: Depth:8/1-bit 0..255 color 2.348 MB
drawing2.txt Depth: 1-bit 0..1 color 98 KB
it works if I do an additional
convert -threshold 2 drawing.bmp drawing2.bmp
but it's an extra step.
I use WinXP ImageMagick 6.7.6-5 Q16
Feel free to use my sample files to test.
Thanks !
My source for test is a PNG as exported by InkScape.
I think I tried every single combination of -type bilevel, -depth 2 etc etc - but always I get returned a 24 bpp image.
I have put sample files here: http://ge.tt/5Ob8ZOK/v/0
What I need is to go from drawing.png to drawing.bmp, but have the result be like drawing2.bmp
A diff with identify:
drawing.txt: Depth:8/1-bit 0..255 color 2.348 MB
drawing2.txt Depth: 1-bit 0..1 color 98 KB
it works if I do an additional
convert -threshold 2 drawing.bmp drawing2.bmp
but it's an extra step.
I use WinXP ImageMagick 6.7.6-5 Q16
Feel free to use my sample files to test.
Thanks !