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_formatPixelFormatin The pixel format.bufferImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer)
Parameters
pixelFormatPixelFormatin The pixel format.bufferImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Devices Library execution.
public void ToRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer)
Parameters
pixelFormatPixelFormatin The pixel format.bufferImageBufferin 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
pixelFormatPixelFormatin The pixel format.bufferImageBufferin 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
hCaptureImageID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.ePixelFormatid3DevicesPixelFormatin The pixel format.hBufferID3_DEVICES_IMAGE_BUFFERin Buffer that receives the raw image data.
Returns