topical media & game development
graphic-processing-algorithm-Ch05-p110-p110.pde / pde
PImage myImage; //define a PImage object
myImage = loadImage("memorial.jpg"); //load an image
size(myImage.width, myImage.height); //size the window to the w and h
//or the image
image(myImage, 0, 0); //display the image at 0,0 offset from
//the window’s upper left corner
save("copy of memorial.jpg"); //save the image as a file (copy for now)
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.