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
IOExceptionpublic void addImage(Image image) throws IOException
IOExceptionpublic void finishAVI()
throws IOException
IOExceptionpublic static int swapInt(int v)
public static short swapShort(short v)
public static byte[] intBytes(int i)
public static byte[] shortBytes(short i)
Copyright © 2017. All rights reserved.