0
Reply

[C#] loading .pgm file within a Bitmap object

Law Carb

Law Carb

Feb 17 2006 5:34 PM
4.5k
Hi everyone, freshly arrived in the System.Drawing namespace , I try to figure out how it works. But for this precise problem, I need your help: I am trying to load an image in a Bitmap object. The source file is a .pgm grayscale image (format specifications: http://netpbm.sourceforge.net/doc/pgm.html) I don't know if there already exists some method from a class that can help me convert the data or if I should write something on my own. In this last case, I really lack some idea. As usually, it would not be fun if I was not in hurry, let's say that my project is turning into an emergency. Any help is welcome Thx Law