如何将X265编解码器添加到C#中的ImageMagick中

发布于 2025-02-13 03:17:12 字数 216 浏览 1 评论 0原文

我想将X265编解码器添加到Visual Studio C#项目Targeting .NET 4.7.2中的ImageMagick中,以访问HEIC格式文件。我从shiftmediaproject文件libx265_3.4_msvc16.zip中获得了文件x265.dll,但我无法通过添加参考将其添加到VS项目中。我收到一条消息,即它是无法访问的,也不是com或汇编组件。如何将x265.dll添加到我的VS项目中?

I would like to add the x265 codec to ImageMagick in a Visual Studio C# project targeting .Net 4.7.2 in order to access HEIC format files. I obtained the file x265.dll from the ShiftMediaProject file libx265_3.4_msvc16.zip from the but I cannot add it to the VS project via Add Reference. I get the message that it is not accessible or not a COM or Assembly component. How can I add x265.dll to my VS project?

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

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

发布评论

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

评论(1

贪恋 2025-02-20 03:17:12

我想将x265编解码器添加到Visual Studio c#Project Targeting .NET 4.7.2中的ImageMagick中,以访问HEIC格式文件。

简而言之:你不能。 ImageMagick无法整合C#实施编解码器。另外,只需在没有API定义的情况下使用DLL就无法解决。

然而,ImageMagick在现代版本中带有它自己的heif codec ,所以这是毫无意义的。您想要实现的目标已经实现。

I would like to add the x265 codec to ImageMagick in a Visual Studio C# project targeting .Net 4.7.2 in order to access HEIC format files.

In short: you can't. ImageMagick has no way to integrate C#-implemented codecs. Also, just getting a dll doesn't solve using it without API definitions.

ImageMagick, however, in a modern version comes with its own heif codec, so this is all a bit pointless. What you want to achieve is already achieved.

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