Bug 1282 : ARGB vs. RGB in PImage#getImage
Last modified: 2009-06-25 14:01




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

 

Reporter:
Christian Langreiter
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-06-21 16:38
In PImage#getImage:

int type = (format == RGB) ?
BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB;

Shouldn't that be the other way round?
Additional Comment #1 From fry 2009-06-25 14:01
yep, thanks for the find. now fixed for whatever release follows 1.0.5.