Updated cropped image location.

master
sigonasr2 4 years ago
parent 80f9ddb78c
commit 7397ddf622
  1. 2
      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;
}

Loading…
Cancel
Save