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

White gaps in between the shapes composing a QR code


Recommended Posts

I created a QR code and downloaded the SVG version to edit it in Affinity Designer, even though the shapes that make the QR code are made to snap, there is a white gap that also shows on the exported version, this sometimes happens when snapping to shapes, but because the QR code is composed of many small shapes, it is much more noticeable.

codigo qr.png

Link to comment
Share on other sites

Welcome to the Serif Affinity Forums, Augustin. :)

Are the edges of the shapes aligned to pixel boundaries? Have you tried to Boolean ‘add’ any of the adjacent squares?

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.3.1 (iPad 7th gen)

Link to comment
Share on other sites

I did try applying boolean "add" to some shapes, but for some cases it makes it even worse, you can see in the attached image above the thicker white lines are those I use add on, the rest thin lines are like that since the beginning, even if I manually move individual shapes to make them snap correctly. The only way of changing this is to make the shapes overalp

Link to comment
Share on other sites

Assuming that you started with square corners everywhere, my guess is that you rounded the shapes before trying to Boolean ‘add’ them. I think you should find that you avoid those gaps if you add the shapes first.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.3.1 (iPad 7th gen)

Link to comment
Share on other sites

Augustin, some of the white gaps are wider than others so I would guess there is a snapping issue on some of the parts.  Anyway would it ruin the effect if you were to add just a very slight stroke the same color as the fill to the shapes?  If you group all the shapes you can add the stroke to the group and it will affect all the shapes in the group.  You only need a stroke just to cover the width of the white lines.

If you zoom way in, while in the node tool, do the corner nodes of the individual squares align perfectly one on top the other?  If not this would be the reason the add did not work.

iMac (27-inch, Late 2009) with macOS Sierra

Link to comment
Share on other sites

Upload the .afdesigner file so we can take a look properly.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Had a look at the file and there are some misplaced shapes like these...
1142039748_ScreenShot2020-07-19at08_14_17.png.28b5ab3e8d93bebc1712078f0091f835.png

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Out of curiosity which app did you use to create the QRCode?

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

One way to tackle this kind of problem, though tedious, should be pretty reliable: using the Node Tool, drag on the edges to create overlaps between adjacent shapes so that they add correctly.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.3.1 (iPad 7th gen)

Link to comment
Share on other sites

Thank you! Why did blocking those shapes changed something? For the first suggestion, I do that when I have problems with other projects in which I have at most ten lines misbehaving, but for this one it would be to long, as I have to make many of these qr codes

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.