code: def ImageOutput(sigma, prefix, Colors):
      from PIL import Image
  
      Max = sigma.max()
      Min = sigma.min()
      # Normalize value as 8bits Integer
      SigmaInt = (255 * (sigma - Min) / (Max - Min)).astype("uint8")
      image = Image.fromarray(SigmaInt)
      image.save("%s.jpg" % prefix)
  
file_path: pyopencl/examples/black-hole-accretion.py
imports: import pyopencl
  import numpy
  import time
  import sys
  import getopt
  from socket import gethostname
label_desc: Use image node_id 3 for calling a global function with example usage: ImageOutput(sigma, prefix, Colors) without return types