Reputation: 1
how do I load pgm image in C# and how Im convert it to pgm file?
Upvotes: 0
Views: 3094
Reputation: 16757
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.
Upvotes: 1