code: def test_str_to_img():
      assert_image_equal_tofile(A, "Tests/images/morph_a.png")
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageMorph, _imagingmorph
  from .helper import assert_image_equal_tofile, hopper
label_desc: Use image node_id 5 for calling a global function with example usage: test_str_to_img() without return types