test_npm_auto_publish
v4.0.0
Published
This repository it to practice how to make the latest version of an npm package its default when downloaded by someone.
Downloads
1
Readme
Image-CLI-Tool
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
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
Contribute
Feel free to explore and contribute to the image-cli-tool! If you have any improvements or additional features inmind, open an issue or submit a pull request. I would be happy to merge🙂