Bug 138 : constant RGBA missing
Last modified: 2005-12-08 13:35




Status:
RESOLVED
Resolution:
DUPLICATE of bug 240
Priority:
P5
Severity:
normal

 

Reporter:
lmg
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2005-09-02 05:33
using a constructor of type PImage(pixels[], width, height, format)
frame = new PImage( framePixels, frameWidth,frameHeight, RGBA );

resulted in following error:
Semantic Error: No accessible field named "RGBA" was found..

found out that RGB was 1 and tried 2 which works fine:
frame = new PImage( framePixels, frameWidth,frameHeight, 2 ); // RGBA = 2


tried on Windows 2000 and Linux 2.4.29
Additional Comment #1 From fry 2005-09-03 03:47
RGBA has become ARGB in beta as noted here:
http://processing.org/faq/changes.html

it's just an error in the documentation:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=WebsiteBugs;action=display;num=1125161637;start=2#2

sorry 'bout that.
Additional Comment #2 From REAS 2005-12-08 13:35


*** This bug has been marked as a duplicate of 240 ***