Search found 6 matches

by ViPeR_930
2015-10-17T16:55:13-07:00
Forum: Users
Topic: Resize GIF and keep only the first frame
Replies: 2
Views: 1502

Re: Resize GIF and keep only the first frame

Thanks. Adding *.gif[0] worked.
by ViPeR_930
2015-10-17T11:37:16-07:00
Forum: Users
Topic: Resize GIF and keep only the first frame
Replies: 2
Views: 1502

Resize GIF and keep only the first frame

Hi,
I need to batch resize a lot of animated GIFs and remove the animation. I would like to keep only the first frame. What can I add to mogrify to remove the animation this way?

Thank you
by ViPeR_930
2015-09-23T11:04:58-07:00
Forum: Users
Topic: How to batch convert entire directory of animated gifs
Replies: 6
Views: 3603

Re: How to batch convert entire directory of animated gifs

For a script such as this, where can I insert "nohup" command so it runs after I close the ssh connection? I put nohup at the mogrify line but it stops after completing the first directory.

cd
list=`find /backup/gifs/upload/*/big -type d`
echo "list=$list"
for directory in $list; do
echo ...
by ViPeR_930
2015-09-19T14:47:37-07:00
Forum: Users
Topic: How to batch convert entire directory of animated gifs
Replies: 6
Views: 3603

Re: How to batch convert entire directory of animated gifs

Thanks for the help. I updated to 6.9 and mogrify now works for batch resizing the gifs.
by ViPeR_930
2015-09-18T15:21:15-07:00
Forum: Users
Topic: How to batch convert entire directory of animated gifs
Replies: 6
Views: 3603

Re: How to batch convert entire directory of animated gifs

Than you both for the quick replies.

snibgo, can you tell me how to change my command so it runs in a loop and outputs to a different folder?

fmw42, the convert command I have above works fine for the small batch of animated gifs I tried it with. Mogrify botched everything up. I can test more ...
by ViPeR_930
2015-09-18T13:33:45-07:00
Forum: Users
Topic: How to batch convert entire directory of animated gifs
Replies: 6
Views: 3603

How to batch convert entire directory of animated gifs

Hi,
How do I batch resize animated gifs with imagemagick? I have this script which works for single images but I must specify both the exact image name.

convert {path to image with filename}.gif -coalesce -resize 200x200 \
-layers optimize-frame {output name}.gif

mogrify -path seems to batch ...