<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