Jump to content

Recommended Posts

Posted

I created a simple dark-grey rounded rectangle today as part of a backpack icon. The top L and R are rounded to 50% each, forming a semicircle. It should be smooth, but it appears to have odd stepping or small peaks. This is visible in AFD and in exported PNGs. It's a little hard to see, but the top of the rounded rectangle is not smooth on either side. Is there anything I can do to improve this? I've been working with ADF for a few months now and not spotted anything like this before. Why is my rounded rectangle rendered poorly? Thank you.

Edit: If I replace the rounded rectangle with a circle of the same width and same position, is also renders poorly in the same way.

image.png.5b6886494cb81bf99334a2884f480dd4.png

Posted

Is the example image of the size you want to have as the result, or is it just a small screen-grab?

My guess is that this is just an artifact of the anti-aliasing which just happens to make it look like this in this specific case.

You could try changing the Blend Options of the layer which relates to the larger rounded dark grey rectangle to see of you can get a better result.

Or you could try changing the rounding by a tiny amount.

Posted

Can you upload an Affinity document, with that icon in it, to the forum?

It's too small to see what is happening

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted

I think you might just be a bit unlucky with how the anti-aliasing works in this case.

You could try changing the Coverage Map as in my attached image but I think this might take a bit of experimentation to get something much better.

image.png.c294f8ec809d50eb422003e76ef2b063.png

Posted

Doesn't seem to be helping, but thank you. I noticed that if I draw the same shape, same size, in a newly created document it is smooth. But if I copy that new shape into the backpack document it becomes jagged. I have already created the backpacks from-scratch twice due to this issue. I think I'll have to live with it.

image.png.4d43b933ed39a2b4034e250182e69078.png

Posted

The only other thing I can suggest at the moment is to reduce the size of the rounded rectangle and then give it a stroke (centre-aligned) of an appropriate width to bring it back to the shape you had to start with.

This would mean that the outline is drawn using a different ‘shape’ (the stroke), which might make a difference, but I can’t say if will work better.

Posted

Thank you for the suggestion. I tried that already and had no luck (it's quite reassuring that I think of the same things as the helpful folk here 😊). But I did manage to improve it a touch by switching the rounding to absolute, rather than percent, and reducing it down by 1 pixel. The result has strayed into 'good enough' territory. And I really don't want to go back to Adobe because I can't get a smooth rounded rectangle in this one case. I stubbornly refuse.

Posted
5 hours ago, worriedpixels said:

It should be smooth, but it appears to have odd stepping or small peaks. This is visible in AFD and in exported PNGs.

 

Try supersampling: export the vector design to a 4x scale PNG, then open that PNG and re-export at 0.25x scale with 'Bicubic' or 'Lanczos 3 (separable)' resampling.

 

The 4x scale export:

image.png.86624377b23921958af05413af24c276.png

 

Bicubic reduction from 4x to original scale:

closedbicubic.png.5b99ba03912947067f29ae231a512943.png

 

Lanczos 3 (Seperable) reduction from 4x to original scale:

closedlanczos3sep.png.bf201675ba9f3fb3930c71f272db4a42.png

 

 

Posted

That's wonderful, thank you. That did the trick: lovely smooth edge that no longer looks like I used a polygon with lots of sides. And I still have the pixel-sharp sides and bottom that I wanted (white outer), even after a resize back to original size in Photo. Thank you, thank you, thank you!

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.