CompressedImage
A compressed image
Panel support
CompressedImage is used in the Image panel.
Schema
| field | type | description |
|---|---|---|
timestamp | time | Timestamp of image |
frame_id | string | Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image. |
data | bytes | Compressed image data |
format | string | Image format |
format
Supported values: image media types supported by Chrome, such as webp, jpeg, png
Reference implementations
Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:
| encoding | schema |
|---|---|
| ROS 1 | foxglove_msgs/CompressedImage |
| ROS 2 | foxglove_msgs/msg/CompressedImage |
| JSON | foxglove.CompressedImage |
| Protobuf | foxglove.CompressedImage |
| FlatBuffers | foxglove.CompressedImage |
| OMG IDL | foxglove::CompressedImage |
You must use the schema names specified above for Foxglove to recognize the schema.