If you set BitsPerPixel="32" in WMAppManifest.xml file you will have 32 bits colour depth in application. The thing is that low cost devices are always using 16 bits, so images bacome choppy. I want to determine what value of BitsPerPixel is used in application. How to do that?
How to determine what colour depth application is using?
137 views Asked by giacoder At
1
You can get the current
SurfaceFormatfrom theGraphicsDevicelike this:This returns
SurfaceFormat.Bgr565for 16-bit color depth andSurfaceFormat.Colorfor 32-bit color depth.