how to open image file in c#

hi

I need to open an image file (bmp file in windows form ) using c# so that i can edit that (bmp) image file.

hope i can get this asap.

thanx

bye




Answer this question

how to open image file in c#

  • ryulite

    Bitmap bm;

    bm.Load(imageFilePath);

    This gives you a bitmap, but as has been said, there is no editor you can call. However, depending how much editing you want to offer, you may be able to write your own. www.codeproject.com has some image processing articles from me in C#, and a simple paint program in C++ that uses GDI+ and would easily port to C#.



  • puneetjain83

    i think there is no such control available which will allow you to edit the image, you can only show it in Image Contol.

    There is some othe way you can achieve this, Open then paint application or some image editor from you C# application, and show the file on that editor as default.


  • how to open image file in c#