Bug 240 : RGBA not supported on PImage?
Last modified: 2005-12-08 13:35




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

 

Reporter:
fjoselevich
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2005-12-06 07:52
This code:
[code]
PImage p;

void setup() {
int [] pixl = new int[640*480];

p = new PImage(pixl, 640, 480, RGBA);
}
[/code]
throws an 'Semantic Error: No field named "RGBA" was found in type' compile
error, but on the reference http://processing.org/reference/PImage.html
says that RGBA is a valid format.
Additional Comment #1 From REAS 2005-12-08 13:13
This changed in the code, but was not updated in the reference. RGBA
becomes ARGB. It's now updated. Thank you for the pointing out the error.

Additional Comment #2 From REAS 2005-12-08 13:35
*** Bug 138 has been marked as a duplicate of this bug. ***