PPM: newline added to comment readout

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dlz
Posts: 3
Joined: 2012-01-11T10:28:15-07:00
Authentication code: 8675308

PPM: newline added to comment readout

Post by dlz »

Hello!
Imagemagick is awesome! However i discovered a bug in comment handling.

Code: Select all

convert rose: -set comment 'hello' PPM:- | identify -format "%c" -
this returns an extra newline. this also occures when writing the comment as an 'annotate' or 'label'.
the comment feature is quite good to send additional information in a PPM.
please fix it!
thank you!

I am using ImageMagick 6.7.4-0 2011-12-13 Q16 on Linux.

Robert
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PPM: newline added to comment readout

Post by magick »

We can reproduce the problem you reported and have a patch. Look for it in the next point release of ImageMagick. Thanks.
Post Reply