public class MJPEGGenerator extends Object
Constructor and Description |
---|
MJPEGGenerator(File aviFile,
int width,
int height,
double framerate,
int numFrames)
Creates a new instance of MJPEGGenerator
|
Modifier and Type | Method and Description |
---|---|
void |
addImage(Image image) |
void |
finishAVI() |
static byte[] |
intBytes(int i) |
static void |
main(String[] args) |
static byte[] |
shortBytes(short i) |
static int |
swapInt(int v) |
static short |
swapShort(short v) |
public MJPEGGenerator(File aviFile, int width, int height, double framerate, int numFrames) throws IOException
IOException
public void addImage(Image image) throws IOException
IOException
public void finishAVI() throws IOException
IOException
public static int swapInt(int v)
public static short swapShort(short v)
public static byte[] intBytes(int i)
public static byte[] shortBytes(short i)
Copyright © 2015. All Rights Reserved.