How to convert CompressedImage to Image?
I would like to convert CompressedImage to Image.
rosrun image_transport republish raw in:=/image_raw compressed out:=/image_raw_converted
Then, I could got image_raw_converted which is CompressedImage and 1/10 data size. I would like to use image_raw_converted as Image. So,
rosrun image_transport republish compressed in:=/image_raw_converted raw out:=/image_raw_converted2
However, the data size increases by 10 times.
Is there any way to convert CompressedImage to Image and also decrease the data size?