コード例 #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("seagull.jpg");
   pix.explore();
 }
コード例 #3
0
 /** Test Main. It will explore the beach */
 public static void main(String args[]) {
   Picture pix = new Picture("Bknight.jpg");
   pix.explore();
 }
コード例 #4
0
 /** Test Main. It will explore the beach */
 public static void main(String args[]) {
   Picture pix = new Picture("Russet_Potato.jpg");
   pix.explore();
 }
 /** Test Main. It will explore the beach */
 public static void main(String args[]) {
   Picture pix = new Picture("D://Documents/ApComputers/pixLab/images/beach.jpg");
   pix.explore();
 }
コード例 #6
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();
 }