# Eqlm
Simple CLI tool to spatially equalize image luminance
## Example
## Install
```sh
pip3 install eqlm
```
## Usage
The main program can be invoked either through the `eqlm` command or through the Python main module option `python3 -m eqlm`.
```txt
usage: eqlm [-h] [-v] [-m {luminance,brightness,saturation,lightness}]
[-n M N] [-t RATE] [-e] [-u] [-g [GAMMA]] [-d {8,16}]
IN_FILE [OUT_FILE]
Simple CLI tool to spatially equalize image luminance
positional arguments:
IN_FILE input image file path (use '-' for stdin)
OUT_FILE output PNG image file path (use '-' for stdout)
(default: Auto)
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-m {luminance,brightness,saturation,lightness}, --mode {luminance,brightness,saturation,lightness}
processing mode (default: luminance)
-n M N, --divide M N divide image into MxN blocks for aggregation
(note that it doesn't respect Exif orientation) (default: (2, 2))
-t RATE, --target RATE
output level target rate, 0.0 (min) to 1.0 (max) (default: Average)
-e, --median aggregate each block using median (default: False)
-u, --unweighted disable alpha channel weighting (default: False)
-g [GAMMA], --gamma [GAMMA]
apply inverse gamma correction before process [GAMMA=2.2] (default: None)
-d {8,16}, --depth {8,16}
bit depth of the output PNG image (default: 8)
```
## License
GNU Affero General Public License v3.0
Raw data
{
"_id": null,
"home_page": null,
"name": "eqlm",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": "curegit <contact@curegit.jp>",
"keywords": "image processing, image manipulation, brightness, saturation, lightness, luminance",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/96/b0/a9b506c5b93f50e2820383832a4e90d72ffb5ee01ae711571633cabd6c2d/eqlm-0.1.0.tar.gz",
"platform": null,
"description": "# Eqlm\n\nSimple CLI tool to spatially equalize image luminance\n\n## Example\n\n## Install\n\n```sh\npip3 install eqlm\n```\n\n## Usage\n\nThe main program can be invoked either through the `eqlm` command or through the Python main module option `python3 -m eqlm`.\n\n```txt\nusage: eqlm [-h] [-v] [-m {luminance,brightness,saturation,lightness}]\n [-n M N] [-t RATE] [-e] [-u] [-g [GAMMA]] [-d {8,16}]\n IN_FILE [OUT_FILE]\n\nSimple CLI tool to spatially equalize image luminance\n\npositional arguments:\n IN_FILE input image file path (use '-' for stdin)\n OUT_FILE output PNG image file path (use '-' for stdout)\n (default: Auto)\n\noptions:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n -m {luminance,brightness,saturation,lightness}, --mode {luminance,brightness,saturation,lightness}\n processing mode (default: luminance)\n -n M N, --divide M N divide image into MxN blocks for aggregation\n (note that it doesn't respect Exif orientation) (default: (2, 2))\n -t RATE, --target RATE\n output level target rate, 0.0 (min) to 1.0 (max) (default: Average)\n -e, --median aggregate each block using median (default: False)\n -u, --unweighted disable alpha channel weighting (default: False)\n -g [GAMMA], --gamma [GAMMA]\n apply inverse gamma correction before process [GAMMA=2.2] (default: None)\n -d {8,16}, --depth {8,16}\n bit depth of the output PNG image (default: 8)\n```\n\n## License\n\nGNU Affero General Public License v3.0\n",
"bugtrack_url": null,
"license": "AGPL-3.0",
"summary": "Simple CLI tool to spatially equalize image luminance",
"version": "0.1.0",
"project_urls": {
"homepage": "https://github.com/curegit/eqlm",
"repository": "https://github.com/curegit/eqlm.git"
},
"split_keywords": [
"image processing",
" image manipulation",
" brightness",
" saturation",
" lightness",
" luminance"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1deb0161dbeb892dd0a9ed16319d943810e6981725832648d25c6bb7ce537602",
"md5": "a4acdaad6559bb9a315b85f6954625b1",
"sha256": "625bf37ed754b6bff17aeccf161e440ec6ca10d9c5d58c3b3502e028e4d9b20e"
},
"downloads": -1,
"filename": "eqlm-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a4acdaad6559bb9a315b85f6954625b1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 20516,
"upload_time": "2024-05-31T10:14:58",
"upload_time_iso_8601": "2024-05-31T10:14:58.958974Z",
"url": "https://files.pythonhosted.org/packages/1d/eb/0161dbeb892dd0a9ed16319d943810e6981725832648d25c6bb7ce537602/eqlm-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "96b0a9b506c5b93f50e2820383832a4e90d72ffb5ee01ae711571633cabd6c2d",
"md5": "580166e3c36cb01e342c99f64e88ef2a",
"sha256": "e79505e3b90fb913853490b0c9189cbc0a1bc708a00afa3d5f1c38fece1766ee"
},
"downloads": -1,
"filename": "eqlm-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "580166e3c36cb01e342c99f64e88ef2a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 20177,
"upload_time": "2024-05-31T10:15:04",
"upload_time_iso_8601": "2024-05-31T10:15:04.123549Z",
"url": "https://files.pythonhosted.org/packages/96/b0/a9b506c5b93f50e2820383832a4e90d72ffb5ee01ae711571633cabd6c2d/eqlm-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-31 10:15:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "curegit",
"github_project": "eqlm",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "eqlm"
}