The commands were constructed to produce outputs that are as close as possible to make the comparison valid: I compared the commands: /usr/bin/time -v convert *.png -deconstruct -delay 1.6 out-convert.gif To get ImageMagick to work, I first had to modify its disk and memory limits at /etc/ImageMagick-6/policy.xml as explained at:
Sorting numerically is quite tricky on Mac OS X though, I guess you'll need to build a custom script.Īs of Ubuntu 18.10, ffpmeg 4.0.2-2, ImageMagick 6.9.10-8, I have found that ffmpeg is much faster than ImageMagick, and uses much less memory. On ubuntu you can use ls -v instead, something like: convert -resize 768x576 -delay 20 -loop 0 `ls -v` myimage.gif $ ls|catĪs the shots were taken very quickly (10/s) they all have the same modification time and you can't trick using ls -t for example. *.jpg sucks a bit when dealing with numeric values, you may generate a gif with unsorted pics. Or convert -resize 768x576 -delay 20 -loop 0 *.jpg myimage.gif In my case, I have 4608x3456 images and the generated gif was more than 300M for 32 images convert -resize 20% -delay 20 -loop 0 *.jpg myimage.gif This technique is somewhat limited in that you can't easily capture video frames without pausing the video before each capture (for that you should get a video screencapture program and then convert the resulting mov or avi to animated gif), and you can't readily adjust the frame time for each frame.To complete answer: To avoid generating a very large file, you can use -resize option: Save the document as gif, and then preview using a browser, or another app that shows animated gifs.Rearrange any that are out of order using the sidebar to drag and drop. Preview the animation by selecting the top icon in the sidebar, then using the down arrow.If you drop them elsewhere it won't add them properly. Select the remainder to the screenshots, drag and drop them directly on top of the icon in the sidebar of preview for the file already opened.Show the screenshots in finder, ordered by date.Convert the images to gif (or set your screenshot preferences to gif prior to capturing the screenshots).Use Cmd-shift-4-spacebar to capture a screenshot of the window for each frame.There is a way to do it in OS X without an additional tool, and this works well if, for instance, you just want to show someone the sequence of steps to disable a particular system preference.
This is probably why the only answer to the conversion question above used an online service. A lot of people use VLC to capture frames and imagemagick to collect them back together into an animated gif.
There don't seem to be that many apps that do the movie -> gif conversion on OS X, though. Look at these two questions for possible solutions: A video screen capture tool, and a movie to gif conversion tool. If you need to capture video and convert it to GIF, or a very long involved sequence of steps, then you'll need to combine two separate programs.