开发者

Saving png stream to bitmap in asp.net

I have a Memory stream in png fo开发者_如何学运维rmat and want to save it to a Bitmap object so that I can extract the pixels. I am using .net 2.0 and cannot use a higher version due to certain restrictions. Can you please help me out ???


Have you looked at the System.Drawing.Bitmap object?

It has a constructor of public Bitmap(Stream stream)

you can then do what you like with the bitmap before calling Save

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜