Convert Image file to Icon using C#

IntroductionThis example demonstrates a Windows Forms Application that convert Picture file to Icon file. Its easy to understand and easy to use tool. You can pick any picture file that will be converted to 32 X 32 picture and loded in picture box and then you can convert it to

C# (48.9 KB)
 
 
 
 
 
4.9 Star
(7)
4,646 times
Add to favorites
5/23/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Custom Cursor
    1 Posts | Last post June 17, 2013
    • You Sample i can understand easily. thanks.
      
      i want change cursor from UIElement (WPF) have you any idea? please send me link or help.
      
      thanks & regards
      Sankarayanan P
  • Perfect.
    2 Posts | Last post January 03, 2012
    • Simple and excellent solution.
    • Thank you Tamer Oz
  • Well Done!
    1 Posts | Last post September 08, 2011
    • You made a good utility.
      The code is simple, clean, and easy, and (more importantly) it helps reduce my work.
      Thank you.
  • Regarding Favicon Image.
    3 Posts | Last post July 06, 2011
    • Can you please tell us the same regarding favicon image?
    • Hi Dharit,
      
      You can also set created icon as favicon. save your icon as favicon.ico, and use <link rel="shortcut icon" href="favicon.ico" /> in head tag of your html to show as favicon.
    • Hi haresh, I have requested this code, a million thanks.