npm-icon-gen icon indicating copy to clipboard operation
npm-icon-gen copied to clipboard

Generated .ico is with corrupted alpha

Open pnpetrov opened this issue 6 years ago • 0 comments

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?

pnpetrov avatar Mar 20 '18 12:03 pnpetrov