i want convert 1 file bmp to .ico,i think it must use GDI+ but i dont known use it,can you help me ?
Printable View
i want convert 1 file bmp to .ico,i think it must use GDI+ but i dont known use it,can you help me ?
You don't need GDI+. What you need is the ICO file format. Create a data structure in the memory following the ICO file format specifications and save the data on the disk using the .ico file extension.
The ICO file format is here:
http://www.wotsit.org/list.asp?search=ico
You should be able to use one of the Create Icon variants. In particular, take a look at CreateIconFromResource ().