An open API service indexing awesome lists of open source software.

https://github.com/imageoptim/sketch-plugin

ImageOptim plugin for the Sketch app
https://github.com/imageoptim/sketch-plugin

imageoptim sketch-plugin

Last synced: 10 months ago
JSON representation

ImageOptim plugin for the Sketch app

Awesome Lists containing this project

README

          

# [ImageOptim Sketch plugin](https://imageoptim.com/sketch)

A Plugin for [Sketch](https://www.sketchapp.com/) that compresses exported images using [ImageOptim](https://imageoptim.com/mac).

## Installation

- [Download and open ImageOptim.app](https://imageoptim.com/mac).
- [Download and open this plugin](dist/ImageOptim.sketchplugin.zip?raw=true).
- Double click `ImageOptim.sketchplugin` to install the plugin.

## 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