Edit PDFTest.java

This commit is contained in:
LucasV-IUT
2021-11-28 17:36:11 +01:00
parent e86d3f41b3
commit b3714cfcdf
6 changed files with 7 additions and 10 deletions
-2
View File
@@ -84,8 +84,6 @@ public class Page extends JLabel {
this.largeur = bufferedImage.getWidth() / 2;
this.hauteur = bufferedImage.getHeight() / 2;
System.out.println(largeur + "x" + hauteur);
final ImageIcon imageIcon = new ImageIcon(
bufferedImage.getScaledInstance(largeur, hauteur,
Image.SCALE_SMOOTH));