From 7397ddf62208641b5694f6d2e07dec9fe7e87fe9 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 28 Sep 2020 14:40:19 +0900 Subject: [PATCH] Updated cropped image location. --- DivaBotGuardian/src/sig/Guardian.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DivaBotGuardian/src/sig/Guardian.java b/DivaBotGuardian/src/sig/Guardian.java index 9e551ec..3a3d72a 100644 --- a/DivaBotGuardian/src/sig/Guardian.java +++ b/DivaBotGuardian/src/sig/Guardian.java @@ -109,7 +109,7 @@ public class Guardian { UPPERLEFTCORNER=new Point(crop2.x,crop1.y); LOWERRIGHTCORNER=new Point(crop1.x,crop2.y); img = img.getSubimage(crop2.x, crop1.y, crop1.x-crop2.x, crop2.y-crop1.y); - ImageIO.write(img,"png",new File("/var/www/html/divar/cropped/cropped"+USERID+".png")); + ImageIO.write(img,"png",new File("./www/cropped/cropped"+USERID+".png")); //System.out.println("Future Tone? "+MyRobot.FUTURETONE); return img; }