ROS image to PNG but as an object in the program, not to disk.
Hello!
I am subscribing to a ROS Image topic. I need to take the ROS Image object, convert it to a .png and use it in a REST API client call (so I don't need to save it to disk). How can I transform the ROS Image to png in the program?
Thanks!