Here's a code that converts a GDI+ Bitmap or Image object to an Icon .ICO file, keeping the same quality as the source image.
In a previous post, I showed the simplest way to convert a bitmap to icon, using the OleCreatePictureIndirect API function.
Read More