Jump to content

Recommended Posts

Posted

Hi,

I have a bit of a specific question, I have a bunch of icons in small png format that I would like to modify.

There are only a few pixels large. Most of these icons have a an icon and a colored background, I want to make that background transparent. With the flood erage tool I can do that easily but the edges of the icon stay colored and it makes the transition look unnatural.

Is there a way to make the transition "fade out" like in the original icon while removing the background?

Here are two screeshots to see the original png (with the dark green background) and the one with the background removed and problematic edges.

Screenshot (74).png

Screenshot (73).png

Posted

Rather than attempting to "push pixels", I would simply rebuild the pictogram using a vector rectangle and a few strokes. It takes just a few minutes:

aph_redraw_pixels_as_vector.png.d92c28405ad9afecf5305c9d5cbe37ae.png

Just make sure you're aligning everything to integer pixels.
Except for the 3 px wide strokes which must be aligned to x.5 coordinates so that the stroke doesn't antialias.
You can also further manipulate the antialiasing value via Blend Options → Coverage Map

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Posted

If the object was on a pure white background, I would use Erase White Paper.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
51 minutes ago, loukash said:

Rather than attempting to "push pixels", I would simply rebuild the pictogram using a vector rectangle and a few strokes. It takes just a few minutes:

aph_redraw_pixels_as_vector.png.d92c28405ad9afecf5305c9d5cbe37ae.png

Just make sure you're aligning everything to integer pixels.
Except for the 3 px wide strokes which must be aligned to x.5 coordinates so that the stroke doesn't antialias.
You can also further manipulate the antialiasing value via Blend Options → Coverage Map

Thanks, in this case it doesn't look to hard to rebuild as you did but I have quite a few icons like that I'd like to modify and my skills are simply too limited to rebuild some of them so I was hoping for an easier solution, that's if there is one.

Posted
2 hours ago, Fourdogslong said:

my skills are simply too limited to rebuild some of them

Learning by doing is the key to success. ;) 
And whenever you're stuck, you can then always ask for some help in the forum.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Posted

Can we have a few icon files to play with to see if we can find a reasonable workflow for you, I'm guessing the icons are 16px, 32px or 64px?

iMac 27" 2019 Sequoia 15.0 (24A335), 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

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.