<AWT Dev> Integrated: 8196087: java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java fails

Sergey Bylokhov serb at openjdk.java.net
Tue Nov 3 18:32:02 UTC 2020


On Thu, 29 Oct 2020 04:12:53 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The test draws some specific pattern to the VolatileImage and to the BufferedImage, and then compare pixels.
> 
> The test uses the getSnapshot() method to get the pixels from VolatileImage, and this method produces some interpolation "artifacts" if the fractional scale is used in the system(like 125%).
> 
> The solution is to use some predefined scale factors.

This pull request has now been integrated.

Changeset: 83f3cf42
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/83f3cf42
Stats:     4 lines in 2 files changed: 2 ins; 1 del; 1 mod

8196087: java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java fails

Reviewed-by: jdv

-------------

PR: https://git.openjdk.java.net/jdk/pull/921


More information about the awt-dev mailing list