PImage
Hi, I am new to processing and I am having some problems with PImage
for example, when i want to make 5 by 5 with chrome image,
I would code
PImage img;
void setup(){
  size(500, 500);
  img= loadImage("chrome.jpg");
}
//drawing the picture 5 by 5 using 'for'
void draw(){
  for(int x=0; x<= width; x+= 100){
   for (int y=0; y<= height; y+= 100){
    image(img, x, y,  100, 100);
   }
  }
}
.
And I saved "chrome.jpg' in this file, but it doesn't work..
The error sign says 'Prefix string too short'
What i want to know is the way to save the image properly that PImage would work.
Help Please~!! Thank you

 
 
           
 
            