Page 1 of 1

Corrupted gif locks computer

Posted: 2013-05-10T16:00:44-07:00
by Marcel71
I received a corrupted gif, which usages all the memory when converting it.

gif: http://www.glitterbase.com/hosting/make2.gif
cmd: convert make2.gif -coalesce make3.gif

How to take care the image does not lock my server?

Should i 'turn-on' <policy domain="resource" name="disk" value="16eb"/> ?

I could not find what the value 16eb stands for...
(As i would like that other operations with imagemagick will use resources available, i just don't want that the server gets locked..

Regards.

Re: Corrupted gif locks computer

Posted: 2013-05-10T17:04:45-07:00
by fmw42
Does this help (removing the virtual canvas)?

convert make2.gif +repage -coalesce make3.gif

Re: Corrupted gif locks computer

Posted: 2013-05-10T23:06:40-07:00
by Marcel71
Hi frm42, glennrp,

Thanks, the +repage helps indeed :)

But i would not mind if this image fails with convert, as long as it is not taking to many system resources.
What are the policy.xml you use for your server?

Regards

Re: Corrupted gif locks computer

Posted: 2013-05-10T23:19:42-07:00
by fmw42
Magick can answer that best, but this was a recent post of his to another user.

viewtopic.php?f=2&t=23385&p=98237#p98237