No project description provided
Project description
imgtk
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
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.6.tar.gz
(8.2 kB
view details)
Built Distribution
File details
Details for the file imgtk-python-0.0.6.tar.gz
.
File metadata
- Download URL: imgtk-python-0.0.6.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9964708abd3c731b4e53549eeca1e07d3c781f3e61f8f494f1f50c4b921f0fc6 |
|
MD5 | c25e4eafb6f53646d65c78c26cb0d551 |
|
BLAKE2b-256 | b9e4fa44cecc6c25c459776ecdad4cd36e23fa337e06b0de83de970f912d173d |
File details
Details for the file imgtk_python-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: imgtk_python-0.0.6-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0597c6aeabc082d456d2b559cb474516e4510cfb2a7ef6c06a1eae625bf12bdc |
|
MD5 | fed0840ffd6707d583011608f56e0e58 |
|
BLAKE2b-256 | 819a1fec8563d04fa392ff679aadb710fcd0bf19b0c07e75a793b6b3833032b9 |