Decode all of the frames from an animation. If the file is not an
animation, a single frame animation is returned. If there was a problem
decoding the file, null is returned.
Decode a single frame from the data that was set with startDecode.
If frame is out of the range of available frames, null is returned.
Non animated image files will only have frame 0. An Image
is returned, which provides the image, and top-left coordinates of the
image, as animated frames may only occupy a subset of the canvas.
Decode a single high dynamic range (HDR) frame from the data that was set
with startDecode. If the format of the file does not support HDR images,
the regular image will be converted to an HDR image as (color / 255).
If frame is out of the range of available frames, null is returned.
Non animated image files will only have frame 0. An Image
is returned, which provides the image, and top-left coordinates of the
image, as animated frames may only occupy a subset of the canvas.
Decode the file and extract a single High Dynamic Range (HDR) image from
it. HDR images are stored in floating-poing values. If the format of the
file does not support HDR images, the regular image will be converted to
an HDR image as (color / 255). If the file is animated, the specified
frame will be decoded. If there was a problem decoding the file, null is
returned.
Decode the file and extract a single image from it. If the file is
animated, the specified frame will be decoded. If there was a problem
decoding the file, null is returned.