-strip

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.
User avatar
GreenKoopa
Posts: 452
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

-strip

Postby GreenKoopa » 2013-07-21T15:47:57-07:00

Running

Code: Select all

convert in.jpg -strip out.png
identify -verbose out.png
reveals Properties:exif:* and Properties:jpeg:* still in the png file. This began between versions 6.8.4-8 and 6.8.5-6.

I first noticed this new behavior when running

Code: Select all

convert in.jpg -strip ... out.png
convert out.png -quality 95 out.jpg
My jpeg sampling-factor used to be set by -quality. Now it is being carried over from in.jpg (through a -strip, through a png file, and through a -quality setting).

User avatar
glennrp
Posts: 856
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: -strip

Postby glennrp » 2013-07-21T16:52:03-07:00

The JPEG sampling factors and colorspace properties are preserved in PNG text chunks. It is a side effect of
preserving them when converting a jpeg to another jpeg. We should probably exclude the jpeg properties when
writing a PNG.

This is fixed in the SVN repository revision 12739, and the fix will appear in IM-6.8.6-7

User avatar
GreenKoopa
Posts: 452
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: -strip

Postby GreenKoopa » 2013-07-25T22:59:54-07:00

Thank you Glenn.


Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 5 guests