mirror of
https://github.com/davpapp/PowerMiner
synced 2024-12-22 07:58:48 -05:00
Found perfect parameters for cropping inventorySlots
This commit is contained in:
parent
732c9e9aca
commit
46248edc8e
Binary file not shown.
Binary file not shown.
@ -6,10 +6,14 @@ import java.io.IOException;
|
||||
|
||||
public class Inventory {
|
||||
|
||||
public static final int INVENTORY_OFFSET_WIDTH = 649; //top left corner of inventory, fromm top left corner of screen
|
||||
public static final int INVENTORY_OFFSET_HEIGHT = 286;
|
||||
/*x0 = 655;
|
||||
x1 = 697;
|
||||
x2 = 738;
|
||||
x3 = 781;*/
|
||||
public static final int INVENTORY_OFFSET_WIDTH = 655; //top left corner of inventory, fromm top left corner of screen
|
||||
public static final int INVENTORY_OFFSET_HEIGHT = 290;
|
||||
public static final int INVENTORY_WIDTH = 820 - 649;// 820
|
||||
public static final int INVENTORY_HEIGHT = 530 - 286; // 530
|
||||
public static final int INVENTORY_HEIGHT = 350; // 530
|
||||
|
||||
Robot robot;
|
||||
Rectangle inventoryAreaToCapture;
|
||||
|
@ -9,7 +9,7 @@ import javax.imageio.ImageIO;
|
||||
public class InventorySlot {
|
||||
|
||||
private static final int INVENTORY_WIDTH = 171;
|
||||
private static final int INVENTORY_HEIGHT = 244;
|
||||
private static final int INVENTORY_HEIGHT = 254;
|
||||
|
||||
String screenshotOutputDirectory;
|
||||
Item itemInInventorySlot;
|
||||
|
Loading…
Reference in New Issue
Block a user