Score:0

convert image to gif fails with error

au flag
j0h

I have 506 jpg images I want to make into a gif. but convert fails with the error: convert-im6.q16: cache resources exhausted 2022-12-19-152850_210.jpg' @ error/cache.c/OpenPixelCache/4083`

is there something besides convert -delay 20 -loop 0 *.jpg my.gif

I should use to convert still images into a gif?

Score:2
hu flag

You are probably running out of default memory limits

Edit your config , located here /etc/ImageMagick-6/policy.xml

Change the default values:-

 <policy domain="resource" name="disk" value="1GiB"/> 
 <policy domain="resource" name="memory" value="256MiB"/> 

I would also recommend using flag -resize (x)% to reduce the size of final gif significantly.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.