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.1.tar.gz (8.5 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.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gistqd-0.1.1.tar.gz
  • Upload date:
  • Size: 8.5 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.1.tar.gz
Algorithm Hash digest
SHA256 32aa8d850d0d93098d1b82cec6d89108a09a2f23640734975d3e1d3b06501cf2
MD5 632064e883e288d2a8adfc5e0c7061bd
BLAKE2b-256 8e986cdf64d41823ffa44c3ca4f7991f66d6f0ca39f2d462cee24e48b3f4d609

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gistqd-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcd1fb2bfc41bc2c055dbba407724d3220516f90997837ad96445e2ffaf1dd7d
MD5 f0f10f89c2523d3fea1aa99f49e67096
BLAKE2b-256 e60f083a4950e0a7acf70b3cbce95b439c32ff0d7b3d248e2abdaf7e198f818e

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