code: def make_linear_lut(black, white):
      lut = []
      if black == 0:
          for i in range(256):
              lut.append(white * i // 255)
      else:
          raise NotImplementedError  # FIXME
      return lut
  
file_path: pillow-simd/src/PIL/ImagePalette.py
imports: import array
  import warnings
  from .None import GimpGradientFile, GimpPaletteFile, ImageColor, PaletteFile
label_desc: Use image node_id 2 for calling a global function with example usage: make_linear_lut(black, white) and returns: lut