Re: generate animated gifs
| From: | Martín Marqués | Date: | Tue, 03 Aug 2010 01:09:11 +0000 |
| Subject: | Re: generate animated gifs | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307293@lists.php.net to get a copy of this message | ||
El día 2 de agosto de 2010 22:06, Martín Marqués
<martin.marques@gmail.com> escribió:
> El 2 de agosto de 2010 19:29, Ashley Sheridan
> <ash@ashleysheridan.co.uk> escribió:
>>
>> On Mon, 2010-08-02 at 18:43 -0300, Martín Marqués wrote:
>>
>> Is there a way (I haven't found it yet) to create with a sequence of
>> gifs an animated gif using php-gd?
>>
>>
>> Not natively with GD. For more complicated image creation, such as animated GIFs, you
>> should look at ImageMagick. This tool has some extremely powerful options, and there is a PHP module
>> for working with it if you can't or don't want to get dirty on the command line.
>>
>
> OK, using ImageMagick I would use the convert command like this:
>
> convert -delay 20 -loop 0 images*.gif animate..gif
>
> How can I replicate this using pecl::ImageMagick?
Answering to myself:
http://www.php.net/manual/es/function.imagick-animateimages.php
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador