AnimatedImage

Extension of standard Image that handles animation

Description: AnimatedImage can store more than one frame of pixel data. Current frame can be switched with currentFrame property. All usual image operations work on current frame, so you can use this class with any existing dlib.image functionality: save to file, apply filters, etc.

Constructors

this
this(uint w, uint h, uint frames)
Undocumented in source.

Members

Functions

advanceFrame
uint advanceFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
allocateData
void allocateData()
Undocumented in source. Be warned that the author may not have intended to support it.
createSameFormat
SuperImage createSameFormat(uint w, uint h)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

currentFrame
uint currentFrame [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
currentFrame
uint currentFrame [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
data
ubyte[] data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dup
SuperImage dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
frameSize
size_t frameSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
numFrames
uint numFrames [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_currentFrame
uint _currentFrame;
Undocumented in source.
_frameSize
size_t _frameSize;
Undocumented in source.
_numFrames
uint _numFrames;
Undocumented in source.

Inherited Members

From SuperAnimatedImage

frameSize
size_t frameSize [@property getter]
Undocumented in source.
numFrames
uint numFrames [@property getter]
Undocumented in source.
currentFrame
uint currentFrame [@property getter]
Undocumented in source.
currentFrame
uint currentFrame [@property setter]
Undocumented in source.
advanceFrame
uint advanceFrame()
Undocumented in source.

Meta