[Bug 346474] Re: ImageMagick interprets PGM header incorrectly

Launchpad Bug Tracker 346474 at bugs.launchpad.net
Sun Oct 23 04:17:25 UTC 2016


[Expired for imagemagick (Ubuntu) because there has been no activity for
60 days.]

** Changed in: imagemagick (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/346474

Title:
  ImageMagick interprets PGM header incorrectly

Status in imagemagick package in Ubuntu:
  Expired

Bug description:
  Binary package hint: imagemagick

  Ubuntu 8.10
  imagemagick 7:6.3.7.9.dfsg1-2ubuntu3

  When reading a PGM-P5 (binary) image with a maxval of 256, the
  'convert' and 'display' utility, and likely the rest, will interpret
  each pixel as one byte, when it should interpret each pixel as two
  bytes since 256 is more than 255. This causes vertical stripes and
  other nastiness in the image. If maxval is set to 257, everything
  works as it should.

  Apparently you can only submit one attachment in this bugtracker so users have to host their own files. Download example images from:
  http://natrox.ath.cx/imagemagick/lena-255.pgm
  http://natrox.ath.cx/imagemagick/lena-256.pgm
  http://natrox.ath.cx/imagemagick/lena-257.pgm

  Display with imagemagick:
  $ display -sample 400% lena-255.pgm
  $ display -sample 400% lena-256.pgm
  $ display -sample 400% lena-257.pgm

  255 and 257 works, 256 breaks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/346474/+subscriptions



More information about the foundations-bugs mailing list