-
Notifications
You must be signed in to change notification settings - Fork 286
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
Support for BGR image interleaved. #397
Comments
I'd say it should be:
|
Wow... this was fast. Thx
In my limited understanding it first save blue, then green and then red. But I though BMP saves RGB instead? You can find this in |
That is what it does indeed. If it's like this in |
Hi, I have an image buffer with BGR interleaved. It is not clear to me, how to represent this correctly in CImg.
CImg<unsigned char> img = CImg<unsigned char>(buffter,3,W,H).permute_axes("zyxc");
Somewhat does the trick, but the color is still wrong. Can you tell me, what I'm doing wrong?Best.
The text was updated successfully, but these errors were encountered: