Skip to content

Instantly share code, notes, and snippets.

View gimulnautti's full-sized avatar

Toni Aittoniemi gimulnautti

  • Futurefly Oy
  • Helsinki
View GitHub Profile
@mieki256
mieki256 / yliluoma_ordered_dither.py
Last active September 23, 2024 07:35
Yliluoma's ordered dithering algorithm 1, 2, 3. Python version.
#!python
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*-
# Last updated: <2022/07/13 01:32:08 +0900>
"""
Yliluoma's ordered dithering algorithm 1, 2, 3 and adobe like
Arbitrary-palette positional dithering algorithm
https://bisqwit.iki.fi/story/howto/dither/jy/
Usage: