Closed adrhill closed 3 years ago
Currently the tests only fail on color error diffusion algorithms due to small rounding errors compared to the reference tests: https://github.com/JuliaImages/DitherPunk.jl/pull/16/checks?check_run_id=2813126426#step:7:404
Closes #15 by supporting in-place updates.
Changes:
dither_api.jl
dither!
and custom output typesto_linear
which callsColors.invert_srgb_compand
is now abstracted out of dithering algorithmsClosestColor
, which rounds each pixel to closest color in palette