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.
helour
Post
by helour » 2010-07-03T02:25:52-07:00
Try this command on a simple one-color (green, 256x256 pixels) image:
Code: Select all
convert picture.png PNG8:new_picture.png
Result is crash with this information:
Code: Select all
convert: Memory allocation failed `new_picture.png' @ png.c/WriteOnePNGImage/6493.
Drarakel
Posts: 547 Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308
Post
by Drarakel » 2010-07-03T05:27:04-07:00
What version of ImageMagick do you use?
I get such errors (no crash) only in older IM versions.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2010-07-03T05:31:25-07:00
See the "Problems with Png" thread:
viewtopic.php?f=3&t=16490
If you are not on the current IM, an upgrade might fix it.
helour
Post
by helour » 2010-07-03T06:12:53-07:00
Hello boys, newest Centos version 6.6.2 works (I have to copied couple of files into /usr/lib & /usr/bin), only warning was there:
Code: Select all
convert: Invalid background palette index `new_picture.png' @ warning/png.c/PNGWarningHandler/1457
Thanks.
PS: Maybe there are some problems with mandriva packages, I need to check it... /long story/
helour
Post
by helour » 2010-07-03T06:14:45-07:00
I tried kubuntu instead of mandriva and it works OK without any warning.
Drarakel
Posts: 547 Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308
Post
by Drarakel » 2010-07-03T07:57:49-07:00
It's only a warning and not a real problem (unless you need a background color chunk in the PNG).
But to be honest, I wouldn't recommend using PNG8 in the current IM versions - it's a bit risky.
(It's all in here:
viewtopic.php?f=3&t=16490 )