code: def test_compression(tmp_path):
      img = np.ones((128, 128))
  
      iio.imwrite(tmp_path / "test.tiff", img, compression="zlib")
      page_meta = iio.immeta(tmp_path / "test.tiff", index=0)
      assert page_meta["compression"] == 8
  
      iio.imwrite(tmp_path / "test2.tiff", img)
      page_meta = iio.immeta(tmp_path / "test2.tiff", index=0)
      assert page_meta["compression"] == 1
  
imports: import datetime
  import numpy
  import pytest
  import io
  from copy import deepcopy
  import struct
  import imageio.v3
  from imageio.config import known_plugins, known_extensions
label_desc: Use image node_id 20 for calling a global function with example usage: test_compression(tmp_path) without return types