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
- Host: GitHub
- URL: https://github.com/imageoptim/sketch-plugin
- Owner: ImageOptim
- License: mit
- Created: 2017-03-24T15:57:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T10:54:08.000Z (almost 4 years ago)
- Last Synced: 2025-04-04T05:11:18.591Z (10 months ago)
- Topics: imageoptim, sketch-plugin
- Language: JavaScript
- Homepage: https://imageoptim.com/mac
- Size: 6.84 KB
- Stars: 140
- Watchers: 3
- Forks: 13
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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