code: def test_apng_save_split_fdat(tmp_path):
      # test to make sure we do not generate sequence errors when writing
      # frames with image data spanning multiple fdAT chunks (in this case
      # both the default image and first animation frame will span multiple
      # data chunks)
      test_file = str(tmp_path / "temp.png")
      with Image.open(
          "Tests/images/old-style-jpeg-compression.png"
      ) as im:
          frames = [
              im.copy(),
              Image.new("RGBA", im.size, (255, 0, 0, 255)),
          ]
          im.save(
              test_file,
              save_all=True,
              default_image=True,
              append_images=frames,
          )
      with Image.open(test_file) as im:
          exception = None
          try:
              im.seek(im.n_frames - 1)
              im.load()
          except Exception as e:
              exception = e
          assert exception is None
  
imports: import pytest
  from PIL import Image, ImageSequence, PngImagePlugin
label_desc: Use image node_id 16 for calling a global function with example usage: test_apng_save_split_fdat(tmp_path) without return types