code: def test_from_file_with_filename(self):
      x = objax.random.randint((3, 32, 24), 0, 256)
      x = objax.util.image.normalize_to_unit_float(x)
      with tempfile.NamedTemporaryFile("wb", suffix=".png") as f:
          f.write(objax.util.image.to_png(x))
          f.flush()
          y = objax.util.image.from_file(f.name)
      self.assertEqual(x.tolist(), y.tolist())
  
file_path: objax/tests/util_image.py
imports: import io
  import tempfile
  import unittest
  from typing import Tuple
  import jax.numpy
  import numpy
  from PIL import Image
  import objax
label_desc: Use image node_id 8 for calling the TestUtilImage obj's underlying member method code with example usage: obj.test_from_file_with_filename() without return types