Optimizing Images for the Web from the Command Line @EricMurphyxyz
Optimizing Images for the Web from the Command Line  @EricMurphyxyz
Uploaded October 2021 | Updated November 2026, 3 hours ago
Are you uploading big, oversized, unoptimized images to your website? Save your users some pain and run your images through ImageMagick to have them perfectly optimized for the web. Resize and strip metadata with a simple command, and even minify your SVGs with SVGO, all in this video...

Imagemagick JPEG script: github.com/ericmurphyxyz/archrice/blob/master/.local/bin/webjpeg

0:00 Intro
1:43 Installing ImageMagick
2:17 Resizing images
4:16 Setting image quality
5:07 Stripping metadata
6:04 Creating a Bash script
7:33 Optimizing PNGs
8:45 Converting PNG to JPEG
9:19 Batch optimizing
10:55 Optimizing SVGs
14:06 Conclusion
Optimizing Images for the Web from the Command LineWorking with JavaScript dates? Yeah, just use date-fns...How to Set Up a Lock Screen on Arch LinuxHosting Your Own Web Analytics with Umami! (So long, Google Analytics)Caring about privacy almost ruined my life.Thinking about switching to Linux? Watch this first.How to Convert Manga and Comics to Read on Your Kindle!Make Working in the Terminal 2x Easier with Aliases!Whats the Best AUR Helper? (Paru vs Yay vs Pikaur)Why I Stopped Using PrettierTechnology was a mistake.How to Style your React App (5 Different Methods Compared)
Eric Murphy |

Optimizing Images for the Web from the Command Line

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER