Parameters: |
- filename (str) – Used to guess the animation format, and to load the file if file
is unspecified.
- file (file-like object or None) – File object containing the animation stream.
- decoder (ImageDecoder or None) – If unspecified, all decoders that are registered for the filename
extension are tried. If none succeed, the exception from the
first decoder is raised.
|