Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
default to encoding in the image message (#921)
My camera is publishing rgb8 encoding - the existing code throws an error that 8UC3 is not a valid encoding, but if we pass rgb8 from the message then things work fine. The encoding in the image should always be more descriptive than just the bit and channel size. If encoding is not filled in, the existing behavior is used as a fallback
- Loading branch information