Use convert to create GIF image Animation

Source: Internet
Author: User

<Convert Notes>
Tags: Linux, Linux-tool, PS, photo

1. Create an animated GIF on Linux with 'convert'

// Synthesize all BMP files in the current directory into a GIF image animation. The interval between each frame is 0 ms and the animation is played repeatedly.
//-Delay n delay N * 10 ms
//-Loop N play n rounds. 0 indicates repeated playback.

$ Convert-delay 0 *. BMP-loop 0 animated.gif



// So to create an animation we use the convert command
$ Convert-delay 50 frame1.gif frame1.gif frame1.gif-loop 0 animated.gif

// Also if we want to add a pause between each loop
$ Convert-delay 50 frame1.gif-delay 100 frame1.gif-delay 150 frame1.gif-loop 0-Pause 200 animated.gif

// Also using convert we can combine 2 animated GIFs
$ Convert anim1.gif anim2.gif combined.gif

Enjoy!
Bookmark/search this post

// Scale down an image to 640x480
$ Mogrify-resize 640x480 *. jpg

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.