microsoft / WPFDXInterop

Repo for WPF DX Interop support
MIT License
307 stars 98 forks source link

Displaying higher bit depth images on specialized higher bit depth monitors #40

Open jdsterli opened 4 years ago

jdsterli commented 4 years ago

Hi! I am hoping the developers still check this forum. I am concerned that the images I am displaying (16 bit grayscale) through WPF will ultimately not show as 16 bit on a display monitor specifically designed to display in 16 bit grayscale. This is because there is a lot of information talking about how images in WPF are automatically converted to bgra32.

Is there something that can be done for this, perhaps through a greater investment in my understanding of Direct X with WPF?

I spent a great deal of time using this WPFDXInterop code as a guide to read, process, and display images. I use DirectX 11, CUDA, even OpenCV at times and display it in WPF. But if images become compressed into 8 bit channels due to how legacy some parts of WPF are, I need to know.

Thank you!