Resize all pictures in a folder and create WebM video in Linux Bash with ffmpeg
2020-11-10
Few days ago I wrote about how to Resize all pictures in a folder and create animated GIF in Linux Bash with ImageMagick. Checking the page speed with Google Lighthouse the speed score was terrible. So I followed the instructions and tried to do better. Here are the commands for creating WebP format rather than GIF. I am still not able to embed the WebP format in an easy way on this blog.…
Resize all pictures in a folder and create animated GIF in Linux Bash with ImageMagick
2020-11-07
Install ImageMagic sudo apt install imagemagick Resize all JPG images starting with PXL in a downloads folder to 30% of its original size cd ~/downloads convert PXL*.jpg -resize 30% PXL.jpg Create a GIF of all JPG images starting with PXL in a folder convert -delay 100 -loop 0 PXL*.jpg wooden-house-construction.gif Sources ImageMagick Animation Basics