net.sourceforge.plantuml.mjpeg
Class MJPEGGenerator
java.lang.Object
net.sourceforge.plantuml.mjpeg.MJPEGGenerator
public class MJPEGGenerator
- extends Object
- Author:
- monceaux
Constructor Summary |
MJPEGGenerator(File aviFile,
int width,
int height,
double framerate,
int numFrames)
Creates a new instance of MJPEGGenerator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MJPEGGenerator
public MJPEGGenerator(File aviFile,
int width,
int height,
double framerate,
int numFrames)
throws IOException
- Creates a new instance of MJPEGGenerator
- Throws:
IOException
addImage
public void addImage(Image image)
throws IOException
- Throws:
IOException
finishAVI
public void finishAVI()
throws IOException
- Throws:
IOException
swapInt
public static int swapInt(int v)
swapShort
public static short swapShort(short v)
intBytes
public static byte[] intBytes(int i)
shortBytes
public static byte[] shortBytes(short i)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.