Page 1 of 1
How to add a watermark to gifs and maximum compression it by imagemagick?
Posted: 2015-05-03T04:20:01-07:00
by shoubiao
Now the method I use is:
Code: Select all
convert input.gif -coalesce -gravity SouthWest -geometry + 0 + 0 null: watermark.png -layers composite -layers optimize output.gif
But it does not compress gifs, I use Ulead gif add a watermark to the same picture was found after export gifs size even smaller than the original,How to add a watermark to gifs and maximum compression it by imagemagick?
Re: How to add a watermark to gifs and maximum compression it by imagemagick?
Posted: 2015-05-03T09:05:15-07:00
by snibgo
Don't put spaces in the geometry argument.
Please say what version IM and what platform. If your IM is old, an upgrade might help.
The watermark may create many more colours, making compression more difficult.
If that doesn't help, please post example inputs that show the problem.
Re: How to add a watermark to gifs and maximum compression it by imagemagick?
Posted: 2015-05-03T16:30:50-07:00
by shoubiao
Thanks,the IM version is 6.9.1 and the platform is windows,I am using this script :
viewtopic.php?t=25731
The original gifs is :
http://ww2.sinaimg.cn/large/85d79bcbjw1 ... 07ihdw.gif
The original Watermark is :
http://i.imgur.com/ghdqFeK.png
I use Ulead gif add this watermark to gifs,the same position,IM output gifs size is 4.80M,
Ulead gif output gifs size is 4.43M,do you know the parameters Ulead gif output probably is?