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

Lines are visible between perfectly snapped shapes even after exporting it


Recommended Posts

I'm new to Designer and I was playing with shapes. So I created three rectangle shapes and snapped them together and placed a yellow background behind them.

Then, if I zoom in just a little bit, I can see as if they are not snapped completely. I thought maybe the behavior is while editing only.
So then I exported it (attached PNG below) and I can still see it.

It's embarrassing. Is it a known issue? Or just me?

 

Untitled.png

Link to comment
Share on other sites

Since you are viewing the export on screen (rather than print), you need to ensure that your shapes are pixel aligned. All sizes need to be whole pixels, and X, Y position on whole pixels too.

It is not ideal. There have been complaints about the antialiasing of snapped shapes for many years.

Turn ON Force Pixel Alignment, and turn off Move by Whole Pixels, can both help.

804011592_AffinitySnappedRectangles.thumb.png.32d9bb14273b146e2817e3f0c1412202.png

Affinity Snapped Rectangles.afdesign

Win10 Home x64   |   AMD Ryzen 7 2700X @ 3.7GHz   |   48 GB RAM   |   1TB SSD   |   nVidia GTX 1660   |   Wacom Intuos Pro

Link to comment
Share on other sites

14 hours ago, Aammppaa said:

Since you are viewing the export on screen (rather than print), you need to ensure that your shapes are pixel aligned. All sizes need to be whole pixels, and X, Y position on whole pixels too.

It is not ideal. There have been complaints about the antialiasing of snapped shapes for many years.

Turn ON Force Pixel Alignment, and turn off Move by Whole Pixels, can both help.

804011592_AffinitySnappedRectangles.thumb.png.32d9bb14273b146e2817e3f0c1412202.png

Affinity Snapped Rectangles.afdesign 8.85 kB · 0 downloads

Thanks for replying. Oh yes, looks like this fixed it. But I don't understand what is the use of "Move by whole pixels". It worked in both cases even if I turn it on or off. I just keep "Force Pixel Align" option ON. The other I think didn't make any difference.

Link to comment
Share on other sites

1 minute ago, vikaskumar2299 said:

Thanks for replying. Oh yes, looks like this fixed it. But I don't understand what is the use of "Move by whole pixels". It worked in both cases even if I turn it on or off. I just keep "Force Pixel Align" option ON. The other I think didn't make any difference.

Oh wait! Actually "move by" option also made effect. If I turn it ON, I could still see those lines. So you have to turn it OFF. Just turning on the "Force pixel" option worked for me.

Link to comment
Share on other sites

The Force Pixel Alignment ON option is overridden by Move By Whole Pixels ON when the layer already has non-integer position/size values.

In other words, Force Pixel Alignment ON doesn’t override existing non-integer position/size values when Move By Whole Pixels is also set to ON.

If you want to be (relatively) sure of exact pixel alignment then you need to set Force Pixel Alignment ON when you first create the document, before you add any layers. That way, it shouldn’t matter what you have Move By Whole Pixels set to, but probably best to keep Move By Whole Pixels switched OFF unless you actually need it.

It’s just one of the ‘quirks’ of the Affinity suite which has always existed, as far as I know, and probably won’t change any time soon.

Link to comment
Share on other sites

5 minutes ago, GarryP said:

The Force Pixel Alignment ON option is overridden by Move By Whole Pixels ON when the layer already has non-integer position/size values.

In other words, Force Pixel Alignment ON doesn’t override existing non-integer position/size values when Move By Whole Pixels is also set to ON.

If you want to be (relatively) sure of exact pixel alignment then you need to set Force Pixel Alignment ON when you first create the document, before you add any layers. That way, it shouldn’t matter what you have Move By Whole Pixels set to, but probably best to keep Move By Whole Pixels switched OFF unless you actually need it.

It’s just one of the ‘quirks’ of the Affinity suite which has always existed, as far as I know, and probably won’t change any time soon.

I just practiced these options and looks like I understand how it works now.

Now, this maybe a solution for my original problem, but now when I draw any shape, movements are not smooth. So I think this solution is not ideal. In Illustrator, there were no such issues.

Link to comment
Share on other sites

I don’t know what you mean by “movements are not smooth”.
If you have snapping and/or one of the pixel options on then there will be a certain amount of ‘non-smoothness’ as the software automatically ‘shifts things around’ to suit the snaps/pixels.

I haven’t used Illustrator (as far as I can remember) so I don’t know what happens there.

If you can give us a full-screen video showing what you mean (preferably with the rulers ON) then we might be able to help further.

Link to comment
Share on other sites

17 minutes ago, GarryP said:

I don’t know what you mean by “movements are not smooth”.
If you have snapping and/or one of the pixel options on then there will be a certain amount of ‘non-smoothness’ as the software automatically ‘shifts things around’ to suit the snaps/pixels.

I haven’t used Illustrator (as far as I can remember) so I don’t know what happens there.

If you can give us a full-screen video showing what you mean (preferably with the rulers ON) then we might be able to help further.

I mean if you drag Move Tool to draw a shape like rectangle, the movement will look less smooth. Just like low refresh rate. Other example is, once you draw any shape, then move it here and there using Move Tool. You'll again notice movement is not smooth. Hope you understand now.

Link to comment
Share on other sites

If you could show us a video, as requested, then we can see what’s happening for you and consider whether that’s what we would expect to see.
Otherwise all we have to go on is your use of the word "smooth" with no reference point to compare it to.
(We may have a difference in opinion about what we call “smooth”.)

Link to comment
Share on other sites

7 hours ago, vikaskumar2299 said:

I mean if you drag Move Tool to draw a shape like rectangle, the movement will look less smooth.

You cannot use the Move Tool to draw anything, so it is still not clear what you mean. But if you are just talking about modifying an existing shape & by 'less smooth' you mean that it jumps from one location to another, check the snapping options, as has been suggested.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

2 hours ago, R C-R said:

You cannot use the Move Tool to draw anything, so it is still not clear what you mean. But if you are just talking about modifying an existing shape & by 'less smooth' you mean that it jumps from one location to another, check the snapping options, as has been suggested.

Sorry for mistake. Actually I meant the cursor of any shape tool. E.g. select Rectangle shape tool and left click + move it to draw the shape. But like I said, I'm not sure I'll observe more and then respond if needed.

Link to comment
Share on other sites

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.