List Info

Thread: Converting to GIF and removing the animation




Converting to GIF and removing the animation
user name
2006-09-01 18:11:34
I have a forum where you are able to upload avatar images in
several  
formats. The avatars are then all converted to GIF but
people are  
still able to upload animated GIF which I would like to
avoid.

How can I convert a graphics file to GIF and make sure the
animation  
part is removed?

Palle

--
Venlig hilsen
Palle B. Nielsen (PowerPalle)
http://www.macnyt.dk/
iChat: powerpalle


_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
Converting to GIF and removing the animation
user name
2006-09-01 18:56:33
Palle Bo Nielsen wrote:
> I have a forum where you are able to upload avatar
images in several 
> formats. The avatars are then all converted to GIF but
people are still 
> able to upload animated GIF which I would like to
avoid.
> 
> How can I convert a graphics file to GIF and make sure
the animation 
> part is removed?
> 
> Palle
> 

from a day ago:

Anthony Thyssen wrote:
> You can also just read in the image file and then
delete all extra
> images using...    -delete 1--1
> that means delete image index 1 (the second image) to
the last image
> in the current image sequence.  That should leave you
with with just one
> image (or if the image read errored, no images and
another warning message).


I have a feeling that will do what you need.

Carl K
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
Converting to GIF and removing the animation
user name
2006-09-04 04:38:10
Palle Bo Nielsen on  wrote...
| I have a forum where you are able to upload avatar images
in several  
| formats. The avatars are then all converted to GIF but
people are  
| still able to upload animated GIF which I would like to
avoid.
| 
| How can I convert a graphics file to GIF and make sure the
animation  
| part is removed?
| 
Remove all but the first frame

You can just read in the first frame only using
    convert animation.gif'[0]'   avatar.gif

or after you have read in the animation  delete the other
frames
    convert animation.gif  -delete 1--1  avatar.gif

  Anthony Thyssen ( System Programmer )    <A.Thyssengriffith.edu.au>
 -----------------------------------------------------------
------------------
     You could say its the Egyptian God of Frustration
             -- about Daffy Duck to an alien  -- Babylon 5
"Hour of the Wolf"
 -----------------------------------------------------------
------------------
     Anthony's Home is his Castle     http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )