User Tools

Site Tools


cs276:basicmodeimage
/**
 * Loading Images. 
 * 
 * Loading a recent image from the US National Weather Service. 
 * Notice the date in the upper left corner of the image. 
 * Processing applications can only load images from the network
 * while running in the Processing environment. This example will 
 * not run in a web broswer and will only work when the computer
 * is connected to the Internet. 
 * 
 * Created 21 June 2003
 */
  
PImage img1;

img1 = loadImage("http://www.hpc.ncep.noaa.gov/noaa/noaa.gif");
println(img1+" "+img1.height+" "+img1.width);
size(img1.width, img1.height);
image(img1, 0, 0);
cs276/basicmodeimage.txt · Last modified: 2008/09/08 16:22 by scarl