/** * PhotoLabTester.java * * @author Dave Musicant * @author Jeff Ondich * @author Amy Csizmar Dalal * * This class provides a test of your PhotoLab class. * Modify it as you see fit. */ import java.io.*; import java.awt.*; public class PhotoLabTester { public static void main( String[] args ) throws IOException { EzImage imageOriginal = new EzImage( "background3.jpg" ); imageOriginal.show( "Original" ); PhotoLab photoLab = new PhotoLab( imageOriginal ); photoLab.onlyRed(); EzImage imageNew = photoLab.getNewImage(); imageNew.show( "Only red" , 0, 300); photoLab.negate(); imageNew = photoLab.getNewImage(); imageNew.show( "Negative" , 0, 500); } }