[magick-users] Bitonal bitmap out

Illtud Daniel illtud.daniel at llgc.org.uk
Tue Jan 23 10:04:15 CST 2007


Wolfgang Hugemann wrote:

  > The option "-enian" should be the solution:

Yes, you'd think so, wouldn't you. But:

[ild at leri statws]$ convert -list Endian
LSB
MSB
[ild at leri statws]$ convert test.pbm test.mono
[ild at leri statws]$ convert -endian LSB test.pbm test-lsb.mono
[ild at leri statws]$ convert -endian MSB test.pbm test-msb.mono
[ild at leri statws]$ diff test.mono test-lsb.mono
[ild at leri statws]$ diff test.mono test-msb.mono
[ild at leri statws]$

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

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.

-- 
Illtud Daniel                                 illtud.daniel at llgc.org.uk
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW


More information about the Magick-users mailing list