Bug 350 : GIF (and PNG and any others) transparency does not work with tint() in 115, worked previously
Last modified: 2006-09-17 12:03




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
REAS
Assigned To:
fry

Attachment Type Created Size Actions
Demonstrates GIF transparency not working with tint() application/zip 2006-05-15 18:45 1.08 KB

Description:   Opened: 2006-05-15 18:44
Additional Comment #1 From REAS 2006-05-15 18:45
edit]
Demonstrates GIF transparency not working with tint()
Additional Comment #2 From fry 2006-05-16 07:37
fixed for 0116, the new image loading methods weren't checking
transparency.. i had made a note to myself in the code to finish that
before the release but didn't do it..

and the fact that it was working without tint() being used is a bug.
Additional Comment #3 From fry 2006-05-17 03:33
*** Bug 352 has been marked as a duplicate of this bug. ***
Additional Comment #4 From fry 2006-05-17 03:42
workaround until 0116:

void checkAlpha(PImage image) {
for (int i = 0; i < image.pixels.length; i++) {
if ((image.pixels[i] & 0xff000000) != 0xff000000) {
image.format = ARGB;
break;
}
}
}
Additional Comment #5 From fry 2006-05-22 04:39
*** Bug 358 has been marked as a duplicate of this bug. ***
Additional Comment #6 From fry 2006-07-25 13:03
*** Bug 377 has been marked as a duplicate of this bug. ***
Additional Comment #7 From fry 2006-09-17 12:03
*** Bug 394 has been marked as a duplicate of this bug. ***