public static interface WebcamDevice.BufferAccess
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getImageBytes()
Read the underlying image memory buffer.
|
void |
getImageBytes(java.nio.ByteBuffer target)
Copy the underlying image memory into the target buffer passed as the
argument.The remaining capacity of the target buffer needs to be at
least image width * height * 3 bytes.
|
java.nio.ByteBuffer getImageBytes()
void getImageBytes(java.nio.ByteBuffer target)
target
- the buffer to which image data should be copiedCopyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.