Call public, non-warning versions internally

This commit is contained in:
hugovk 2014-07-20 21:08:14 +03:00
parent 37691bc1e4
commit 751f672058

View File

@ -182,9 +182,9 @@ def random(mode="RGB"):
def sepia(white="#fff0c0"):
r, g, b = ImageColor.getrgb(white)
r = _make_linear_lut(0, r)
g = _make_linear_lut(0, g)
b = _make_linear_lut(0, b)
r = make_linear_lut(0, r)
g = make_linear_lut(0, g)
b = make_linear_lut(0, b)
return ImagePalette("RGB", r + g + b)