Tobias Bley
2014-11-25 09:32:50 UTC
Hi,
Loading and drawing an HiDPI image resource (@2x) works with JDK8 very good (Image image = Toolkit.getDefaultToolkit().getImage("/dir/image.ext“)). But how to load a HiDPI image and convert it to a HiDPI buffered image? Is it possible without creating a double sized BufferedImage and and than draw it via Graphics2D and scale 0.5?
Best regards,
Tobi
Loading and drawing an HiDPI image resource (@2x) works with JDK8 very good (Image image = Toolkit.getDefaultToolkit().getImage("/dir/image.ext“)). But how to load a HiDPI image and convert it to a HiDPI buffered image? Is it possible without creating a double sized BufferedImage and and than draw it via Graphics2D and scale 0.5?
Best regards,
Tobi