code: def test_images_with_transparency(test_images):
      # Not alpha channel, but transparent pixels, see issue #245 and #246
  
      fname = test_images / "imageio_issue245.gif"
      im = imageio.imread(fname, format="GIF-PIL")
      assert im.shape == (24, 30, 4)
  
      fname = test_images / "imageio_issue246.png"
      im = imageio.imread(fname, format="PNG-PIL")
      assert im.shape == (24, 30, 4)
  
imports: import os
  import sys
  import io
  from zipfile import ZipFile
  import numpy
  import pytest
  import imageio
  from imageio import core
  from conftest import deprecated_test
label_desc: Use image node_id 12 for calling a global function with example usage: test_images_with_transparency(test_images) without return types