RenderingHints rh = new RenderingHints(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
RescaleOp ro = new RescaleOp(zoomFactor, 0, rh);
zoomedImage = new BufferedImage((int) (zoomFactor * originalImage.getWidth()), (int) (zoomFactor * originalImage.getHeight()), BufferedImage.TYPE_INT_RGB);
Graphics2D g = zoomedImage.createGraphics();
g.drawImage(originalImage, ro, 0, 0);
j'y arrive pas, l'image finale n'est pas bonne
qui a la solution ?