code: def test_quantized_gif(test_images, tmp_path):
      original = iio.imread(test_images / "newtonscradle.gif")
  
      iio.imwrite(
          tmp_path / "quantized.gif", original, plugin="pillow", bits=4
      )
      quantized = iio.imread(tmp_path / "quantized.gif")
  
      for original_frame, quantized_frame in zip(original, quantized):
          assert len(np.unique(quantized_frame)) <= len(
              np.unique(original_frame)
          )
  
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 32 for calling a global function with example usage: test_quantized_gif(test_images, tmp_path) without return types