1.4.0 • Published 4 years ago

alfred-imagemin v1.4.0

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

alfred-imagemin

Minify images with Imagemin. 3 file formats supported. PNG, JPEG, GIF

minify-demo

Install

Requires the Alfred 3 or 4 Powerpack, Node.js 8+.

With NPM

Install with npm

$ npm install --global alfred-imagemin

Manually

download the workflow directly.

Usage

  1. Select images on finder.
  2. Open alfred and type imagemin and press the Enter key.
  3. Output minify images in optimized_images folder.

Configuration

You can set the compression rate and output dir with an environment variable.

namedefaultvalue
JPEG_QUALITY70Option to imagemin-mozjpeg. Compression quality, in range 0 (worst) to 100 (perfect)
PNG_MAX_QUALITY0.6Option to imagemin-pngquant. Compression max quality, in range 0 to 1
PNG_MIN_QUALITY0.5Option to imagemin-pngquant. Compression min quality, in range 0 to 1
GIF_OPTIMIZATION_LEVEL3Option to imagemin-gifsicle. Select an optimization level between 1 and 3.
OUTPUT_DIRoptimized_imagesOptimized image output directory name

Related

License

MIT ©

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago