I need to support 10 bit per pixel displays (aka 30 bit colors) in a WPF image viewing app.
I have a working setup (10bit screen and Nvidia Quadro) where I have been able to verify that the 10 bit support works by testing with gradient in PhotoShop: (http://www.tedlansingphotography.com/blog/?p=287) and a NEC demo program (both using OpenGL as far as I can see).
However I can't get my WPF app to display a nice gradient without banding. I tried procedurally generating a WritableBitmap with PixelFormats.Rgb48 and PixelFormats.Bgr101010 but when I draw it on screen (by assigning it to a System.Windows.Controls.Image.Souce) I still see banding.
- Doesn't WPF support 10-bit monitors?
- Are there any alternative WPF friendly APIs that support it (or do I have to rewrite the program in OpenGL)?