Closed galou closed 5 months ago
In getConversionCode, there a some suspicious addition of || enc::isMono(src_encoding) in the code to determine if the source encoding (is_src_color_format) is a color one. Same for is_dst_color_format.
getConversionCode
|| enc::isMono(src_encoding)
is_src_color_format
is_dst_color_format
I can write a PR.
Cf. https://github.com/ros-perception/vision_opencv/issues/431
In
getConversionCode
, there a some suspicious addition of|| enc::isMono(src_encoding)
in the code to determine if the source encoding (is_src_color_format
) is a color one. Same foris_dst_color_format
.I can write a PR.