does it realy take this long to create an animated gif?
Posted: 2008-06-14T16:06:00-07:00
I have just wrote a php script for my site (with the help of great members on here) and the last thing the script does is create an animated gif from 3 jpg images
the 3 jpg images are only 176x235 and avarege around 35kb each, however when I create an animated gif from them it takes around 5 to 7 seconds (on a duel zeon server), so as the title of this topic says "does it realy take this long to create an animated gif?"
I will paste the code im using for the animated gifs below, however if 5 to 7 seconds is average to create an animated gif from 3 jpg's of that size then at least I know im not doing anything wrong, It just that 5 to 7 seconds seem a long time for this?
the screen1.jpg, screen2.jpg, screen3.jpg are all 176x235 and its just a simple animation looing through those 3 images.
am I doing this right?
regards
the 3 jpg images are only 176x235 and avarege around 35kb each, however when I create an animated gif from them it takes around 5 to 7 seconds (on a duel zeon server), so as the title of this topic says "does it realy take this long to create an animated gif?"
I will paste the code im using for the animated gifs below, however if 5 to 7 seconds is average to create an animated gif from 3 jpg's of that size then at least I know im not doing anything wrong, It just that 5 to 7 seconds seem a long time for this?
Code: Select all
$crop_image = $imageMagickPath."convert -delay 150 -dispose None "
." -page 176x235+0+0 screen1.gif "
." -page +0+0 screen2.jpg "
." -page +0+0 screen3.jpg "
." -loop 0 theme.gif";
exec($crop_image);
am I doing this right?
regards