Complete!

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2 2022-08-15 00:54:09 -05:00
parent e4bb12edb9
commit 5a92eff727
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -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);