Remove unused _make_gamma_lut()

This commit is contained in:
hugovk 2014-07-15 18:38:50 +03:00
parent 17223001df
commit 2c3764586a

View File

@ -134,13 +134,6 @@ def _make_linear_lut(black, white):
return lut
def _make_gamma_lut(exp, mode="RGB"):
lut = []
for i in range(256):
lut.append(int(((i / 255.0) ** exp) * 255.0 + 0.5))
return lut
def new(mode, data):
return Image.core.new_palette(mode, data)