Skip to main content

CompressedImage

A compressed image

Panel support

CompressedImage is used in the Image panel.

Schema

fieldtypedescription
timestamptimeTimestamp of image
frame_idstringFrame 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.
databytesCompressed image data
formatstringImage 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:

encodingschema
ROS 1foxglove_msgs/CompressedImage
ROS 2foxglove_msgs/msg/CompressedImage
JSONfoxglove.CompressedImage
Protobuffoxglove.CompressedImage
FlatBuffersfoxglove.CompressedImage
OMG IDLfoxglove::CompressedImage

You must use the schema names specified above for Foxglove to recognize the schema.