eloberg
January 24th, 2003, 08:49 AM
I have a byte array with grey lavel values which I want to write out on the screen using preferably the DrawImage function, since this function takes Image and Rectangle as parameters. Is there a way in which I can use this function for writing out my byte array data to screen?
How should I bring the byte array data into an Image object? Is it at all possible or do I have to use a completely different method?
When doing the same in VC++ I simply used the DrawDibDraw function, but this option is not available in C# (or so I think).
How should I bring the byte array data into an Image object? Is it at all possible or do I have to use a completely different method?
When doing the same in VC++ I simply used the DrawDibDraw function, but this option is not available in C# (or so I think).