Bug 733 : Small error in loadImage() reference
Last modified: 2008-03-28 20:48




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

 

Reporter:
keet
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2008-02-18 19:18
Just a small error in the loadImage() reference page[ online and 0135 linux
docs], a PImage called 'online' is declared, but an image 'b' is called in
the draw() function.

[Also the String url link seems to be dead.]


PImage online;

void setup() {
String url = "http://mt0.google.com/mt?n=404&v=w2.61&x=9913&y=12119&zoom=2";
online = loadImage(url, "png");
noLoop();
}

void draw() {
image(b, 0, 0);
}
Additional Comment #1 From REAS 2008-03-28 19:48
Thank you. It's fixed now.