Skip to main content

Static Badge

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

quatize dithering

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.

Metadata

Release files for gistqd 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gistqd 0.1.2
File Size Uploaded
gistqd-0.1.2.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gistqd 0.1.2
File Interpreter ABI Platform
gistqd-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / gistqd-0.1.2.tar.gz

Download URL gistqd-0.1.2.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0f51d31f079e61e979d2b6b0fb28d6e4d5a9275b4ddfff1e18f943f856d4e615
BLAKE2b-256 checksum
How to use checksums
4f94fd8df6f9370a94a528f33b5064dff26a7b9885ff42ff682e54e49570a4fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / gistqd-0.1.2-py3-none-any.whl

Download URL gistqd-0.1.2-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cc7d80d5990350d67e85c4f7554a88442caa0d88771167f183b5d75f80a0444
BLAKE2b-256 checksum
How to use checksums
a5f72eaea6ee8131131545b0462aa9bbb2997109fa3191b0ebbc0b3d2b112445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page