code: def test_multipage(self):
      # issue #862
      with Image.open("Tests/images/multipage.tiff") as im:
          # file is a multipage tiff: 10x10 green, 10x10 red, 20x20 blue
  
          im.seek(0)
          assert im.size == (10, 10)
          assert im.convert("RGB").getpixel((0, 0)) == (0, 128, 0)
  
          im.seek(1)
          im.load()
          assert im.size == (10, 10)
          assert im.convert("RGB").getpixel((0, 0)) == (255, 0, 0)
  
          im.seek(0)
          im.load()
          assert im.size == (10, 10)
          assert im.convert("RGB").getpixel((0, 0)) == (0, 128, 0)
  
          im.seek(2)
          im.load()
          assert im.size == (20, 20)
          assert im.convert("RGB").getpixel((0, 0)) == (0, 0, 255)
  
imports: import os
  from io import BytesIO
  import pytest
  from PIL import Image, ImageFile, TiffImagePlugin
  from PIL.TiffImagePlugin import RESOLUTION_UNIT, X_RESOLUTION, Y_RESOLUTION
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, assert_image_similar_tofile, hopper, is_pypy, is_win32
label_desc: Use image node_id 26 for calling the TestFileTiff obj's underlying member method code with example usage: obj.test_multipage() without return types