Jump to content

Recommended Posts

Posted (edited)

I'm so sorry, I know it's been asked before but I am just not getting it. : /

 

I want to export the icon I made in Affinity Designer 2 to PNG for use online. It is 29x33 and I've tried all levels of dpi but exporting it to png makes it crazy blurry. When I was using illustrator I didn't have this issue so I know I must be doing something wrong with Affinity.

 

Can anyone tell me what I am supposed to be doing to export this as a clear icon?

Thank you!

Screenshot 2023-05-10 at 3.53.49 PM.png

Screenshot 2023-05-10 at 3.55.33 PM.png

Edited by PixelTreason
Posted

29 x 33 px is far too small (has too few pixels) for a bitmap (pixel) format like PNG (or JPEG) to create an acceptably sharp image of anything except the most basic rectilinear shapes. 

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

Posted

It is something I never had an issue with in illustrator, though so I'm confused. It's supposed to be 5mm and 8mm sizes, how do other people get theirs to look good, then? There's obviously a way to have it come out recognizable.

ef5ae5a410861936438d3d535b4710e0-fallen_dark_angels.jpg

Posted

For starters, I would adjust your canvas so your icons output to an even number ("30px x 34px" vs "29px x 33px"). Center alignment tends to throw things off grid when working with odd number output sizes. It can't pad the same number of whole pixels of white space on each side, so there will be sub-pixel rendering no matter what when you center the piece. That alone will add crazy amounts of blurring. (Edit: Obviously the piece itself needs to be even number to be evenly distributed)

Make sure your Artboards (if you are using them) are pixel-aligned and are not decimal-ed. Either in their location or their actual size.

Even in AI, I would take the time to hint something this delicate to move certain key nodes to whole pixels whenever feasible, but it's a process. With areas like straight edges, that's easy. If you have a straight edge going up and down, try to nudge the points to be whole pixel and on the same coordinate on the X axis. Not always necessary, but it's helpful.

As for that process: The issue with something this tiny and delicate, it's sometimes necessary to nudge away from whole pixels to ensure clarity to keep the piece itself true to what it is. So maybe .125px ~ .25px nudging (you can change the nudging in your preferences). You want to avoid crazy coordinates for nodes like 300.302px. Try to keep points at 300.25px for example. Delicate shapes don't hint well at small sizes to begin with. There's too much to define with so very few pixels. Unless they are handcrafted at that scale and pixel-snapped and curves modified with best care, it's very easy to run into issues with subpar output. With logos, we take great care for web output to be sure to manually hint those when necessary. Anyway It's worth having a workflow in Photo from Designer for outputting your vectors, with custom export profile, any sharpening treatment you think necessary, then output...

There's a number of threads on this topic. I will attach some here that I can think off off-hand.

Honestly though, try also to create an Export preset, one specifically for icons. Do not use "Bilinear" for your Resample method for sizing down to something so small. Try one of the Lanczos options. I usually use Lanczos 3 Separable, but Non-Separable sharpens a bit more I noticed. Some of your icons may need different treatment. That is OK.

It's also possible to move the document to Photo to make any necessary post-processing for your vectors before you do the export. Because in your case, your icons are delicate, contain quite a few curves and it may not be feasible to hint those accurately.

You can also try to use Coverage Map in Layer>Blend Options to adjust the AA curve itself to be sharper, but for the time being it is broken. Otherwise it would be a helpful tool to many pixel hinting issues. I suspect Adobe has a custom anti-aliasing ramp and that's why their output tends to be better for smaller/high contrast items.

Edit: *attach*:

 

Posted

I don't do this kind of work much, but I find working with a curve directly in Photo at the desired size lets me see the actual pixels/hinting in real time. I can see where trouble spots are and move/nudge nodes to minimize problems.

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.