-trim reduce the Alpha bits on a PNG
Posted: 2012-05-09T06:14:13-07:00
Hi,
Trying to create an .ICO file using an .AI file as the source.
The .AI file is converted to a PNG file using 8 bits color and Alpha channel.
Resizing the PNG file into multiple copies and merge them to one IOC files works fine.
The ICO files contains all sizes, nicely transparent icons.
Then when trying to -trim the PNG file, before merging to the IOC file, things stop working.
Found out that the -trim function reduced the Alpha channel to 1-bit.
Is there a way to -trim a PNG, without reducing the Alpha channel?
/Lars
Trying to create an .ICO file using an .AI file as the source.
The .AI file is converted to a PNG file using 8 bits color and Alpha channel.
Resizing the PNG file into multiple copies and merge them to one IOC files works fine.
The ICO files contains all sizes, nicely transparent icons.
Then when trying to -trim the PNG file, before merging to the IOC file, things stop working.
Found out that the -trim function reduced the Alpha channel to 1-bit.
Is there a way to -trim a PNG, without reducing the Alpha channel?
/Lars