Skip to main content

No project description provided

Project description

imgtk

PyPI version Supported versions Downloads license

Installation

From PyPi

pip install imgtk-python

From source

pip install git+https://github.com/zigai/imgtk.git

Usage

usage: imgtk [--help] [-v] [--mode] MODE [-t] T [actions] [items]

options:
  --help                 show this help message and exit
  --mode                 display kept/discarded items (default: 'kept')
  -t                     number of threads to use (default: 23)
  -v, -verbose           verbose mode (extra log messages and progress bars)

filters:
  -w, --width            Filter by image width
  -h, --height           Filter by image height
  -sz, --size            Filter by file size
  -ar, --aspect-ratio    Filter by aspect ratio
  -fn, --filename        Filter by filename using glob or regex pattern matching
  -txt, --text           Filter by text content using OCR using glob or regex pattern matching

modifiers:
  -rs, --resize          Resize the image to the given size
  -cr, --crop            Crop the image to the given box
  -rot, --rotate         Rotate the image by the given angle
  -sc, --scale           Scale the image by the given factor
  -f, --filter           Apply the given filter to the image. Filters: [blur, contour, detail, edge_enhance, edge_enhance_more, emboss, find_edges, sharpen, smooth, smooth_more]
  -fl, --flip            Flip filter to flip an image horizontally or vertically
  -cnv, --convert        Convert the image to the given mode. Modes: [L, RGB, CMYK, GRAYSACLE]
  -inv, --invert         Invert filter to invert the colors of an image
  -thr, --threshold      Threshold filter to binarize an image
  -cont, --contrast      Adjust the image contrast
  -brgh, --brightness    Adjust the image brightness
  -shrp, --sharpness     Adjust the sharpness of the image
  -sat, --saturation     Adjust the image saturation
  -mb, --median-blur     Median blur filter to reduce noise in an image
  -gb, --gaussian-blur   Gaussian blur filter to reduce noise in an image
  -m, --move             Move the image to the given directory
  -s, --save             Save the image to the given directory

notes:
  filters can be inverted by adding a '!' after the flag
  you can get help for a specific action by running 'imgtk <action> --help'

License

MIT License

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

imgtk-python-0.0.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

imgtk_python-0.0.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file imgtk-python-0.0.3.tar.gz.

File metadata

  • Download URL: imgtk-python-0.0.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for imgtk-python-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b4c4defaf8221266eb33b370bc7a479da3494417ee8ef447f5ec5c3d505c6eee
MD5 fa5ce8ecf876b483f9423fd9e2384d43
BLAKE2b-256 35e2be73c8b72ff85420b7b15363788ce4d813d447d4d6f7c71eb4cdd5203ed0

See more details on using hashes here.

File details

Details for the file imgtk_python-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for imgtk_python-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59c057629415ae3b06131e8c8c37eca2c3f0fdf1709b52ae3f6e2f7a2ad9e511
MD5 9a7b708dcc5aabcb0ef5a98c4b2ea60d
BLAKE2b-256 50af732d33b41022e7cda28bd50258e65063f6e19d6b53ea927d6ad11709a059

See more details on using hashes here.

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