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_format
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Face 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 Face 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 Face Library execution.
public void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer) throws FaceException
Parameters
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin 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
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin 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
hImage
ID3_FACE_IMAGEin Handle to the Image object.ePixelFormat
id3FacePixelFormatin The pixel format.hBuffer
ID3_FACE_IMAGE_BUFFERin Buffer that receives the raw image data.
Returns