JuliaImages / DitherPunk.jl

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

Revert default metric to `DE_2000` #92

Closed adrhill closed 2 years ago

adrhill commented 2 years ago

Reverts #87. This is slower, but the output is of much higher quality:

white = RGB{Float32}(1, 1, 1)
yellow = RGB{Float32}(1, 1, 0)
green = RGB{Float32}(0, 0.5, 0)
orange = RGB{Float32}(1, 0.5, 0)
red = RGB{Float32}(1, 0, 0)
blue = RGB{Float32}(0, 0, 1)

rubiks_colors = [white, yellow, green, orange, red, blue]
codecov[bot] commented 2 years ago

Codecov Report

Merging #92 (c72ec83) into master (09d158d) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   97.95%   97.95%           
=======================================
  Files          12       12           
  Lines         293      293           
=======================================
  Hits          287      287           
  Misses          6        6           
Impacted Files Coverage Δ
src/api/color.jl 90.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.