[magick-users] Bitonal bitmap out

Wolfgang Hugemann Auto at Hugemann.de
Tue Jan 23 10:43:35 CST 2007


> Basically they make no difference (and yes, test.pbm is a
> bitonal bitmap). Unless I'm doing it wrong.

I rather think, you should put it this way round, in order to load the 
image first:

convert test.pbm -endian LSB test-lsb.mono

 > The mono format is specifically lsb, so it's probably doing the
 > right thing by ignoring my endian param, but I can't get what
 > I need - a simple bitonal bitmap without header in msb.

But anyway this seems to make no difference, as the mono format probably 
settles whether to use msb or lsb. I yielded the same result un my 
Windows machine. In fact I got different results when using the 
versatile TIF format as the destination format. In this case, "msb.tif" 
and "lsb.tif" really differed.

You will probably have to use an external tool to switch the byte order.

Wolfgang Hugemann




More information about the Magick-users mailing list