0

I'm trying to speed up performance of some image scaling & coloring routines in a mobile app based on .Net compact framework 2.0. I've discovered the Bitmap.LockBits method, but how can I get a Bitmap's PixelFormat when the PixelFormat property is not supported in the compact framework?

4

2 回答 2

1

OpenNetCF 框架包含一个实现 PixelFormat 属性的 BitmapData 类。

于 2009-05-29T15:19:08.920 回答
0

这是一个添加 .netCF 默认不支持的内容的示例。您可以尝试相同的方法。

http://blogs.msdn.com/chrislorton/archive/2006/04/07/570649.aspx

于 2009-06-25T09:06:35.717 回答