-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Format32bppRgb is acutally Format32bppRgba on Gtk #1458
Milestone
Comments
Hey @nrother, thanks for reporting the issue. Have you tried Eto 2.5? |
Yes, this is the same in 2.5.0-rc.4 |
Thanks for checking, @nrother. |
Fix is incoming. Note that Gtk/Cairo doesn't actually support 32bpp while ignoring alpha, so Eto now updates the alpha when necessary so that it shows it correctly. Using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
A Bitmap created with
PixelFormat.Format32bppRgb
and filled with0x00FFFFFF
should be all-white.Actual Behavior
The Bitmap is completely transparent when shown in an
ImageView
on Gtk3. The documentation states32-bits (4 bytes) per pixel, ordered by an Empty byte in the highest order, followed by Red, Green, and Blue.
, but actually the highest order byte is the alpha byte and not ignored.Steps to Reproduce the Problem
see code
Code that Demonstrates the Problem
Specifications
The text was updated successfully, but these errors were encountered: