|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.util.BufferToImage
This is a utility class to convert a video Buffer
object to
an AWT Image
object that you can then render using AWT methods.
You can use this class in conjunction with the
FrameGrabbingControl
to grab frames from the video renderer
and manipulate the image.
FrameGrabbingControl
Constructor Summary | |
BufferToImage(VideoFormat format)
Instantiates a Buffer to Image conversion object for the specified format. |
Method Summary | |
java.awt.Image |
createImage(Buffer buffer)
Converts the input buffer to a standard AWT image and returns the image. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BufferToImage(VideoFormat format)
createImage
method expects input buffers to have the
format that is specified here.format
- the format of incoming Buffer
objects.Method Detail |
public java.awt.Image createImage(Buffer buffer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |