Image.toRawBuffer Method¶
Module: Image
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 Face 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 Face 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 Face Library execution.
public void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer) throws FaceException
Parameters
pixelFormatPixelFormatin The pixel format.bufferImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Face Library execution.
public func toRawBuffer(pixelFormat: PixelFormat, buffer: ImageBuffer) throws
Parameters
pixelFormatPixelFormatin The pixel format.bufferImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_ToRawBuffer (
ID3_FACE_IMAGE hImage,
id3FacePixelFormat ePixelFormat,
ID3_FACE_IMAGE_BUFFER hBuffer)
Parameters
hImageID3_FACE_IMAGEin Handle to the Image object.ePixelFormatid3FacePixelFormatin The pixel format.hBufferID3_FACE_IMAGE_BUFFERin Buffer that receives the raw image data.
Returns