akabekobeko / npm-icon-gen

Icon file generator for Windows, macOS, Web
MIT License
157 stars 29 forks source link

Generated .ico is with corrupted alpha #86

Open pnpetrov opened 6 years ago

pnpetrov commented 6 years ago

Hi, I tried to generate an ico from png images with icon-gen but the result ico has a corrupted alpha.

The pngs represent a rounded rectangle with a flat color and an alpha channel.

This is the icon image: 32

This is the result ico loading in Windows Task Manager (Windows 10): result-task-manager

Here are all png images (exported from Adobe Illustrator) and the result ico: icon-pngs.zip ico.zip

The result ico looks fine when I open it in Gimp. All sizes are presented as separate layers and each layer has correct alpha. Any idea what the problem could be?