k-kawa / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

8-bit PNG animation not transparent #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a sprite animation using indexed colour mode with transparent 
background
2. Save the sprite animation as PNG files
3. View the individual output files

What is the expected output? What do you see instead?
I expected to see the animation frames with transparent background. Instead, I 
see the frames with an opaque (black) background.

What version of the product are you using? On what operating system?
Using version 0.9, under Ubuntu Linux 10.04

Please provide any additional information below.

Original issue reported on code.google.com by pprid...@gmail.com on 3 Jan 2011 at 3:10

GoogleCodeExporter commented 8 years ago

Original comment by davidcapello on 5 Jan 2011 at 3:00

GoogleCodeExporter commented 8 years ago
Thanks ppridham for the bug report!

Fixed with commit 6a216ad6a872ca3d4c3fef78bd41e33770507abf
http://github.com/dacap/aseprite/commit/6a216ad6a872ca3d4c3fef78bd41e33770507abf

Details:

Saving process: Now transparent indexed sprites are saved as 8-bit PNG with the 
first palette entry as transparent.

Loading process: This bug is fixed only for 8-bit PNG files which contain the 
first palette entry (index=0) as the transparent color (they could contain 
other entries as transparent, but the index=0 must be transparent color).

Original comment by davidcapello on 5 Jan 2011 at 3:30

GoogleCodeExporter commented 8 years ago

Original comment by davidcapello on 3 Mar 2011 at 2:36