generated from sigonasr2/JavaProjectTemplate
Complete!
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
e4bb12edb9
commit
5a92eff727
BIN
chatlog.png
BIN
chatlog.png
Binary file not shown.
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 2.1 MiB |
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user