How to resize images to Twitter animated GIF dimensions and then make an animated GIF using imagemagick
- Discovered Oct 6, 2022. 17:58 magick commands in linux on WSL to make an animated GIF:
parallel ~/bin/magick convert {} -resize 1200x675 small-{/.}.jpg \ ::: /mnt/c/Users/rolan/OneDrive/Pictures/BEES_04OCT_2022/*.JPG ~/bin/magick convert -delay 20 -loop 0 `ls -1 *.jpg` 04oct2022beeflying.gif
imagemagick
version 7 is accessed via themagick
commands. Version 6 is accessed viaconvert
directly.- There’s probably a way to do this in 1 step using reading from stdin but I couldn’t figure it out :-)
Previously
- August 2021: How To install Imagemagick on Ubuntu 20.04 with JPG, PNG and TIFF support aka ‘delegates’? Why isn’t this in the default install?
- April 2021: Not an imagemagick bug but an unclean data problem: one of the rows is missing an average colour because there was no thumbnail in flickr
- April 2021: Photoshop-less way using printf and magick (imagemagick version 7) to convert an RGB file created by xxd without a header to a PNG
- April 2021: Average colour according to imagemagick resize of my flickr photos Jan 1, 2019 - Dec 31, 2020
- April 2021: How To Use Imagemagick Version 7 convert to to resize an image to get average colour
- February 2020: Imagemagick v7 is much faster than OilyPNG or VIPS for creating images, cropping them and montaging i.e. collaging them
- August 2019: HowTo: Circular Crop with ImageMagick