diths

Getting started

Quickstart

Five commands, from finding a look to making art with no input image.

See everything

$ dith capabilities

One JSON manifest of every command, algorithm, preset, palette, generator and flag.

Inspect a photo

$ dith inspect photo.png --json

Suggests looks for this image, each with the command that makes it.

Compare looks

$ dith compare photo.png -o sheet.png \
    --presets mac-classic,editorial-print,risograph,film-stipple --json

Apply a preset

$ dith apply photo.png -o hero.png \
    --preset editorial-print --colors "#111111,#f5efe6,#d93829" \
    --max-dim 1200 --sharpen 0.4 --emit-recipe --json

Any flag overrides the preset. --emit-recipe records the settings so the look can be replayed.

Generate from nothing

$ dith generate sphere -o orb.svg \
    --preset risograph --canvas-width 160 --canvas-height 160 \
    --svg-shape circle --svg-skip-bg --json