ensightservice::ImageReply Struct Reference
Last update: 16.07.2025Public Types | |
| enum | CompressionType { NONE = 0 } |
Public Attributes | |
| int32 | width = 1 |
| int32 | height = 2 |
| CompressionType | compression = 3 |
| bytes | pixels = 4 |
| bool | final = 5 |
Detailed Description
These messages can contain the pixel data for an entire image or some portion of the image. An image frame can be broken up into multiple ImageReply messages. If the client receives an ImageReply message with the final flag set to false, it must continue reading messages, concatenating the pixels data until it receives an ImageReply with the final flag set to true.
Definition at line 343 of file ensight.proto.
Member Enumeration Documentation
◆ CompressionType
the pixel compression, if any
| Enumerator | |
|---|---|
| NONE | The data are in raw-binary uncompressed format. |
Definition at line 348 of file ensight.proto.
Member Data Documentation
◆ compression
| CompressionType ensightservice::ImageReply::compression = 3 |
The compression scheme used for the pixel data payload.
Definition at line 351 of file ensight.proto.
◆ final
| bool ensightservice::ImageReply::final = 5 |
If the ImageStreamRequest chunk is true, this is the final message in an image frame.
Definition at line 353 of file ensight.proto.
◆ height
| int32 ensightservice::ImageReply::height = 2 |
The height of the image in pixels.
Definition at line 345 of file ensight.proto.
◆ pixels
| bytes ensightservice::ImageReply::pixels = 4 |
The pixel data in RGBRGBRGB... form, width*height*3 bytes.
Definition at line 352 of file ensight.proto.
◆ width
| int32 ensightservice::ImageReply::width = 1 |
The width of the image in pixels.
Definition at line 344 of file ensight.proto.
The documentation for this struct was generated from the following file:
- D:/Product-src/ensight/client/rpc_interface/ensight.proto