Skip to content

Converting to a four 8bit component for color display (RGBA) #4

@davidbsp

Description

@davidbsp

Hi, it seems that this wrapper does not support Bayer conversion, am I right?
I can only get a grayscale image in my DALSA Nano-C2420.

The C++ code for this conversion in the examples of the GigE-V SDK looks like this:

context.format = Convert_SaperaFormat_To_X11( pixFormat);
context.depth = pixDepth;
context.convertBuffer = malloc((maxWidth * maxHeight * ((pixDepth + 7)/8)));
context.convertFormat = TRUE;

Is there any way to achieve the same (colored image) with this wrapper?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions