|
IBM Toolkit for MPEG-4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MPEG-4 Player Screen Capture interface.
Field Summary | |
static java.lang.String |
FORMAT_BMP
Windows BMP format name |
static java.lang.String |
FORMAT_JPG
JPG format name |
static java.lang.String |
FORMAT_PNG
PNG format name |
Method Summary | |
int |
getHeight()
Gets the height of the screen captured. |
int[] |
getPixels()
Gets the array of pixels captured from the screen - ARGB format. |
int |
getWidth()
Gets the width of the screen captured. |
void |
write(java.io.OutputStream os)
Write the pixels array to the designated output stream in BMP format. |
void |
write(java.lang.String formatName,
java.io.OutputStream os)
Write the pixels array to the designated output stream in the requested format. |
Field Detail |
public static final java.lang.String FORMAT_BMP
public static final java.lang.String FORMAT_JPG
public static final java.lang.String FORMAT_PNG
Method Detail |
public int[] getPixels()
public int getWidth()
public int getHeight()
public void write(java.io.OutputStream os) throws java.io.IOException
os
- The OutputStream to which the BMP formatted image pixels
should be written.
java.io.IOException
public void write(java.lang.String formatName, java.io.OutputStream os) throws java.io.IOException
formatName
- The format name for the format in which the image
pixels should be written, i.e. on of the FORMAT_xxxos
- The OutputStream to which the formatted image pixels
should be written.
java.io.IOException
|
IBM Toolkit for MPEG-4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |