How to draw HiDPI image resources as BufferedImage?
Iris Clark
iris.clark at oracle.com
Tue Nov 25 18:15:20 UTC 2014
Hi, Tobi.
Traffic on this mailing list has substantially dropped since JDK 8 shipped in March 2014. To get your message to a wider audience, I recommend that you send it to 2d-dev [0] where you'll find the 2D experts. Alternatively, jdk8u-dev [1] is where discussion about the JDK 8 Update release occurs.
See the complete list of OpenJDK mailing lists is on this page [2] for other possibilities.
Thanks,
Iris Clark
[0] http://mail.openjdk.java.net/mailman/listinfo/2d-dev
[1] http://mail.openjdk.java.net/mailman/listinfo/jdk8u-dev
[2] http://mail.openjdk.java.net/mailman/listinfo
-----Original Message-----
From: Tobias Bley [mailto:tobi at ultramixer.com]
Sent: Tuesday, November 25, 2014 1:33 AM
To: jdk8-dev at openjdk.java.net
Subject: How to draw HiDPI image resources as BufferedImage?
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
More information about the jdk8-dev
mailing list