|
|
|
@ -20,7 +20,7 @@ public class JavaProjectTemplate { |
|
|
|
|
|
|
|
|
|
System.out.println("Waiting 5 seconds before starting..."); |
|
|
|
|
|
|
|
|
|
final Rectangle capture = new Rectangle(312,118,1352,889); |
|
|
|
|
final Rectangle capture = new Rectangle(312,118,1352,889-75); |
|
|
|
|
|
|
|
|
|
Thread.sleep(5000); |
|
|
|
|
|
|
|
|
@ -57,6 +57,7 @@ public class JavaProjectTemplate { |
|
|
|
|
r.delay(1000); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//128 pixels from the current image isn't necessary as it's in the next capture.
|
|
|
|
|
BufferedImage finalImg = new BufferedImage(capture.width,capture.height*imgs.size(),BufferedImage.TYPE_INT_ARGB); |
|
|
|
|
for (int i=0;i<imgs.size();i++) { |
|
|
|
|
finalImg.setRGB(0,i*capture.height,capture.width,capture.height,imgs.get(i).getRGB(0,0,capture.width,capture.height,null,0,capture.width),0,capture.width); |
|
|
|
|