JuliaImages / DitherPunk.jl

Dithering algorithms in Julia.
MIT License
60 stars 3 forks source link

Remove `colorspace` argument from error diffusion #84

Closed adrhill closed 2 years ago

adrhill commented 2 years ago

Less is more: The error will now be diffused in the colorspace of the image that is to be dithered. To dither in colorspace C, pass an image of colorant type C.

codecov[bot] commented 2 years ago

Codecov Report

Merging #84 (45dd368) into master (097fcee) will decrease coverage by 1.12%. The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   98.87%   97.74%   -1.13%     
==========================================
  Files          13       13              
  Lines         266      266              
==========================================
- Hits          263      260       -3     
- Misses          3        6       +3     
Impacted Files Coverage Δ
src/error_diffusion.jl 96.20% <91.66%> (-3.80%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 097fcee...45dd368. Read the comment docs.