// Processing v.3 PImage img; img = loadImage("test.png"); size(628, 350); image(img,0,0,img.width, img.height);