0.0.3 • Published 4 years ago
alfred-squoosh v0.0.3
alfred-squoosh
Convert images through Squoosh in Alfred 4

Install
$ npm install --global alfred-squooshRequires Node.js 12+ and the Alfred Powerpack.
Usage
In Alfred, select image files and turn up the file window, type squ, and Enter.
Config
You can change converter's setting in your config.

width
Type: Number
Required: false
If you want to resize your image, set this value.
When either width or height is specified, the image resized to specified size keeping aspect ratio.
height
Type: Number
Required: false
If you want to resize your image, set this value.
When either width or height is specified, the image resized to specified size keeping aspect ratio.
format
Type: String
Required: true
Default: webp
quality
Type: Number
Required: true
Default: 100
dest
Type: String
Required: false
Default: process.cwd()
Related links
- squoosh - Image compression web app that reduces image sizes through numerous formats.
License
MIT © jopemachine