Repository navigation
v0.3.0
What's new
- Much smaller animated GIFs: frames are now delta-encoded, so each frame after the first stores only what changed. Animations with static areas shrink dramatically (an 800×600, 36-frame blue-noise sphere went from 2.3 MB to 250 KB); GIFs where every pixel changes stay about the same size.
dith animate --max-size 2MB: set a file-size budget (500KB,1.5MiB, or bytes). dith shrinks the frame dimensions, keeping frame count and fps, until the output fits, and reportssize_fit_scalein the JSON.- Motion is documented:
dith list generators --jsonnow has amotionfield describing what each pattern does when animated. - Temporal stability is documented:
dith list algorithms --jsonnow hastemporally_stable. With--temporal locked, ordered screens, blue-noise, ign, and random keep static pixels identical; error-diffusion algorithms still shimmer around moving content. - Cleaner procedural highlights: the sphere's highlight now rolls off smoothly instead of clipping into a flat white patch.
- Skill docs updated for all of the above.
Behavior change
With --preset, procedural sources (generate, animate <pattern>, compare --pattern, preview --pattern) now skip the preset's photo preparation (auto-levels, contrast, sharpen), which clipped clean gradients. Pass those flags explicitly to get the old behavior. Output for these commands differs from v0.2.0.
Install / update
curl -fsSL https://raw.githubusercontent.com/lassejlv/dith/main/install.sh | bash
# or
dith update