c# 从外部应用程序读取/提取透明图标?

发布于 2024-10-01 03:13:45 字数 169 浏览 0 评论 0原文

这是一个棘手的问题

我需要研究一个应用程序获取图标的数量和大小 1-提取图标并保留透明信息 2-所以当我在 winform 上显示它时,它将没有彩色背景?

因此,需要图标中的 alpha 通道,

任何涵盖这两个问题或任何一个问题的解决方案都将真正帮助大家

欢呼

this is a tricky question

I need to look into an app get the number of icons and the sizes
1-extract the icon(s) with keeping the transparent info
2-so when I show it on a winform it will be with no colored background?

so the alpha-channel in the icon is needed

any solution that cover both or any of the question will be really help full

cheers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白昼 2024-10-08 03:13:45

您可以通过 pinvoke 调用使用 Windows API 资源函数,以下是函数列表:

http://msdn.microsoft.com/en-us/library/ff468902(VS.85).aspx

You can use the Windows API Resource Functions through pinvoke calls, here is a list of the functions:

http://msdn.microsoft.com/en-us/library/ff468902(VS.85).aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文