alfred-imagemin

An Alfred Workflow


Short Description

Minify images seamlessly with imagemin

Last Updated

08 May 2020

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0.1
 

Bundle ID

com.ryokawamata.imagemin
 

Categories

alfred-imagemin

Minify images seamlessly with imagemin.

minify-demo

Install

Ensure you have Node.js version 10 or higher installed. Then run the following:

$ npm install --global alfred-imagemin

Usage

Selected image files on finder, type imagemin and enter in Alfred.

Configuration

Alfred environment variables.

name default value
JPEG_QUALITY 80 Option to imagemin-mozjpeg. Compression quality, in range 0 (worst) to 100 (perfect).
PNG_MIN_QUALITY 0.8 Option to imagemin-pngquant. Compression max quality, in range 0 to 1
PNG_MAX_QUALITY 0.65 Option to imagemin-pngquant. Compression min quality, in range 0 to 1
GIF_OPTIMIZATION_LEVEL 3 Option to imagemin-gifsicle. Select an optimization level between 1 and 3.

Screenshots