docstr: Iterate over all ndimages/frames in the URI
  
  Parameters
  ----------
  mode : {str, None}
      Convert the image to the given mode before returning it. If None,
      the mode will be left unchanged. Possible modes can be found at:
      https://pillow.readthedocs.io/en/stable/handbook/concepts.html#modes
  rotate : {bool}
      If set to ``True`` and the image contains an EXIF orientation tag,
      apply the orientation before returning the ndimage.
  apply_gamma : {bool}
      If ``True`` and the image contains metadata about gamma, apply gamma
      correction to the image.
  writable_output : bool
      If True, ensure that the image is writable before returning it to
      the user. This incurs a full copy of the pixel data if the data
      served by pillow is read-only. Consequentially, setting this flag to
      False improves performance for some images.
docstr_tok: ["Iterate","over","all","ndimages\/frames","in","the","URI","Parameters","--","--","--","--","--","mode",":","{","str",",","None","}","Convert","the","image","to","the","given","mode","before","returning","it",".","If","None",",","the","mode","will","be","left","unchanged",".","Possible","modes","can","be","found","at",":","https",":","\/\/pillow.readthedocs.io\/en\/stable\/handbook\/concepts.html","#","modes","rotate",":","{","bool","}","If","set","to","``","True","``","and","the","image","contains","an","EXIF","orientation","tag",",","apply","the","orientation","before","returning","the","ndimage",".","apply_gamma",":","{","bool","}","If","``","True","``","and","the","image","contains","metadata","about","gamma",",","apply","gamma","correction","to","the","image",".","writable_output",":","bool","If","True",",","ensure","that","the","image","is","writable","before","returning","it","to","the","user",".","This","incurs","a","full","copy","of","the","pixel","data","if","the","data","served","by","pillow","is","read-only",".","Consequentially",",","setting","this","flag","to","False","improves","performance","for","some","images","."]
code: def iter(
      self,
      *,
      mode: str = None,
      rotate: bool = False,
      apply_gamma: bool = False,
      writeable_output: bool = True,
  ) -> Iterator[np.ndarray]:
      """
      Iterate over all ndimages/frames in the URI
  
      Parameters
      ----------
      mode : {str, None}
          Convert the image to the given mode before returning it. If None,
          the mode will be left unchanged. Possible modes can be found at:
          https://pillow.readthedocs.io/en/stable/handbook/concepts.html#modes
      rotate : {bool}
          If set to ``True`` and the image contains an EXIF orientation tag,
          apply the orientation before returning the ndimage.
      apply_gamma : {bool}
          If ``True`` and the image contains metadata about gamma, apply gamma
          correction to the image.
      writable_output : bool
          If True, ensure that the image is writable before returning it to
          the user. This incurs a full copy of the pixel data if the data
          served by pillow is read-only. Consequentially, setting this flag to
          False improves performance for some images.
      """
  
      for im in ImageSequence.Iterator(self._image):
          yield self._apply_transforms(
              im, mode, rotate, apply_gamma, writeable_output
          )
  
imports: import sys
  import warnings
  from io import BytesIO
  from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union, cast
  import numpy
  from PIL import ExifTags, GifImagePlugin, Image, ImageSequence, UnidentifiedImageError
  from PIL import __version__
  from ..core.request import URI_BYTES, InitializationError, IOMode, Request
  from ..core.v3_plugin_api import ImageProperties, PluginV3
  from ..typing import ArrayLike
label_desc: Use image node_id 4 for calling the PillowPlugin obj's underlying member method code with example usage: obj.iter() without return types