Optimizing Images for the Web from the Command Line

preview_player
Показать описание
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...

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
Рекомендации по теме
Комментарии
Автор

Good tutorial. Lots of people forget about images

mathalphabet
Автор

I'm so glad that I find your channel. Thanks bro.

atarg
Автор

Thanks you Eric for sharing with us these useful programs

donabdo
Автор

Linus torvalds will proud with your work !! 🙏 Reak guy who promoted linux

microcodes
Автор

Thank u for sharing! What are your thoughts on the WebP format?

chai
Автор

Do you plan on making a video on responsive images in web dev? You'd explain it well, you explain things very well, good video as always!

emberavenge
Автор

What is your file manager in the right side? With thumbnails for images, looks very cool and convenient)

miracleweb
Автор

Ok, but there should be a way of making this script work with either convert or mogrify, depending on which option you choose. Maybe by comparing the number of arguments on each one? (as in, mogrify passes just two arguments)

lordAgustin
welcome to shbcf.ru