code: def test_delete_image():
      doc = fitz.open(
          os.path.abspath(
              f"{__file__}/../../tests/resources/test_delete_image.pdf"
          )
      )
      page = doc[0]
      xref = page.get_images()[0][0]
      page.delete_image(xref)
  
imports: import os
  import fitz
label_desc: Use image node_id 3 for calling a global function with example usage: test_delete_image() without return types