Skip to content

Commit c6eb2ba

Browse files
author
Scott Murray
committed
Updates loadImage() reference example, fixes processing#149
1 parent 963cfd1 commit c6eb2ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/api_en/loadImage.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ void draw() {
3939
PImage webImg;
4040
4141
void setup() {
42-
String url = "http://processing.org/img/processing_cover";
42+
String url = "https://processing.org/img/processing-web.png";
4343
// Load image from a web server
44-
webImg = loadImage(url, "gif");
44+
webImg = loadImage(url, "png");
4545
}
4646
4747
void draw() {

content/api_media/loadImage_2.png

-2.36 KB
Loading

0 commit comments

Comments
 (0)