【问题标题】:How to retrieve a friendly ICC profile name?如何检索友好的 ICC 配置文件名称?
【发布时间】:2012-09-19 16:57:38
【问题描述】:

在 C# 中有没有办法检索友好的 ICC 配置文件名称。例如:

string GetICCProfileFriendlyName(string fileRef)
{
   ...
}

可能使用 P/Invoke、gdi32.dll、...

【问题讨论】:

    标签: c# .net windows color-profile color-management


    【解决方案1】:

    您可以使用Color.ColorContext 来获取 ProfileUri。但是我不确定这是否仅适用于 WPF 或者它是否也适用于 WinForms。

    【讨论】:

    • 嗯,好的。您需要 .NET 2.0 解决方案吗?
    • 您可能必须手动解析它。请参阅 PDF here
    猜你喜欢
    • 1970-01-01
    • 2016-07-16
    • 2010-11-27
    • 1970-01-01
    • 1970-01-01
    • 2015-12-30
    • 2012-05-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多