SaveImageToBuffer
Saves an image to a file stored in ByteBuffer.
Applications:Use this filter if you want to send image file through I/O communication, e.g. through a TcpIp connection.
Syntax
C++
Python
def SaveImageToBuffer( inImage: Image, outBuffer: ByteBuffer, /, *, inImageFileFormat: ImageFileFormat = ImageFileFormat.BMP ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | An image to be saved | |
![]() |
inImageFileFormat | ImageFileFormat | ImageFileFormat.BMP | Image file format |
![]() |
outBuffer | ByteBuffer | Buffer containing image file data |


