Note that although this is reproducible as shown above with imagemagick, I found the problem with perlmagick:
my $depth = $image->Get('depth'); $x = $image->Write(filename => $filename, depth => $depth); ** Attachment added: "An example 1 bit pnm to play with" http://launchpadlibrarian.net/8798921/N0xRMtKwhE.pnm -- -depth produces corrupt image https://bugs.launchpad.net/bugs/132253 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs