Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292601

Images with Windows scaling more pixelated with Java 11 onwards than Java 8

XMLWordPrintable

    • x86_64
    • windows

      ADDITIONAL SYSTEM INFORMATION :
      Windows 11. Monitor 140dpi with 175% scaling.

      Smooth appearance with Java 8 202

      Pixellated appearance with Java 11.0.10 and Java 17.0.2

      A DESCRIPTION OF THE PROBLEM :
      An image on a monitor with Windows scaling is more pixellated when using Java 11 or Java 17 than with Java 8. This is visible in the Swing icon demo, but more obvious in other applications.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Compile and run the swing icon demo (https://docs.oracle.com/javase/tutorial/uiswing/components/icon.html and https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip ).



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Image rendering should be smooth, at least as good as with Java 8.
      ACTUAL -
      Images are pixellated. Clearly visible if you choose the "Sun Auditorium"

      ---------- BEGIN SOURCE ----------
      See https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/components-CustomIconDemoProject.zip
      ---------- END SOURCE ----------

      FREQUENCY : always


        1. 11_0_10.PNG
          15 kB
          Praveen Narayanaswamy
        2. 17_0_4.PNG
          14 kB
          Praveen Narayanaswamy
        3. 8u203.PNG
          10 kB
          Praveen Narayanaswamy
        4. 8u341.PNG
          28 kB
          Praveen Narayanaswamy

            rmahajan Rajat Mahajan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: