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.7.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for imgtk-python-0.0.7.tar.gz
Algorithm Hash digest
SHA256 635b8293de4f8f552150eb7092c02c495917774285a6bcc8a3ea41920efadae2
MD5 0c7f56653950d2cbd125d40dedcd6567
BLAKE2b-256 5dd55b4d1266f0e3bb928e385b7cd24f3a31cd85351ea1b320a4a3dd9663f30b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgtk_python-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7fbd87eeecc9f2712e3eaf99c62be1818e78c37a83ecb2464c64329465bd772a
MD5 172c6d4139a508b4acf8c7100ecfb3c7
BLAKE2b-256 dc6477e47363d7c81ba0a3364a082173d1af346a26a374a94ec7aa0fb56b579d

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