code: def draw_image(surface, image, blend=False):
      array = np.frombuffer(image.raw_data, dtype=np.dtype("uint8"))
      array = np.reshape(array, (image.height, image.width, 4))
      array = array[:, :, :3]
      array = array[:, :, ::-1]
      image_surface = pygame.surfarray.make_surface(
          array.swapaxes(0, 1)
      )
      if blend:
          image_surface.set_alpha(100)
      surface.blit(image_surface, (0, 0))
  
file_path: carla/PythonAPI/examples/synchronous_mode.py
imports: import glob
  import os
  import sys
  import carla
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: draw_image(surface, image, blend) without return types