Commit Graph

13 Commits

Author SHA1 Message Date
cmounce 5d5ea914c7 Introduce indexed color with the PICO-8 palette 2024-08-17 22:28:48 -07:00
cmounce e8258a570d Move encoding logic into EncodeTree, encode.rs 2024-08-14 01:35:25 -07:00
cmounce 9cd8cf3989 Normalize quality levels to 0-100 range 2024-08-11 19:21:46 -07:00
cmounce 61d593f901 Implement quadtree color quantization 2024-08-11 00:52:20 -07:00
cmounce 1e837a2159 Get started with Rust image processing 2024-08-10 01:02:17 -07:00
cmounce f4c1775f72 Partially fix k-means and commit an example image 2024-08-08 01:52:31 -07:00
cmounce a0ae310ed3 Experiment: dither with only two colors per blend 2022-10-30 23:47:13 -07:00
cmounce e8315e6fe6 Implement two-tone for 8x8 blocks of an image 2022-10-30 15:57:11 -07:00
cmounce cdfce3a4f8 Miscellaneous cleanup
- Remove old dither code from dither.py
- Commit an old color-distance experiment
2022-06-26 13:18:40 -07:00
cmounce 835cf49be8 Rewrite pattern-dither code
- Artifact reduction: sort colors by luminance
- Use NumPy to speed up dithering
- Allow dither amount to be customized
2022-06-18 20:51:56 -07:00
cmounce e556588f0a Allow different sizes of Bayer matrix 2022-06-18 19:10:23 -07:00
cmounce 04417803cf Dither using linear RGB, not gamma-compressed 2022-06-18 18:34:19 -07:00
cmounce 671f3315bc Initial experiments with dithering 2022-06-16 01:09:59 -07:00