Skip to content

GifResourceAnimationReader

class GifResourceAnimationReader
Implements: IResourceAnimationReader
Package: dev.joid.lib.resource.animation.impl · Module: core · Source: GifResourceAnimationReader.java

Reads the frames of a GIF.

A frame delay of 10 ms or less shows for 100 ms, as browsers do; the play count comes from the loop extension of the file, otherwise one play.

ReturnsSignatureSummary
GifResourceAnimationReader()Creates the reader.

ReturnsSignatureSummary
ResourceAnimationread(InputStream stream)Reads every frame of the GIF, composed with its disposal, and its play count.

GifResourceAnimationReader()

Creates the reader.

ResourceAnimation read(InputStream stream)

Reads every frame of the GIF, composed with its disposal, and its play count.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page