imgopt – PNG And JPEG Image Optimization

Imgopt is a bash script that makes use of different image optimization command line tools to drastically reduce the size of your JPEG and PNG images with minimal loss in quality.

imgopt makes use of the command line tools optipng, advpng, and pngout to optimize your PNG images.

For optimizing JPEG images, it uses jpegtran to strip color profiles from JPEG images and another tool jfifremove to remove JFIF metadata.

In an earlier post, I had explained how to reduce your PNG image size using two different tools – optipng, and pngcrush. However, you cannot use these tools to optimize JPEG images.

imgopt on the other hand can be used to optimize both JPEG and PNG images.

Download the imgopt script from the authors website.

Note: If you are looking for an online tool to optimize your images, then you might like Yahoo Smush.it and PunyPNG.

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Related posts: