class_docstr: Wrapper for the multipage FI bitmap object.
class_docstr_tok: ["Wrapper","for","the","multipage","FI","bitmap","object","."]
docstr: Return the sub-bitmap for the given page index.
  Please close the returned bitmap when done.
code: def get_page(self, index):
      """Return the sub-bitmap for the given page index.
      Please close the returned bitmap when done.
      """
      with self._fi as lib:
          # Create low-level bitmap in freeimage
          bitmap = lib.FreeImage_LockPage(self._bitmap, index)
          bitmap = ctypes.c_void_p(bitmap)
          if not bitmap:  # pragma: no cover
              raise ValueError(
                  "Could not open sub-image %i in %r: %s"
                  % (
                      index,
                      self._filename,
                      self._fi._get_error_message(),
                  )
              )
  
          # Get bitmap object to wrap this bitmap
          bm = FIBitmap(
              self._fi, self._filename, self._ftype, self._flags
          )
          bm._set_bitmap(
              bitmap,
              (lib.FreeImage_UnlockPage, self._bitmap, bitmap, False),
          )
          return bm
  
imports: import os
  import sys
  import ctypes
  import threading
  import logging
  import numpy
  from ..core import get_remote_file, load_lib, Dict, resource_dirs, IS_PYPY, get_platform, InternetNotAllowedError, NeedDownloadError
label_desc: Use image node_id 4 for calling the FIMultipageBitmap obj's underlying member method code with example usage: obj.get_page(index) and returns: bm