Jump to content
You must now use your email address to sign in [click for more info] ×

Scaled and snapped image objects have slight translucent fringe


m888

Recommended Posts

@KarlLegion per your request, separating this bug report into it's own topic.

Reproduced in Affinity Photo V2.0.3 on Windows 10. A sample project is attached that demonstrates the problem.

A simple test reproduces the bug:

  • drag a 200x200 white square into a 210x210 canvas
  • scale it to fill the canvas with all pixel snaps on
  • You can see the fractional coverage bug in the gray artifacts at the upper-right edges and corner:

image.png.e1a73ba505244c996cfc3fc19db2ebeb.png

Workarounds are very awkward; you have to overscale by 1 pixel (or disable pixel snapping and drag a fraction of a pixel past the edge). That means snapping is worthless, basically. The bug occurs on many other resolutions as well, but not all. When the resolution is high, the translucent fringe pixel is often as little as 50% covered. It's particularly nasty in high-res projects because you don't notice the fringe unless you zoom way in.

 

scale-snap-bug.afphoto

Link to comment
Share on other sites

KarlLegion posted a response in the original thread. Here's a copy of his note:

I think it's not related to the pixel alignment because all coordinates are integral from your example. I suspect it's the issue on the image object.

My theory is, image objects are treated as vector objects which have a "Viewbox" bounding the pixels. It seems to me that there are invisible thin transparent edges between the boundary and the pixel. As long as you rescale the object, those edges stretch. I can reproduce it but it only happens in Photo but not Designer. So, it's probably a bug. You can report it in a separate post.

Link to comment
Share on other sites

The two sizes (200 and 210) are unimportant. What is important is the scaling up, check using the Info panel in the corner pixels of the new enlarged size and in the centre of the square. Use contrasting colours for the background and the 200px square in order to really see it.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.0 | Affinity Photo 2.4.0 | Affinity Publisher 2.4.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.