You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a 16bit PNG image is compressed via toCompressedImageMsg the resulting data is not in 16bit format anymore. This can be easily verified by decoding the raw data back to a cv Image:
When a 16bit PNG image is compressed via
toCompressedImageMsg
the resulting data is not in 16bit format anymore. This can be easily verified by decoding the raw data back to a cv Image:This will get me something like:
The datatype do not match anymore and the original 16 bit value cannot be represented anymore.
A workaround is to manually compress the image:
The text was updated successfully, but these errors were encountered: