Image is converted to BGR at the top of doWork. If this conversion does
not result in match the input encoding, the published image will have an
incorrect encoding in the message.
This fixes the incorrect encoding such that published message is always BGR8
Image is converted to BGR at the top of doWork. If this conversion does not result in match the input encoding, the published image will have an incorrect encoding in the message.
This fixes the incorrect encoding such that published message is always BGR8