2.6.0 • Published 6 months ago

image-cli-tool v2.6.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

Image-CLI-Tool

npm version npm total downloads

An npm package to manipulate images using terminal.

Installation

To install the image-cli-tool globally, use the following command:

npm install -g image-cli-tool

Features of the image-cli-tool

  • Compress an image
  • Convert an image to another format
  • Get image information
  • Rotate Image by a specified angle

Commands

Image Compression

  • img-cli compress <input_file>
    • Example:
      img-cli compress myimage.jpg

Default quality is 60%.

  • img-cli compress <input_file> -q <quality>
    • Example:
      img-cli compress myimage.jpg -q 80

Image Conversion

  • img-cli convert <input_file.extension> <output_file.extension>
  • Example:
img-cli convert myimage.jpg myimage.png

Get Image Information

  • img-cli info <input_file>
  • Example:
img-cli info myimage.jpg

Rotate an Image

  • img-cli rotate <input_file> <rotate_angle>
  • Example:
    img-cli rotate myimage.jpg 90
2.6.0

6 months ago

2.5.0

6 months ago

2.4.0

6 months ago

2.3.0

6 months ago

2.2.0

7 months ago

2.1.0

7 months ago

2.0.0

7 months ago

1.0.0

7 months ago

1.2.0

7 months ago