public interface ScriptImageStorage
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
int |
getLastImageBitDepth()
Gets bit depth of last image.
|
int |
getLastImageBytesPerPixel()
Returns how many bytes correspond to one pixel.
|
java.lang.String |
getLastImageCoding()
Returns a string describing the data type to which the result of getLastImagePixels() has to
be converted.
|
int |
getLastImageHeight()
Gets the heigt of the last image.
|
java.lang.Object |
getLastImagePixels()
Returns the pixels of the last image made.
|
int |
getLastImageWidth()
Gets the width of the last image.
|
java.lang.Object |
getNewImagePixels(int timeout)
Waits for new image data to arrive and returns the pixels of the newly arrived image.
|
java.lang.Object getLastImagePixels() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.Object getNewImagePixels(int timeout) throws java.rmi.RemoteException
timeout
- Maximal time in ms to wait.java.rmi.RemoteException
int getLastImageWidth() throws java.rmi.RemoteException
java.rmi.RemoteException
int getLastImageHeight() throws java.rmi.RemoteException
java.rmi.RemoteException
int getLastImageBitDepth() throws java.rmi.RemoteException
java.rmi.RemoteException
int getLastImageBytesPerPixel() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getLastImageCoding() throws java.rmi.RemoteException
java.rmi.RemoteException