Skip to main content

A simple CLICK application to style images using palettes or just raw transformations

Project description

What is gistqd

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
  • quantization

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.

Project details


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.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gistqd-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file gistqd-0.1.0.tar.gz.

File metadata

  • Download URL: gistqd-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gistqd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29690b95365d1f69c24c74bd7b2dc04994f00534c60f73c39b9df310384e89c7
MD5 15a597d95566dc7c95f85d30db4da994
BLAKE2b-256 ab62c32e2db1d8f483bce341e5850762599982df5e69ad7b39f0bebb42e2439a

See more details on using hashes here.

File details

Details for the file gistqd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gistqd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gistqd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edc5aeb0e714ac2f37a736f64d1503048d1f907ae4bc1cde5b46e78b92427171
MD5 22802b8496a001da6ed0b30c44a6de76
BLAKE2b-256 9243f58739eaa07d8003800d73dfb55594bd75c3e7e6b4685cf7d788f1054bdb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page