I wrote a script to add watermarks to images on my site. Everything works fine for png / jpg, but gifs should be handled in a more complex way. My script:
convert -splice x36 -gravity south -background white image.gif \ -coalesce -gravity SouthEast -geometry +0+0 -background white \ null: watermark-text.png -layers composite new-image.gif
For 95 percent of the gifs, it works great. But there are a few examples that lead to errors. To worry about this image: 
Ordinary cat. Only the first frame contains the background (viewed layers in gimp).

This is not a normal cat. Any suggestions?
dfens
source share