GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Resolution of window scales poorly leading to bad render · Issue #1142 · processing/processing4

Resolution of window scales poorly leading to bad render #1142

New issue
Copy link
New issue
Copy link
Open
Open
Resolution of window scales poorly leading to bad render#1142
Copy link
Labels
bugSomething isn't workingSomething isn't workingcorehelp wantedExtra attention is neededExtra attention is neededwindows

Description

@cascadecoder
cascadecoder
opened on Jun 11, 2025
Issue body actions

I'm using a Windows 11. Whenever I upscale to recommended,

Image

the resolution of the image decreases significantly.

Image

It works if I return the scaling of the screen back to the default 100%, but that basically makes my computer unusable and harder to navigate. 125% is preferable, but I haven't found a way to make the image resulting from processing clearer.

Activity

  1. tychedelia commented on Jun 13, 2025

    @tychedelia
    tychedelia
    on Jun 13, 2025
    Member
    More actions

    Related to #1038. The software renderer appears to be particularly affected by fractional scales. You can use use size(w, h, P2D) to use the gpu renderer which seems to handle fractional upscaling a bit better.

    Reacted by Raphaël de Courville and glv
  2. glvjr commented on Jul 23, 2025

    @glvjr
    glvjr
    on Jul 23, 2025
    More actions

    Hello,

    I have an example here to compare PApplets with different renderers:
    https://discourse.processing.org/t/launcher-for-multi-renderer-papplets/46764

  3. Stefterv
    added
    bugSomething isn't workingSomething isn't working
    help wantedExtra attention is neededExtra attention is needed
    windows
    core
    on Jul 23, 2025
  4. glvjr commented on Oct 25, 2025

    @glvjr
    glvjr
    on Oct 25, 2025
    More actions

    Hello,

    I have explored this here:
    https://discourse.processing.org/t/dpi-renderer-scaling-override-for-java2d/47439

    It requires adding this at the start of the sketch for JAVA2D to disable the scaling:

    static
      {
      // JAVA2D: 
      // Forces 1:1 pixel rendering by disabling OS-level DPI scaling
      System.setProperty("sun.java2d.uiScale", "1.0");
      }
    
    Reacted by Raphaël de Courville
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingcorehelp wantedExtra attention is neededExtra attention is neededwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.