rikumi / iconsur

macOS Big Sur Adaptive Icon Generator
MIT License
687 stars 26 forks source link

Use macosicons.com Icon with IconSur #15

Closed raphaelc2009 closed 3 years ago

raphaelc2009 commented 3 years ago

Hello, Whenever I try to apply an icon from macosicons.com with IconSur, it adds a white background around it. Is there a way to use the icon unmodified?

Thanks in advance.

rikumi commented 3 years ago

Add -s 1 to your command to not get the icon scaled down.

Note that your icon is always getting masked into ‘continuous’ corners to make sure it fits with other icons well.

raphaelc2009 commented 3 years ago

I have already tried that without success.

raphaelc2009 commented 3 years ago

-s 1.3 almost works

raphaelc2009 commented 3 years ago

With icons that have elements going out of the square, it gets cut unfortunately. Is there a way to simply set an icon from terminal? That way I can do it for some icons and use iconsur for others.

rikumi commented 3 years ago

Seems like icons on that website are preprocessed, which means there is already a padding around your icon. In this case please feel free to use the original fileicon tool.

raphaelc2009 commented 3 years ago

Wow thanks! Now with FileIcon and IconSur all I need is a bash script and I'm ready to go.

rikumi commented 3 years ago

Glad you liked my work. IconSur is meant to transform iOS icons or irregular-shaped third-party icons into ones that fit well with Big Sur.

If you already have preprocessed icons, just use them directly.