set image file to bitmap c# code example Example: c# bitmap to Image var codeBitmap = new Bitmap(your_info); Image image = (Image)codeBitmap;