Package: imagemagick
Version: 7:6.3.7.9.dfsg1-2
Severity: normal

With 1-bit PNMs created by SANE, e.g.

$ identify N0xRMtKwhE.pnm
N0xRMtKwhE.pnm PNM 638x824 638x824+0+0 PseudoClass 2c 1-bit 64.4043kb

pretty much any operation expands them to 16 bit:

$ convert -rotate 90 N0xRMtKwhE.pnm N0xRMtKwhE.rotated.pnm
$ identify N0xRMtKwhE.rotated.pnm
N0xRMtKwhE.rotated.pnm[1] PNM 824x638 824x638+0+0 DirectClass 16-bit 3.00818mb

Even adding -depth only gets them down to 8-bit:

$ convert -rotate 90 -depth 1 N0xRMtKwhE.pnm N0xRMtKwhE.rotated.pnm
$ identify N0xRMtKwhE.rotated.pnm
N0xRMtKwhE.rotated.pnm[1] PNM 824x638 824x638+0+0 DirectClass 8-bit 1.50411mb

Not the same as #472699, as -depth doesn't seem to be properly used.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to