[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: [OpenJDK 2D-Dev] How to draw HiDPI image resources as BufferedImage?
From: Alexander Scherbatiy <alexandr.scherbatiy () oracle ! com>
Date: 2014-11-25 12:34:44
Message-ID: 54747764.3060408 () oracle ! com
[Download RAW message or body]
Hi Tobias,
The public API that allows to do that is discussed on the following
thread:
JDK-8029339 Custom MultiResolution image support on HiDPI displays
http://mail.openjdk.java.net/pipermail/awt-dev/2014-August/008371.html
Thanks,
Alexandr.
On 11/25/2014 12:32 PM, Tobias Bley wrote:
> 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
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic