Alpine3D

Alpine3D Svn Source Tree

Root/trunk/alpine3d/icons/ico_convert.sh

  • Property svn:executable set to *
1#This is to convert several graphics files into a Windows .ico file.
2#First, prepare png with transparency at the following resolutions: 16x16, 24x24, 32x32, 48x48, 64x64, 256x256
3#Then, prepare the same image sizes but at 8 bit resolution without transparency, saved as bmp
4#Then, use the following command to pack the files in one .ico file with a relatively new version of ImageMagic
5
6#convert icon*.bmp icon*.png icon.ico
7
8convert icon16.png icon24.png icon32.png icon48.png -alpha on -channel RGBA -depth 8 icon.ico
9
10#see also http://www.iconconstructor.com/tutorials/what_is_icon/

Archive Download this file

Revision: HEAD