DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.91k stars 1.45k forks source link

Convert Image to Icon (.ico) #216

Open Gaweringo opened 2 years ago

Gaweringo commented 2 years ago

What's the Problem?

Converting an Image to a .ico file is currently cumbersome. I currently use an online tool or ImageMagick.

Solution/Idea

Similar to the PNG / JPEG Compressor tool there could be a Convert to .ico tool, that you can drop your image into and it lets your set a size and converts it to an .ico file. Could use ImageMagick under the hood with Magick.Net (I guess). Here would be a way to achieve a conversion (CLI-ImageMagick).

Alternatives

As seen above: I currently use an online tool or ImageMagick.

Priorities

Capability Priority
Converting a .png, .jpeg or .svg to a .ico Must
Allow setting the sizes included in the .ico Should
Allow setting the color depth of the images in the .ico Could

DevToys Version

Version 1.0.0.0 | X64

Comments

No response

expikr commented 2 years ago

And additionally the ability to decompose an icon filetype into constituent pngs if it has multiple sizes/is animated.

Maybe #155 can be grouped under the same tool as this one.