code: def test_8bit_with_16bit_depth():
      rng = np.random.default_rng()
  
      img16 = rng.integers(2**0, 2**8, (128, 128), dtype=np.uint16)
      img16_bytes = iio.imwrite(
          "<bytes>", img16, extension=".png", plugin="pillow"
      )
      img16_read = iio.imread(img16_bytes)
  
      assert img16_read.dtype != np.uint8
      assert np.allclose(img16_read, img16)
  
imports: import io
  import os
  from pathlib import Path
  import imageio.v3
  import numpy
  import pytest
  from imageio.core.request import InitializationError, Request
  from imageio.core.v3_plugin_api import PluginV3
  from imageio.plugins.pillow import PillowPlugin
  from PIL import Image, ImageSequence, ImageOps, __version__
label_desc: Use image node_id 38 for calling a global function with example usage: test_8bit_with_16bit_depth() without return types