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
Metadata
Release files for imgtk-python 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| imgtk_python-0.0.8.tar.gz | 8.2 kB | Without provenance | Details for imgtk_python-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imgtk_python-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for imgtk_python-0.0.8-py3-none-any.whl |
Total release size: 17.0 kB
Release files / imgtk_python-0.0.8.tar.gz
| Download URL | imgtk_python-0.0.8.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c67d38d916d2afab8e18187e103eb7bee7c0ab9cab9d5040fc35c7456d1cd35
|
|
BLAKE2b-256 checksum How to use checksums |
259408c2b1af4b92ef026e737a93bb2d4f412833fc54cbed3653ebe7048c3af3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / imgtk_python-0.0.8-py3-none-any.whl
| Download URL | imgtk_python-0.0.8-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79359e91471490f7b254eaec88db34fa08dc8e527c23e911fbab4c7fd157eca1
|
|
BLAKE2b-256 checksum How to use checksums |
b171f01a7d94ff4fdae5b83f7a198f71e5559049ccebd58091e3dd20b9d0e0a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for imgtk-python 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.