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

Can not save RGB values when alpha is 0 #21

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Closed

Can not save RGB values when alpha is 0 #21

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

1. Create an image with non-zero RGB values
2. Set alpha in some or all areas to zero (fully transparent)
3. Save DDS (RGBA8 format for example, I'm using a volume texture)

Instead of keeping the RGBA values, RGB is set to 0 (black) where A = 0.

I'm using Gimp 2.6.12 Ubuntu 12 64bit.

Is there a fix or workaround?  This has been driving me bananas.

Original issue reported on code.google.com by [email protected] on 21 Nov 2012 at 9:29

@GoogleCodeExporter
Copy link
Author

This seems to be the same problem illustrated in issue 12.  GIMP seems to 
produce pre-multiplied alpha pixels when fetching the pixels for a region.  I 
am currently looking for a work-around.

Original comment by [email protected] on 28 Nov 2012 at 11:42

  • Changed state: Duplicate

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

No branches or pull requests

1 participant