tags:

views:

452

answers:

1

What is the best way to read a PPM (P6) image file in C# and save it as a Bitmap?

+1  A: 

I would use the source code provided here:

http://www.codeproject.com/KB/graphics/PixelMapAndImageViewer.aspx

It looks like the PixelMap class (PPM is a "Portable Pixel Map") to open a PPM and save as a Bitmap.

free-dom