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.
Martin.Leese
Post
by Martin.Leese » 2010-05-10T21:02:59-07:00
Hi,
I am getting the following errors using Image Magick 6.6.1-6 (Q16) under Windows XP:
Code: Select all
C:>convert -transparent "rgb(255,255,255)" -quality 100 -colors 10 floppy_front.png floppy_front2.png
convert: tRNS chunk has out-of-range samples for bit_depth `floppy_front2.png' @ warning/png.c/PNGWarningHandler/1457.
convert: Invalid background palette index `floppy_front2.png' @ warning/png.c/PNGWarningHandler/1457.
I am seeing lots of the second error, but only a little of the first.
In case it helps, I have made the input image "floppy_front.png" available under "Miscellany" at:
http://sites.google.com/site/mytemporarydownloads/
Have these bugs been fixed in 6.6.1-7 ?
Many thanks,
Martin
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2010-05-10T21:13:05-07:00
It is possible that your input image is corrupt or not a valid PNG format.
I get the following when running:
convert floppy_front.png -strip -transparent "rgb(255,255,255)" -colors 10 floppy_front2.png
convert: Invalid background palette index `floppy_front2.png' @ warning/png.c/PNGWarningHandler/1458.
IM 6.6.1-7 Q16 Mac OSX Tiger
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2010-05-10T21:51:11-07:00
IM 6.6.0-8 Q16 on Windows 7: both versions of the command (Martin's and fmw42's) run without complaint.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-05-11T06:34:12-07:00
The problem you reported is fixed in ImageMagick 6.6.1-8 Beta. Look for a point release of 6.6.1-8 within a week or two. Thanks.