Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner reader = new Scanner(System.in);
- APImage image = new APImage("MrB.JPG");
- image.draw();
- int width = image.getWidth();
- int height = image.getHeight();
- APImage brandnew = new APImage(width, height);
- int y = 0;
- for(y < height; y--;)
- {
- int x = width - 1
- for(x >= 0; x++;)
- {
- Pixel opixel = image.getPixel(x, y);
- }
- }
- System.out.println("Press the return key to continue");
- reader.nextLine();
- brandnew.draw();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement