imgtk-python


Nameimgtk-python JSON
Version 0.0.7 PyPI version JSON
download
home_pagehttps://github.com/zigai/py-pipeline
Summary
upload_time2023-12-02 15:23:36
maintainer
docs_urlNone
authorŽiga Ivanšek
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # imgtk
[![PyPI version](https://badge.fury.io/py/imgtk-python.svg)](https://badge.fury.io/py/imgtk-python)
![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)
[![Downloads](https://static.pepy.tech/badge/imgtk-python)](https://pepy.tech/project/imgtk-python)
[![license](https://img.shields.io/github/license/zigai/imgtk.svg)](https://github.com/zigai/imgtk/blob/main/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](https://github.com/zigai/imgtk/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zigai/py-pipeline",
    "name": "imgtk-python",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "\u017diga Ivan\u0161ek",
    "author_email": "ziga.ivansek@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5d/d5/5b4d1266f0e3bb928e385b7cd24f3a31cd85351ea1b320a4a3dd9663f30b/imgtk-python-0.0.7.tar.gz",
    "platform": null,
    "description": "# imgtk\n[![PyPI version](https://badge.fury.io/py/imgtk-python.svg)](https://badge.fury.io/py/imgtk-python)\n![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)\n[![Downloads](https://static.pepy.tech/badge/imgtk-python)](https://pepy.tech/project/imgtk-python)\n[![license](https://img.shields.io/github/license/zigai/imgtk.svg)](https://github.com/zigai/imgtk/blob/main/LICENSE)\n# Installation\n#### From PyPi\n```\npip install imgtk-python\n```\n#### From source\n```\npip install git+https://github.com/zigai/imgtk.git\n```\n\n# Usage\n```\nusage: imgtk [--help] [-v] [--mode] MODE [-t] T [actions] [items]\n\noptions:\n  --help                 show this help message and exit\n  --mode                 display kept/discarded items (default: 'kept')\n  -t                     number of threads to use (default: 23)\n  -v, -verbose           verbose mode (extra log messages and progress bars)\n\nfilters:\n  -w, --width            Filter by image width\n  -h, --height           Filter by image height\n  -sz, --size            Filter by file size\n  -ar, --aspect-ratio    Filter by aspect ratio\n  -fn, --filename        Filter by filename using glob or regex pattern matching\n  -txt, --text           Filter by text content using OCR using glob or regex pattern matching\n\nmodifiers:\n  -rs, --resize          Resize the image to the given size\n  -cr, --crop            Crop the image to the given box\n  -rot, --rotate         Rotate the image by the given angle\n  -sc, --scale           Scale the image by the given factor\n  -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]\n  -fl, --flip            Flip filter to flip an image horizontally or vertically\n  -cnv, --convert        Convert the image to the given mode. Modes: [L, RGB, CMYK, GRAYSACLE]\n  -inv, --invert         Invert filter to invert the colors of an image\n  -thr, --threshold      Threshold filter to binarize an image\n  -cont, --contrast      Adjust the image contrast\n  -brgh, --brightness    Adjust the image brightness\n  -shrp, --sharpness     Adjust the sharpness of the image\n  -sat, --saturation     Adjust the image saturation\n  -mb, --median-blur     Median blur filter to reduce noise in an image\n  -gb, --gaussian-blur   Gaussian blur filter to reduce noise in an image\n  -m, --move             Move the image to the given directory\n  -s, --save             Save the image to the given directory\n\nnotes:\n  filters can be inverted by adding a '!' after the flag\n  you can get help for a specific action by running 'imgtk <action> --help'\n```\n\n# License\n[MIT License](https://github.com/zigai/imgtk/blob/master/LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.0.7",
    "project_urls": {
        "Homepage": "https://github.com/zigai/py-pipeline"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc6477e47363d7c81ba0a3364a082173d1af346a26a374a94ec7aa0fb56b579d",
                "md5": "172c6d4139a508b4acf8c7100ecfb3c7",
                "sha256": "7fbd87eeecc9f2712e3eaf99c62be1818e78c37a83ecb2464c64329465bd772a"
            },
            "downloads": -1,
            "filename": "imgtk_python-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "172c6d4139a508b4acf8c7100ecfb3c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8838,
            "upload_time": "2023-12-02T15:23:34",
            "upload_time_iso_8601": "2023-12-02T15:23:34.929742Z",
            "url": "https://files.pythonhosted.org/packages/dc/64/77e47363d7c81ba0a3364a082173d1af346a26a374a94ec7aa0fb56b579d/imgtk_python-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dd55b4d1266f0e3bb928e385b7cd24f3a31cd85351ea1b320a4a3dd9663f30b",
                "md5": "0c7f56653950d2cbd125d40dedcd6567",
                "sha256": "635b8293de4f8f552150eb7092c02c495917774285a6bcc8a3ea41920efadae2"
            },
            "downloads": -1,
            "filename": "imgtk-python-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "0c7f56653950d2cbd125d40dedcd6567",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8254,
            "upload_time": "2023-12-02T15:23:36",
            "upload_time_iso_8601": "2023-12-02T15:23:36.519079Z",
            "url": "https://files.pythonhosted.org/packages/5d/d5/5b4d1266f0e3bb928e385b7cd24f3a31cd85351ea1b320a4a3dd9663f30b/imgtk-python-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-02 15:23:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zigai",
    "github_project": "py-pipeline",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "imgtk-python"
}
        
Elapsed time: 0.16769s