code: def readPixels(x, y, width, height, format, type):
      # --- es
      # GL_ALPHA, GL_RGB, GL_RGBA
      t = {6406: 1, 6407: 3, 6408: 4}[format]
      # --- gl mock
      # GL_ALPHA, GL_RGB, GL_RGBA, GL_DEPTH_COMPONENT
      t = {6406: 1, 6407: 3, 6408: 4, 6402: 1}[format]
      # --- gl es mock
      # GL_UNSIGNED_BYTE, GL_FLOAT
      nb = {5121: 1, 5126: 4}[type]
      size = int(width * height * t * nb)
      # --- gl es
      pixels = ctypes.create_string_buffer(size)
      ()
      return pixels[:]
      # --- mock
      return size * b"\x00"
  
imports: import ctypes
label_desc: Use image node_id 11 for calling a global function with example usage: readPixels(x, y, width, height, format, type) and returns: pixels, unknown