Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Can not save RGB values when alpha is 0 #21

Closed
GoogleCodeExporter opened this issue Jan 28, 2016 · 1 comment
Closed

Can not save RGB values when alpha is 0 #21

GoogleCodeExporter opened this issue Jan 28, 2016 · 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 r...@digitaliseducation.com 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 ski...@gmail.com on 28 Nov 2012 at 11:42

  • Changed state: Duplicate

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

No branches or pull requests

1 participant