Page 1 of 1
Problem with annotating animated gif's
Posted: 2015-04-29T16:00:22-07:00
by sherz
Hey guys.
My code works perfect on some gifs and on some not...
Here is the code:
Code: Select all
exec("convert gif1.gif -coalesce \
-background Black -splice 0x20 -gravity SouthEast -fill white -annotate +8+2 'test' \
newgif1.gif");
gif1.gif (
http://i.imgur.com/UeZn8B8.gif) works perfect and when i change to gif2.gif (
http://i.imgur.com/xITMIEI.gif) code dont work anymore its just blank image like
...
Anybody knows how to fix this?
Thanks.
Re: Problem with annotating animated gif's
Posted: 2015-04-29T16:44:52-07:00
by snibgo
Your command on your second gif ("Man, you are one twisted...") works fine for me, in IM v6.9.1-0.
It puts a black bar at the top. If you want it at the bottom, behind your added text, move "-gravity" to before "-splice".
Re: Problem with annotating animated gif's
Posted: 2015-04-29T17:03:48-07:00
by sherz
What OS are you using?
I am using CentOS 7 64bit and it says that i am on lastest version..
EDIT: When i use "ImageMagick-6.9.1-2.x86_64.rpm" from
http://www.imagemagick.org/script/binary-releases.php i get this error's:
Code: Select all
error: Failed dependencies:
ImageMagick-libs = 6.9.1-2 is needed by ImageMagick-6.9.1-2.x86_64
libMagickCore-6.Q16.so.2()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
libMagickWand-6.Q16.so.2()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
libltdl.so.3()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
liblzma.so.0()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
ImageMagick = 6.7.8.9-10.el7 is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
ImageMagick = 6.7.8.9-10.el7 is needed by (installed) ImageMagick-perl-6.7.8.9-10.el7.x86_64
libMagickCore.so.5()(64bit) is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
libMagickCore.so.5()(64bit) is needed by (installed) ImageMagick-perl-6.7.8.9-10.el7.x86_64
libMagickWand.so.5()(64bit) is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
Re: Problem with annotating animated gif's
Posted: 2015-04-29T17:24:08-07:00
by snibgo
I am on Windows 8.1. The current version is 6.9.1-2. See
http://www.imagemagick.org/script/binary-releases.php
v6.7.8 is very old. I suggest you upgrade.
Re: Problem with annotating animated gif's
Posted: 2015-04-29T18:15:34-07:00
by sherz
When i try to update i get this errors:
Code: Select all
error: Failed dependencies:
ImageMagick-libs = 6.9.1-2 is needed by ImageMagick-6.9.1-2.x86_64
libMagickCore-6.Q16.so.2()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
libMagickWand-6.Q16.so.2()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
libltdl.so.3()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
liblzma.so.0()(64bit) is needed by ImageMagick-6.9.1-2.x86_64
ImageMagick = 6.7.8.9-10.el7 is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
ImageMagick = 6.7.8.9-10.el7 is needed by (installed) ImageMagick-perl-6.7.8.9-10.el7.x86_64
libMagickCore.so.5()(64bit) is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
libMagickCore.so.5()(64bit) is needed by (installed) ImageMagick-perl-6.7.8.9-10.el7.x86_64
libMagickWand.so.5()(64bit) is needed by (installed) ImageMagick-devel-6.7.8.9-10.el7.x86_64
CentOS 7 64bit