asList

actual fun asList(): List<ImageFrame>(source)

Returns a List view of all frames in the GIF. The returned list's random access speed depends on the cacheFrameInterval.

The list is backed by this GifDecoder. Closing the decoder invalidates the list. If you need to use the GIF frames after closing the decoder, make a copy of the list. However, be aware that this will use a large amount of memory for large GIFs.

Return

A List view of ImageFrames.

expect fun asList(): List<ImageFrame>(source)

Returns a List view of all frames in the GIF. The returned list's random access speed depends on the cacheFrameInterval.

The list is backed by this GifDecoder. Closing the decoder invalidates the list. If you need to use the GIF frames after closing the decoder, make a copy of the list. However, be aware that this will use a large amount of memory for large GIFs.

Return

A List view of ImageFrames.

actual fun asList(): List<ImageFrame>(source)

Returns a List view of all frames in the GIF. The returned list's random access speed depends on the cacheFrameInterval.

The list is backed by this GifDecoder. Closing the decoder invalidates the list. If you need to use the GIF frames after closing the decoder, make a copy of the list. However, be aware that this will use a large amount of memory for large GIFs.

Return

A List view of ImageFrames.