Skip to content

yuv422_yuy2 incorrectly (de)compressed #293

@StefanFabian

Description

@StefanFabian

Hey,
using usb_cam and my webcam, the image is published as yuv422_yuy2.
The compressed topic has the encoding yuv422_yuy2; jpeg compressed mono8 (which sounds like it doesn't really support compressing yuv and compresses the data as mono8).
When I receive this image with image_transport, I get the original encoding but the step size is incorrect.
YUV has a bit depth of 16bits but the step size of the decompressed image is equal to the width of the image not 2 * the width like it should be and the uncompressed image is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions