DocumentImage.toRawBuffer Method¶
Module: DocumentImage
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 Document 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 Document 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 Document Library execution.
public void toRawBuffer(PixelFormat pixelFormat, ImageBuffer buffer) throws DocumentException
Parameters
pixelFormat
PixelFormatin The pixel format.buffer
ImageBufferin Buffer that receives the raw image data.
Exceptions
An error has occurred during Document 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 Document Library execution.
int id3DocumentImage_ToRawBuffer (
ID3_DOCUMENT_IMAGE hDocumentImage,
id3DocumentPixelFormat ePixelFormat,
ID3_DOCUMENT_IMAGE_BUFFER hBuffer)
Parameters
hDocumentImage
ID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.ePixelFormat
id3DocumentPixelFormatin The pixel format.hBuffer
ID3_DOCUMENT_IMAGE_BUFFERin Buffer that receives the raw image data.
Returns