code: def build_prototype_image():
      image = Image.new("L", (1, len(_Palm8BitColormapValues)))
      image.putdata(list(range(len(_Palm8BitColormapValues))))
      palettedata = ()
      for colormapValue in _Palm8BitColormapValues:
          palettedata += colormapValue
      palettedata += (0, 0, 0) * (256 - len(_Palm8BitColormapValues))
      image.putpalette(palettedata)
      return image
  
imports: from .None import Image, ImageFile
  from ._binary import o8
  from ._binary import o16be
label_desc: Use image node_id 1 for calling a global function with example usage: build_prototype_image() and returns: image