Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishayo/image-cli-tool
an npm package to manipulate images using command line interface.
https://github.com/nishayo/image-cli-tool
images npm-package terminal-app
Last synced: about 1 month ago
JSON representation
an npm package to manipulate images using command line interface.
- Host: GitHub
- URL: https://github.com/nishayo/image-cli-tool
- Owner: nishaYO
- Created: 2023-09-24T04:13:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-16T03:48:34.000Z (about 1 year ago)
- Last Synced: 2024-10-12T08:20:17.669Z (about 1 month ago)
- Topics: images, npm-package, terminal-app
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/image-cli-tool
- Size: 145 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image-CLI-Tool
[![npm version](https://img.shields.io/npm/v/image-cli-tool.svg)](https://www.npmjs.com/package/image-cli-tool)
[![npm total downloads](https://img.shields.io/npm/dt/image-cli-tool.svg)](https://www.npmjs.com/package/image-cli-tool)An npm package to manipulate images using terminal.
# Installation
To install the image-cli-tool globally, use the following command:
```bash
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 `
- **Example:**
```bash
img-cli compress myimage.jpg
```Default quality is 60%.
- `img-cli compress -q `
- **Example:**
```bash
img-cli compress myimage.jpg -q 80
```# Image Conversion
- `img-cli convert `
- **Example:**
```bash
img-cli convert myimage.jpg myimage.png
```# Get Image Information
- `img-cli info `
- **Example:**
```bash
img-cli info myimage.jpg
```# Rotate an Image
- `img-cli rotate `
- **Example:**
```bash
img-cli rotate myimage.jpg 90
```