On Tue, 26 Apr 2022 22:06:09 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

>> Detect the situation where we do need to perform interpolation during 
>> ImageIcon
>> painting and set a hint to the rendering to perform bicubic approximation so
>> image details are preserved during transition.
>
> Alexander Zuev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Take into account scale factor;
>   Create a new Graphics2D object instead of juggle the rendering hints;

> I suggest to recheck the issues described above, updating the shared 
> implementation of ImageIcon.java seems wrong

Yes, the issue manifests itself only on Windows - but i was able to reproduce 
it using generic MultiResolutionIcon in the test case so while it CAN be fixed 
in the Windows specific code i still think addressing it in the shared code is 
a right thing to do.

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

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

Reply via email to