Menu

Trim a PNG in the Browser: Remove Transparent Edges Without Uploading It
📰

Trim a PNG in the Browser: Remove Transparent Edges Without Uploading It

DEV Community: frontend·OnePassApps·13 days ago
#SaYzwpN1
#devtofrontend#devto#dev#transparent#trim
Reading 0:00
15s threshold

Most icon exports arrive with a canvas bigger than the artwork. You open the PNG, see a band of transparent pixels around your logo, and that padding is baked into the file.

Trimming it by hand means a round trip through an image editor, which is exactly what you were trying to avoid when you picked a tool that runs in your browser.

I work on OnePassApps. The Icon Studio has a Trim / padding tab that removes the transparent edges from a PNG inside your browser tab. No upload, no queue, no account.

https://app.onepassapps.com/studios/icons?utm_source=devto&utm_medium=post&utm_campaign=icon-trim-pad-launch&utm_content=icon-studio-link

What the tab does

Icon Studio has eight tool tabs: SVG to PNG, PNG to ICO, Favicon pack, App icons, Resize set, Optimize SVG, Recolour SVG, and Trim / padding.

Trim / padding works on a PNG and shows three steps on the panel:

01 Source - "No PNG yet. Drop one on the stage or browse for it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.