Skip to content

simple command line tool wrapping "imagemin" to compress images

Notifications You must be signed in to change notification settings

MarcelLab/img-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMG-COMPRESS

simple nodejs utility wrapping image-min and its imagemin-jpeg-recompress plugin.

Compress all the .jpg and .png in a given folder (will find the resources recursively)

Install

npm install -g git+https://github.com/MarcelLab/img-compress.git

Use

imgcompress

then answer the questions in the prompt :

  • folder : input folder where to find images (default to current folder)
  • [jpeg] progressive (default true)
  • [jpeg] maxQuality (default 90)
  • [png] optimizationLevel (default 3) must be between 0 and 7

About

simple command line tool wrapping "imagemin" to compress images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published