Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Publishing compressed images

Hi all,

I have a camera that is giving me JPEG images.

The compressed_image_transport overview says: "When writing a driver for such a camera, a quick and dirty approach is to simply copy the JPEG data into a sensor_msgs/CompressedImage message and publish it on a topic of the form image_raw/compressed."


1- I guess there isn't any way to use image transport and saying the data we are publishing is compressed. Right?

2- If the alternative way is "quick and dirty" what would be the proper way to do this?

Thanks in advance,