# imageio.plugins.pillow.PillowPlugin.iter

PillowPlugin.iter(*, mode: str = None, rotate: bool = False, apply_gamma: bool = False, writeable_output: bool = True) → Iterator[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.

previous

imageio.plugins.pillow.PillowPlugin.write

next

imageio.plugins.pillow.PillowPlugin.get_meta