Skip to main content

Tool to check ratio of image.

Project description

imarac

imarac (for image ratio checker) is a CLI tool developed to check the ratio of an image. It's really useful to print photo with the good ratio!

Description

This tool is useful to walk into a directory and check the ratio of every image file.

Dependencies

Installation

pip install imarac

Usage

Usage: imarac [OPTIONS]

Options:
  -d, --dir, --directory DIRECTORY  Directory to check.  [required]
  -r, --ratio FLOAT RANGE           Image desired ratio.  [x>0; required]
  -v, --verbose                     Add more information during processing.
  --help                            Show this message and exit.

Example

For a normal use:

imarac -d my-holyday-pictures -r 1.5

📂 /path/to/my-holyday-pictures
┣━━ 📂 thecat
┗━━ 📂 nature
    ┗━━ beautifulmontain.jpg (ratio: 1.3)

With verbose option:

imarac -d my-holyday-pictures -r 1.5 -v

📂 /path/to/my-holyday-pictures
┣━━ 📂 thecat
┃   ┣━━ mycat.jpg (ratio: 1.5)
┃   ┗━━ mycatwithme.jpg (ratio: 1.5)
┗━━ 📂 nature
    ┣━━ awesomecliff.jpg (ratio: 1.5)
    ┣━━ beautifulmontain.jpg (ratio: 1.3)
    ┗━━ infinitesea.jpg (ratio: 1.5)

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

imarac-1.0.0.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

imarac-1.0.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

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