Methods:
decode(file, filename) Decode the given file object and return an instance of Image. decode_animation(file, filename) Decode the given file object and return an instance of Animation. get_animation_file_extensions() Return a list of accepted file extensions, e.g. get_file_extensions() Return a list of accepted file extensions, e.g.
Decode the given file object and return an instance of Image. Throws ImageDecodeException if there is an error. filename can be a file type hint.
Decode the given file object and return an instance of Animation. Throws ImageDecodeException if there is an error. filename can be a file type hint.
Return a list of accepted file extensions, e.g. [‘.gif’, ‘.flc’] Lower-case only.
Return a list of accepted file extensions, e.g. [‘.png’, ‘.bmp’] Lower-case only.