org.monte.media.anim
Class ANIMReader
java.lang.Object
org.monte.media.anim.ANIMReader
- Direct Known Subclasses:
- ANIMDemultiplexer
public class ANIMReader
- extends java.lang.Object
SEQReader.
- Version:
- 1.0 2011-02-19 Created.
- Author:
- Werner Randelshofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANIMReader
public ANIMReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getFrameCount
public int getFrameCount()
getTimeBase
public int getTimeBase()
createCompatibleBitmap
public BitmapImage createCompatibleBitmap()
readFrame
public void readFrame(int index,
BitmapImage image)
- Reads a frame into the supplied image.
getDuration
public int getDuration(int index)
- Reads the duration of the specified frame.
getJiffies
public int getJiffies()