Results 1 to 7 of 7

Thread: [SOLVED] Make an animated gif from jpg files in command line

  1. #1
    Join Date
    Jul 2006
    Beans
    209
    Distro
    Ubuntu 10.04 Lucid Lynx

    [SOLVED] Make an animated gif from jpg files in command line

    suppose i have a set of images in a directory (image1.jpg, image2.jpg, image3.jpg,...). how can i make an animated gif that repeats the order (image1.jpg, image2.jpg, image3.jpg,...) from command line? thanks
    LIM 1/n = Knowledge of Man
    n → ∞

    My Blog: www.ColdOwl.com

  2. #2
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Make an animated gif from jpg files in command line

    The package imagemagick can do this:
    Code:
    convert -delay 100 -loop 0 image*.jpg animation.gif
    I believe my delay value will wait 1 second before moving to the next frame.

  3. #3
    Join Date
    Jul 2006
    Beans
    209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Make an animated gif from jpg files in command line

    Thanks
    LIM 1/n = Knowledge of Man
    n → ∞

    My Blog: www.ColdOwl.com

  4. #4
    Join Date
    Apr 2007
    Beans
    80

    Re: [SOLVED] Make an animated gif from jpg files in command line

    Anyone know how to make this more compressed? (currently the result is simular to the included files)

  5. #5
    Join Date
    Sep 2006
    Beans
    187

    Re: [SOLVED] Make an animated gif from jpg files in command line

    Quote Originally Posted by SL666 View Post
    Anyone know how to make this more compressed? (currently the result is simular to the included files)
    Mogrify the files first:

    Code:
    $ mogrify -resample 72x72 -resize 256x256 *.JPG
    keep in mind that this will overwrite the original files so it would be wise to do that with a copy
    My gtk themes | Help little bunny take over the world by pasting it on your signature:
    (\ /)
    (O.o)
    (> <)

  6. #6
    Join Date
    Apr 2013
    Beans
    1

    Cool Re: [SOLVED] Make an animated gif from jpg files in command line

    The quality of gif animation created with ImageMagick is realy good - http://www.youtube.com/watch?v=OFusYizJ-bA

  7. #7
    Join Date
    Feb 2007
    Beans
    24,961
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: [SOLVED] Make an animated gif from jpg files in command line

    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •