Windows11 (25H2), display resolution 3840x2160, dpi scale 150%
Viewer/Browser - transparency grid
transparency grid scaling issue
to reproduce
0. prerequisites
- set win dpi scaling to 150%
- change Transparency grid color/size (yellow-pink/25px) to make more noticeable (in Settings>View)
- have test images w transparency (100x100px, 4 and 32bit)
Issue A1
1. open test image in Viewer, zoom 100%
Transparency grid will be ~37x38 (25x25px * 1.5)
expected
no need to scale transparency grid
Issue A2
2. turn off transparency
- for 4bit image - uncheck 'Use transparency index' (Ctrl+Alt+H)
- for 32bit image - uncheck 'Use alpha channel' (Ctrl+H)
transparency will turn off - OK
transparent grid will be rendered as well (visible on the sides)
expected
when turning off transparency, maybe disable transparency grid as well, as its not visible anyway
Issue B - image distortion1
1. open test image in Viewer, zoom 100%
image will be distorted
transparent grid will be visible on the right and bottom sides expected
render w/o distortion, like the same image w/o transparency
to double check - remove transparency from image, save and reopen
image will be rendered w/o any distortion at 100x100px
Issue C - image distortion2
1. open test image in Viewer, zoom 100%
2. turn on transparency
- for 4bit image - uncheck 'Use transparency index' (Ctrl+Alt+H)
- for 32bit image - uncheck 'Use alpha channel' (Ctrl+H)
3. repeat steps 2 and 3 (quickly for better visibility)
transparency will turn on/off - OK
image will shift (could be related to this shifting as zoom-out antialiasing filter applies at 0-149% range)
Example
- Bridge
thumbnails have similar problem of image-transparency grid alignment at certain sizes (any dpi)
Related
- issues
1.8.2 - view - png - tRNS transparency - viewing issues
1.3.0 - view - scaling - transparency grid issue (current post)
- todo -
1.8.8 - viewer - png - alpha transparency - clipboard issues
1.8.0 - viewer - antialiasing - issue with dpi scaling
1.7.1 - viewer - antialiasing - border at the edge of transparent png
- fixed -
1.6.5 - view - transparent index visible when zooming (1.8.1)
1.7.2 - viewer - Show alpha became disabled (1.8.0)
1.5.0 - viewer - antialiasing - None still affects image (1.7.0)
1.4.3 - viewer - antialiasing + HiDPI - extra space on zoom (1.5.0)
1.4.0 - viewer - antialiasing + Change color depth issue (1.5.0)
1.4.4 - viewer - antialiasing - state out of sync (1.4.5)