views:

418

answers:

2

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?

+1  A: 

The OpenNetCF Framework contains a BitmapData class that implements the PixelFormat property.

tomlog
A: 

Here is an example of adding something that is not by default supported by .netCF. You can try the same approach.

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

Sesh