[magick-users] Bitonal bitmap out

Illtud Daniel illtud.daniel at llgc.org.uk
Tue Jan 23 08:35:07 CST 2007


OK, one more stupid question:

I want to output a bitonal bitmap. Nothing else, no header,
one bit per pixel, so that a 80x256 pixel bitonal image produces
a 2560-byte output.

'mono' format does exactly that, but the byte-ordering is
lsb-first, whilst I want the reverse.

...and for bonus points I want to do it with perlmagick.

I'm sure this is just my ignorance of available formats, or
I'm missing imagetoblob parameters, but honestly I've tried
my best and I can't get it.

-- 
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