Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transparent png icon #156

Closed

Conversation

boredsquirrel
Copy link

not sure why the icon background was white, this is better.

There is only one icon size, 48x48(47)px, correct?

@igo95862
Copy link
Owner

Hello @boredsquirrel

Looks like I didn't pass the -background none then converting the SVG to PNG: https://snippets.khromov.se/svg-to-png-conversion-with-transparent-background-in-imagemagick/

Thank you for reporting this.

By the way. I am curious what desktop environment uses PNG over SVG.

@boredsquirrel
Copy link
Author

Interesting!

KDE uses SVG

@igo95862
Copy link
Owner

igo95862 commented Feb 15, 2025

Implemented in bd82670.

I used the rsvg-convert to convert SVG as ImageMagick seems to be bugged and does not properly make a transparent background.

I also increased the icon resolution to 128x128 as new icon has a lot more detail.

Thank you for reporting this.

@igo95862 igo95862 closed this Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants