Convert bitmap to icon

前端 未结 4 1152
闹比i
闹比i 2021-02-18 18:01

I am trying to convert bitmap into icon. But there is some error as the resultant file is just blank.

private void btnCnvrtSave_Click(object sender, EventArgs e)         


        
4条回答
  •  梦谈多话
    2021-02-18 18:36

    The only problem with this code is that it supports bitmap images upto 128x128.

    It yields a blank ico file if the size of bitmap is greater.

提交回复
热议问题