Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
davidbsp opened this issue May 14, 2019 · 1 comment
Open

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

davidbsp opened this issue May 14, 2019 · 1 comment

Comments

@davidbsp
Copy link

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?

@davidbsp davidbsp changed the title Converting to a four 8bit components for color display (RGBA) Converting to a four 8bit component for color display (RGBA) May 14, 2019
@unaaimendi
Copy link

Hi,
We are facing the same problem, did you find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants