CaptureImage.toRawBuffer Method¶
Module: CaptureImage
Definition¶
Copies image pixels in the specified format into a buffer.
to_raw_buffer(self, pixel_format: PixelFormat, buffer: ImageBuffer) -> None
Parameters
pixel_format
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer)
Parameters
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
public void ToRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer)
Parameters
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
public void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer) throws DevicesException
Parameters
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_ToRawBuffer (
ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
id3DevicesPixelFormat ePixelFormat,
ID3_DEVICES_IMAGE_BUFFER hBuffer)
Parameters
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.ePixelFormat
id3DevicesPixelFormatin The pixel format.hBuffer
ID3_DEVICES_IMAGE_BUFFERin Buffer that receives the raw image data.
Returns