Classes | |
struct | FrameDef |
struct | Metadata |
Public Member Functions | |
bool | open (Common::SeekableReadStream &stream, DisposeAfterUse::Flag=DisposeAfterUse::NO) |
void | close () |
const Metadata & | getMetadata () const |
FrameDef | getSequenceFrame (uint sequenceIndex) const |
Common::SeekableReadStream * | openImageStream (uint imageIndex) const |
Common::SeekableReadStream* Image::AniDecoder::openImageStream | ( | uint | imageIndex | ) | const |
Opens a substream for an image. If the metadata field "isCURFormat" is set, you can pass the stream to IcoCurDecoder to read it. Otherwise, you must determine the format. The stream is valid for as long as the stream used to construct the AniDecoder is valid.
imageIndex | The index of the image in the ANI file. |