HDR MetadataFormat [英] HDR MetadataFormat

查看:96
本文介绍了HDR MetadataFormat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下代码检查我的屏幕是否支持HDR。



            var displayInfo = DisplayInformation.GetForCurrentView();

            var colorInfo = displayInfo.GetAdvancedColorInfo();

            var isHDRSupported = colorInfo.IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.Hdr10);


colorInfo.IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.Hdr10);无论屏幕类型如何,始终返回false。它对HDR和非Hdr屏幕返回false。我有一个适用于Xbox的UWP应用。 



请提供解决方案。提前致谢。






  

解决方案

您好Prem_Suku,


感谢您在这里冒充。


对于您的问题与UWP更相关,我将其移至
UWP论坛
提供适当的支持。


Visual C#论坛讨论并询问有关C#编程语言,IDE,库,示例和工具的问题。 Visual C#论坛讨论并询问有关C#编程语言,IDE,库,示例和工具的问题。


最好的问候,


温迪


I am trying to use below code to check my screen supports HDR or not.

           var displayInfo = DisplayInformation.GetForCurrentView();
            var colorInfo = displayInfo.GetAdvancedColorInfo();
            var isHDRSupported = colorInfo.IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.Hdr10);

colorInfo.IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.Hdr10); always returns false regardless of screen type. It returns false for HDR and Non Hdr screen. I have an UWP app for Xbox. 

Please suggest a solution. Thanks in Advance.


  

解决方案

Hi Prem_Suku,

Thank you for posing here.

For your question is more related to UWP, I will move it to UWP forum for suitable support.

The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

Best Regards,

Wendy


这篇关于HDR MetadataFormat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆