-
Notifications
You must be signed in to change notification settings - Fork 22
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
Alpha channel 255 all the time #7
Comments
Hi there, sorry you're encountering an issue. I tried running the same code and I get 0 transparency on each white pixel. Perhaps try attaching the image inside a ZIP file in case GitHub does something weird to the uploaded image that means it works for me. My output from your code with the attached image is:
|
I actually ignored the problem and started using BLACK as transparent. I investigated a bit, when removing alpha in GIMP there happened to be purple color inside "alpha pixels". |
This may be the same issue as #8 (or it might not!) |
I've got these door and while reading pixel by pixel alpha component is 255 on each one.
I've tried saving this PNG in GIMP without background color, but it doesn't help.
Using Visual Studio 2019 Community + BigGustave v1.0.3 from NuGet
Code snippet:
The text was updated successfully, but these errors were encountered: