Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
eggplant1337
eggplant1337's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
How to use images?
[2 Replies]
18-May-2011 03:25 PM
Forum:
Android Processing
These is an excerpt from an Android program I am working on. I have an image called "menubar.png" in a folder called "data" in the same directory as the .pde file. It keeps on giving me an error saying it couldn't find the image.
PImage menu;
int menupos = 320;
int menumove = 0;
void setup()
{
size(480,320);
background(255,255,255);
orientation(LANDSCAPE);
menu = loadImage("data/menubar.png");
}
Thanks!
«Prev
Next »
Moderate user : eggplant1337
Forum