FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 240 : RGBA not supported on PImage?
Last modified: 2005-12-08 13:35
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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. ***