64 位 Exiv2(或其他 EXIF 编写器)

发布于 2024-07-21 07:01:30 字数 311 浏览 1 评论 0原文

我需要一种非破坏性的方式从 .NET 代码将 EXIF 标签添加到 jpeg 图像。 到目前为止,我发现 Exiv2 和 .NET 包装器 Exiv2net 在添加或更新标签时效果很好。 然而,我的代码需要在 64 位机器上运行(并且由于其他原因编译为 64 位),并且在我看来 Exiv2 代码只能在 32 位中编译。

因此,我正在寻找开发 Exiv2 和 Exiv2net 64 位版本的人,或者完全是另一个工具包。 有人见过这样的事情吗?

顺便说一句,WPF 中的 BitmapMetadata 在更新时会删除 EXIF 标记,并且无法满足我的目的。

I need a non-destructive way of adding EXIF tags to jpeg images from .NET code. So far I have found Exiv2 and the .NET wrapper Exiv2net that works well when adding or updating tags. However, my code needs to run on a 64-bit machine (and compiled for 64-bit due to other reasons) and it seems to me that the Exiv2 code only compiles in 32-bit.

I am therefore looking for either someone working on a 64-bit version of Exiv2 and Exiv2net or another toolkit entirely. Has anyone seen such a thing?

Btw, the BitmapMetadata from WPF removes EXIF tags when updating and will not work for my purposes.

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

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

发布评论

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

评论(1

温暖的光 2024-07-28 07:01:30

If you know your target system will have a Perl interpreter, you could bundle exiftool and call it to do work on behalf of your app. You may even be able to compile it into a standalone executable.

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