how do I load pgm image in C# and how Im convert it to pgm file?
Asked
Active
Viewed 3,028 times
1 Answers
1
I found a blog entry that has the code to convert a PGM file to a BMP file for you. I had to use Google Translate to read the page, but the code listed is in English and it looks good. Here is the link (using translate):
Basically, just copy and paste this code. The BitmapToBitmap()
method is what you want to call.

IAmTimCorey
- 16,412
- 5
- 39
- 75