Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNG quality when image is loaded to 100% zoom #1701

Closed
Opicka879 opened this issue Nov 24, 2023 · 6 comments
Closed

PNG quality when image is loaded to 100% zoom #1701

Opicka879 opened this issue Nov 24, 2023 · 6 comments
Assignees
Milestone

Comments

@Opicka879
Copy link

System information:

  • Windows OS version: Windows 10 Home 22H2
  • ImageGlass version: 9.0.7.1125 (64-bit)

To Reproduce

Steps to reproduce the behavior:

  1. Set zoom to autozoom
  2. Set Image interpolaton with zoom ≤ 100 % at Nearest neighbor
  3. Open PNG image with some bold text on
  4. You can see the problem
  5. Zoom-out and zoom back to 100% to fix

Actual behavior:

When i open some PNG file with Nearest neighbor setting at 100% zoom level, there is bad quality of image. When i zoom-out and zoom back to 100% problem is fixed. In other settings of Image interpolation text on images is very blury, so i need to use Nearest neighbor. I did not try another file types, maybe the problem is in others too.

At version 8 these images did looks fine at Nearest neighbor setting everytime when loaded.

Expected behavior:

Images should look good right after loading, not after re-zooming again.

And maybe consider to add setting of Image interpolation for 100% zoom level separately.

@d2phap
Copy link
Owner

d2phap commented Nov 25, 2023

Hi @Opicka879
Can you send some screenshots for better understanding the issue?

@Opicka879
Copy link
Author

Version 8 loaded
v8-loaded

Version 9 loaded
v9-loaded

Version 9 rezoomed (zoom out one step and zoom back to 100%)
v9-rezoomed

@yoshinatsu
Copy link

Yeah, the interpolation for ≤ 100% also applies to 100%.
I think 100% should always be at nearest neighbor, or else the image has scaling artifacts, or is blurry.
For now we are forced to used nearest neighbor if we want to have a clear image at 100%.
This wasn't the case for version 8.

@siblount
Copy link
Contributor

@yoshinatsu See #1716 (comment)

siblount added a commit to siblount/ImageGlass that referenced this issue Nov 28, 2023
siblount added a commit to siblount/ImageGlass that referenced this issue Nov 28, 2023
@d2phap d2phap added this to the v9.1 milestone Nov 28, 2023
@Opicka879
Copy link
Author

@d2phap Just for be sure you did not miss it. The problem is not only default setting of interpolation but even the bad image quality after open the PNG file with nearest neighbor setting. That screenshots are all with nearest neighbor setting for all options.

Still when you load PNG it looks wierd at 100% (screenshot 2). Zooming-in and go back to 100% does not fix the problem. Only zooming-out and go back to 100% fixing the problem (screenshot 3).

@d2phap
Copy link
Owner

d2phap commented Dec 5, 2023

Fixed in ImageGlass 9.0.8.1208

@d2phap d2phap closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants