Foxglove

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: 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

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