Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 689 Bytes

releaseNotes.md

File metadata and controls

26 lines (20 loc) · 689 Bytes

Resize JS

v1.1.0

  • Makes 'width' optional
  • Adds 'output' argument

v1.0.0

  • Adds 'yargs'
  • Updates documentations

v0.1.0 - v0.3.0 (pre releases)

This is an old release consider upgrading to latest stable

Usage

resize-js <filename|glob> [width:number] [grayscale:boolean]

Example

resize-js ./*.jpg 300 # this will find all the JPG images, resize them (width: 300 px height: auto)
                      # and store them alongside with existing ones (resized_<original_file_name.jpg>)
resize-js ./*.png 25 true # this will do similar operation as the one above
                          # with addition of converting an image to grayscale