I have an industrial camera (DVP interface), and I added some code in the driver to convert the cv image into ros image data. I want to use this camera to test the [fiducials package](http://wiki.ros.org/fiducials). But it needs to subscribe to a `sensor_msgs/CompressedImage` topic, and now the driver can only provide the `sensor_msgs/Image` topic. Is there any way to convert the `sensor_msgs/Image` data into `sensor_msgs/CompressedImage` data?
↧