Page 2 of 6
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 9:58 am
by forum_adm
The scroll view magnification is not a solution. Because it zoom all elements and overlays.
But I added now some workarounds which may solve your issue.
1) Uncheck the option "Use cached scaled…"
2) Select for the interpolation the default one.
GraphicConverter uses now if the zoom factor is an integer like 1, 2, 3, … the default interpolation (which is none).
GraphicConverter uses now automatically the high quality interpolation setting if the zoom factor has a fraction.
The interpolations are NOT my algorithms. That interpolations are provided by Apple Core Image for the display of images.
Please report.
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 10:17 am
by porg
Thanks for your reactions! In which beta version can I test these changes?
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 10:25 am
by forum_adm
5485
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 10:28 am
by forum_adm
Sorry, but the autocorrection changed a word wrong.
Correct is: not my algorithms - Apple provides them - I corrected the post.
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 10:49 am
by porg
Before I could test all aspects of your answer I ran into another showstopper:
- Pixel Grid Alignment - New Zoom and Interpolation in GC 11 build 5475 - Image opens with huge checkerboard canvas around.png (323.95 KiB) Viewed 1152367 times
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 10:56 am
by porg
And sadly, the original problem persists:
Selection still not aligned to pixel grid:
- Pixel Grid Alignment - New Zoom and Interpolation in GC 11 build 5475 - Selection still not aligned to pixel grid.png (292.07 KiB) Viewed 1152365 times
Re: [Blocker Bug] Selection border not aligned with pixel grid - Impossible to reliably tell which pixel selected
Posted: Fri Apr 22, 2022 11:01 am
by porg
And in case you overread it: In order to reproduce the bug:
- Zoom in so close that you see blocky pixels
- At the beginning you may be lucky and the selection aligns perfectly to the pixel grid where you set the selection
- But drag a selection edge point horizontally for a while, and the offset accumulates, until you see it clearly
- The same is true is you drag it vertical, also then you will see the offset after a certain time
Can you reproduce this?
- Try differently sized images (odd/even pixels) with different resolutions (72 DPI, 144 DPI, …) on different DPI-displays (72 DPI, 144 DPI, …).
- If you are already on macOS 12 Monterrey necessary try on macOS 11 Bigs Sur
- I do not know what the preconditions are, you are the developer.
- But I sadly seem to get this in all images
See how the canvas not being aligned with the image content changes somehow proportionally with the zoom level using cmd
Posted: Fri Apr 22, 2022 11:13 am
by porg
At 150% it is also correct: Canvas is not larger then image content, at all edges: top left, top right, bottom left, bot
Posted: Fri Apr 22, 2022 11:16 am
by porg
- Zoom 150 a top left.png (50.69 KiB) Viewed 1152358 times
- Zoom 150 b top right.png (41.8 KiB) Viewed 1152358 times
- Zoom 150 c bottom right.png (41.78 KiB) Viewed 1152358 times
Posted: Fri Apr 22, 2022 11:17 am
by porg
- Zoom 150 d bottom left.png (48.41 KiB) Viewed 1152358 times