Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imageoptim-cli

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imageoptim-cli

Make lossless optimisation of images part of your automated build process.

  • 1.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.8K
increased by16.94%
Maintainers
1
Weekly downloads
 
Created
Source

ImageOptim-CLI

Controls ImageOptim and ImageAlpha to make lossless optimisation of images part of your automated build process. Version 1.4 will soon also bring support for automating JPEGmini for Mac.

Example

$ imageOptim --directory /path/to/images
  Processing 23 images...
  ✔ Finished in 212 seconds

Installation

$ sudo npm install -g imageoptim-cli

Usage

Usage: imageOptim [options]

Options:

  -d, --directory     directory of images to process
  -a, --image-alpha   pre-process PNGs with ImageAlpha.app (http://pngmini.com)
  -q, --quit          quit ImageOptim.app when complete
  -h, --help          output usage information
  -e, --examples      output usage examples
  -v, --version       output the version number

Examples

Run ImageOptim
$ imageOptim -d path/to/images
$ imageOptim --directory path/to/images

Run ImageOptim then quit it when finished
$ imageOptim -q -d path/to/images
$ imageOptim --quit --directory path/to/images

Run ImageAlpha then ImageOptim
$ imageOptim -a -d path/to/images
$ imageOptim --image-alpha --directory path/to/images

Run ImageAlpha then ImageOptim then quit ImageOptim when finished
$ imageOptim -q -a -d path/to/images
$ imageOptim --quit --image-alpha --directory path/to/images

Grunt Plugin

JamieMason/grunt-imageoptim is the Grunt plugin for imageoptim-cli.

Credits

ImageOptim-CLI is the work of Jamie Mason and James Stout. It extends PorneL's brilliant ImageOptim GUI Application for the Mac.

Keywords

FAQs

Package last updated on 08 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc