예제 #1
0
 /** Test Main. It will explore Splatoon! */
 public static void main(String args[]) {
   // Picture pix = new Picture("snowman.jpg");
   Picture pix = new Picture("splatoon.jpg");
   Picture smallPic = pix.scale(.5, .48);
   smallPic.explore();
   smallPic.write("smallSplatoon.jpg");
 }
예제 #2
0
 /** Test Main. It will explore the beach */
 public static void main(String args[]) {
   Picture pix = new Picture("connor.jpg");
   Picture smallP = pix.scale(0.1, 0.1);
   smallP.write("smallPictures.jpg");
   pix.explore();
 }