Remove clamping from priditherpng
@@ -128,9 +128,6 @@ def dither(
row = row[::-1]
targetrow = [0] * width
for i, v in enumerate(row):
- # Clamp. Necessary because previously added errors may take
- # v out of range.
- v = max(0.0, min(v, 1.0))
# `it` will be the index of the chosen target colour;
it = bisect_left(choosecode, v)
t = outcode[it]
