A simple CLICK application to style images using palettes or just raw transformations
Project description
gistqd is a simple python CLI tool created to apply retro color effects on images with custom palettes or without them. Currently the following transformations are possible:
- ordered dithering – styles image with grid to reduce number of colors to 8
- quantization – reduces number of colors
Example results
Usage
General use of the program
Usage: python -m cli [OPTIONS] IMAGEPATH COMMAND [ARGS]...
Options:
-c, --config PATH path to the config in the file system
--help Show this message and exit.
Commands:
dither dither image, reducing number of colors to 8 with pattern
quantize basically reduce number of colors according to a pallete or...
Dithering options
Usage: python -m cli IMAGEPATH dither [OPTIONS]
dither image, reducing number of colors to 8 with pattern
Options:
-b, --basic use dithering without color palette
-p, --palette TEXT name of the palette from palette folder
-g, --grid-size INTEGER size of the grid for dithering, avalible sizes are:
2, 4, 8
--help Show this message and exit.
Quantization options
Usage: python -m cli IMAGEPATH quantize [OPTIONS]
basically reduce number of colors according to a pallete or number of colors
Options:
-b, --basic use automatic colors without color palette
-p, --palette TEXT name of the palette from palette folder
-n, --n-colors INTEGER number of colors in resulting image
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gistqd-0.1.2.tar.gz
(9.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gistqd-0.1.2-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file gistqd-0.1.2.tar.gz.
File metadata
- Download URL: gistqd-0.1.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f51d31f079e61e979d2b6b0fb28d6e4d5a9275b4ddfff1e18f943f856d4e615
|
|
| MD5 |
e6a40374881d4855804bc33703e3f0c8
|
|
| BLAKE2b-256 |
4f94fd8df6f9370a94a528f33b5064dff26a7b9885ff42ff682e54e49570a4fc
|
File details
Details for the file gistqd-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gistqd-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cc7d80d5990350d67e85c4f7554a88442caa0d88771167f183b5d75f80a0444
|
|
| MD5 |
3b3e1335a3ed421267205392c8e23545
|
|
| BLAKE2b-256 |
a5f72eaea6ee8131131545b0462aa9bbb2997109fa3191b0ebbc0b3d2b112445
|