code: def make_gamma_lut(exp):
      lut = []
      for i in range(256):
          lut.append(int(((i / 255.0) ** exp) * 255.0 + 0.5))
      return lut
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImagePalette.py
imports: import array
  from .None import GimpGradientFile, GimpPaletteFile, ImageColor, PaletteFile
label_desc: Use image node_id 3 for calling a global function with example usage: make_gamma_lut(exp) and returns: lut