From 30b59e1a2025f766410e1116a30a5757cdf1a9a8 Mon Sep 17 00:00:00 2001 From: nh805942 Date: Fri, 11 Oct 2019 13:31:29 +0200 Subject: [PATCH] Update erreur de path absolu --- src/lecturePdf/Recadrage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lecturePdf/Recadrage.java b/src/lecturePdf/Recadrage.java index b0bc14c..1237019 100644 --- a/src/lecturePdf/Recadrage.java +++ b/src/lecturePdf/Recadrage.java @@ -178,9 +178,9 @@ public class Recadrage { img=rotate(img,angle); if (aLEnvers()) this.img=Recadrage.rotate(img, 180); - String nomImage="sortie"; - File nomfichier = new File("C:\\Users\\Xxsafirex\\Desktop\\Image\\" + nomImage + ".jpg");// ou jpg - ImageIO.write(img, "JPG", nomfichier);//ou JPG + //String nomImage="sortie"; + //File nomfichier = new File("C:\\Users\\Xxsafirex\\Desktop\\Image\\" + nomImage + ".jpg");// ou jpg + //ImageIO.write(img, "JPG", nomfichier);//ou JPG } return img;