PImage bg,alfred; PGraphics pg2; void setup() { bg = loadImage("slide1_large.jpg"); alfred = loadImage("alfred.png"); size(599,629, P3D); background(bg); } PGraphics getBuffer(PImage img){ PGraphics pg1= createGraphics(300,300, P3D); pg1.beginDraw(); pg1.background(50,50,10,5); pg1.image(img,0,0); pg1.endDraw(); return pg1; } void draw(){ pg2=getBuffer(alfred); image(pg2,0,0); // Buffered Image image(alfred,300,0); // Image blit directly to screen }