New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-cli-tool

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-cli-tool

Terminal application for image compression, image format conversion and image information

  • 2.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 14 Nov 2023

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