tutorials: Add ROS encoding to image publisher