Package net.sourceforge.plantuml.mjpeg
Class MJPEGGenerator
- java.lang.Object
-
- net.sourceforge.plantuml.mjpeg.MJPEGGenerator
-
public class MJPEGGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MJPEGGenerator(java.io.File aviFile, int width, int height, double framerate, int numFrames)Creates a new instance of MJPEGGenerator
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImage(java.awt.Image image)voidfinishAVI()static byte[]intBytes(int i)static voidmain(java.lang.String[] args)static byte[]shortBytes(short i)static intswapInt(int v)static shortswapShort(short v)
-
-
-
Method Detail
-
addImage
public void addImage(java.awt.Image image) throws java.io.IOException- Throws:
java.io.IOException
-
finishAVI
public void finishAVI() throws java.io.IOException- Throws:
java.io.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(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-