Skip to main content

No project description provided

Project description

Imagecli

ImageCli

A natural language described, out of the box 📷 image command line tools. 🔧

Overview

ImageCli is a simple command-line interface designed to effectively handle image operations, allowing users to perform basic tasks through simple descriptive commands (without the need to understand complex tool design, speak freely)

Examples

1. Image size

img size -f '/Users/youngfreefjs/Downloads/logo.png'

>> Image Pixels Size: 1024x1024

2. Image file size

img file-size -f '/Users/youngfreefjs/Downloads/logo.png'

>> Image File Size: 496470.00 bytes

Specify Return Unit
You can also specify the output unit for the file size (e.g. bytes, KB, MB):

img file-size -f '/Users/youngfreefjs/Downloads/logo.png' -u MB

>> Image File Size: 0.47 MB

3. Compress image file size

img compress -f '/Users/youngfreefjs/Downloads/logo.png' -t 0.1 -u MB

>> Compressed image saved to: /Users/youngfreefjs/Downloads/compressed_logo.png
>> Compressed Image Size: 0.09 MB

4. Change Photo background color

img background -f '/Users/youngfreefjs/Desktop/code/github/imagecli/static/passport_photo_blue.png' -c 'RED' 

>> Image resolution: 1536x1024, Channels: 3
>> Modified image background `red` saved to: /Users/youngfreefjs/Desktop/code/github/imagecli/static/background_RED_passport_photo_blue.png
Original Photo RED Background Photo WHITE Background Photo
Original Photo RED Background Photo WHITE Background Photo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open-image-cli-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file open-image-cli-0.2.0.tar.gz.

File metadata

  • Download URL: open-image-cli-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for open-image-cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 233f9acf6a03b4b6639338b238bcdd33c6f9974d37adffad19832a5d2c017472
MD5 d835d32862b79ab2159658cfb800284b
BLAKE2b-256 a07cace1d08fa95a19e24a8c35324a86a3a5a286061e2451b67fe76239e9bb0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page