I\'m trying to convert an image from a Bitmap to a Windows icon. This is the code.
Bitmap
private void btnCnvrtSave_Click(object sender, EventArgs e) {
This is a known issue with .Net since it doesn't have an icon encoder. See the following for possible workarounds.
Create Valid Icon Files
Convert Bitmap to Icon problem