code: def image(array, domain=None, w=None, format="png", **kwargs):
      """Display an image.
  
      Args:
        array: NumPy array representing the image
        fmt: Image format e.g. png, jpeg
        domain: Domain of pixel values, inferred from min & max values if None
        w: width of output image, scaled using nearest neighbor interpolation.
          size unchanged if None
      """
  
      _display_html(_image_html(array, w=w, domain=domain, fmt=format))
  
file_path: lucid/lucid/misc/io/showing.py
imports: from __future__ import absolute_import, division, print_function
  from io import BytesIO
  import base64
  import logging
  import numpy
  import IPython.display
  from string import Template
  import tensorflow
  from lucid.misc.io.serialize_array import serialize_array, array_to_jsbuffer
  from lucid.misc.io.collapse_channels import collapse_channels
label_desc: Use image node_id 4 for calling a global function with example usage: image(array, domain, w, format) without return types