ImageOptim plugin for the Sketch app
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist Initial Mar 24, 2017
src Initial Mar 24, 2017
.gitignore Initial Mar 24, 2017
LICENSE Initial Mar 24, 2017
README.md Update README.md May 11, 2017
gulpfile.js Initial Mar 24, 2017
package.json Initial Mar 24, 2017

README.md

ImageOptim Sketch plugin

A Plugin for Sketch that compresses exported images using ImageOptim.

Installation

Usage

The Plugin uses two methods for asset compression:

  • Automatically, whenever you export an asset from Sketch using the File › Export… menu option or the Export button in the toolbar.

  • When you choose the Plugins › ImageOptim › Export and Optimize All Assets… menu option. You'll be asked for a path where your assets will be exported, and then the plugin will export every exportable layer from your document, and run the assets through ImageOptim.

Please note that both methods won't block Sketch's UI when running, so you'll be able to keep on working while the compressors run. Compression will be done in a separate ImageOptim app. You can switch to the ImageOptim app to see progress and compression results.

Acknowledgements

Thanks to Ale Muñoz for creating ImageOptim-inspired plugin, which this plugin is based on. We've come a full circle :)

LICENSE

MIT