ImageOptim reduces image files sizes by removing unnecessary metadata such as digital camera metadata, embedded thumbnails, comments and other content. Removing this data on its own will significantly reduce file sizes without having to alter the image’s resolution in any way. Even images “Saved for Web” in Photoshop or similar applications can be further reduced with ImageOptim.
ImageOptim comes in two versions: a free, donation-based application for Mac OS X (10.9+), and a subscription-based web service for any platform. For Windows and Linux users, FileOptimizer and Trimage are decent alternatives that use many of the same compression tools as ImageOptim.
Once you have the application installed, you can start optimizing files just by dragging them onto the open application window. Alternatively you can also drag files directly onto the dock icon in Mac OS X.
ImageOptim optimizes the files you select, so if for some reason you want to keep copies of the original pre-optimization, it’s best to make copies to optimize first.
ImageOptim can also be opened via the command line, by running the following command from your terminal:
open -a ImageOptim .
ImageOptim’s default settings will work fine for most uses, although you may want to adjust the many built-in preference settings depending on your requirements. For example, if you’d like to keep in copyright information on your images, de-select the “Strip JPEG metadata” option from the General tab in preferences. This will result in a larger file size, though.
By default ImageOptim reduces file sizes with lossless compression, leaving the original image quality completely unaffected. If a smaller file size is desired over maintaining image quality, it is possible to enable “lossy minification” via the Quality tab in preferences. The lossy minification option is similar to the results of online services such as tinypng.com. You can adjust the quality for the three most common image formats (jpeg, png and gif), at the cost of a lower image quality. You can play around with these settings to find the best balance between file size and image resolution.
While there are many services and plugins that offer image optimization, having a desktop-based application is a convenient and reliable way to optimize large amounts of images without relying on a web service or plugin. This makes ImageOptim a great choice for image optimization regardless of the ultimate platform or application your image assets will be used for.
- Why You Should Choose Magento for Your Website
- Using A CSS Reset For Better Cross-Browser Compatibility
- An overview of jQuery Event Methods
- Refactoring CSS Code (2018 Update)
- An introduction to the htaccess file:The Ultimate Guide (2018 Update)
- Introducing Gutenberg, the new WordPress editor
- Advanced Features of ECMAScript 6: The Ultimate Guide 2018
- Choosing The Best Text Editor For Web Development
- Using node-sass to compile Sass files in an npm script
- An Introduction to Version Control using Git (2018 Update)
- How to set up a Local Server Environment using MAMP
- Using Surge for deploying static sites (2018 Update)
- Did you just launch a new website? The ultimate guide on what to do next.
- Magento Website Development: The Top 9 tips to improve sales
- How to get rid of the “You have mail” Unix message
- Bash vs Zsh: A comparison of two command line shells (2018 Update)
- Graphic Design in 2019: The top 14 trends we expect to see this new year
While always deeply interested in technology since childhood, Nicholas has been involved in web development in a professional capacity since 2012, as both a front-end developer and project manager.