好的元数据图像转储实用程序?

发布于 2024-08-19 20:13:51 字数 484 浏览 19 评论 0原文

我正在寻找最好的工具来提取嵌入在最流行的图像文件格式(特别是 JPEG 和 PNG)中的所有元数据。我想知道里面有什么(XMP、Exif、IPTC/IIM 等)。理想情况下,我正在寻找一种可以从命令行运行的一体化解决方案,但有兴趣了解该领域任何其他有价值的工具。

我发现以下各项各有优点/缺点:

  • ExifTool 很好,但是输出比我想要的更粗暴一点。
  • 来自 DumpImage .com/" rel="nofollow noreferrer">元数据工作组对其找到的元数据具有良好的格式,但不支持 PNG。

I'm looking for the best tool out there to extract any and all metadata embedded within the most popular image file formats (JPEG and PNG specifically). I would like to know about whatever is in there (XMP, Exif, IPTC/IIM, etc.). Ideally I am looking for an all-in-one solution that I can run from a command line, but am interested to hear about any other tools in this area that are of value.

I have found the following, each with advantages/disadvantages:

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

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

发布评论

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

评论(3

嘦怹 2024-08-26 20:13:52

我最近发布了 Binspector,我最终编写了这个工具来回答这个问题,令我满意。该工具的基本前提是它采用格式语法并使用它来分析二进制文件。只要格式语法和二进制文件格式良好,就可以检查和分析无数的二进制文件和格式。

代码托管在 GitHub 上,该工具的博客为 此处。 (该工具的概述帖子为 在这里。)

I have recently released Binspector, the tool I ended up writing to answer this question to my own satisfaction. The basic premise of the tool is that it takes a format grammar and uses it to analyze a binary file. As long as the format grammar and the binary file are well-formed, one can inspect and analyze innumerable binary files and formats.

Code is hosted on GitHub, and a blog for the tool is here. (The overview post for the tool is here.)

屋顶上的小猫咪 2024-08-26 20:13:52

由于您没有提到任何首选编程语言,我以 PHP 为例。
PHP 有一个 Exif 扩展,可用于轻松地从图像中检索元数据。

http://www.php.net/manual/en/ function.exif-read-data.php

您可以轻松创建一个可以从命令行调用的脚本。我必须补充一点,该扩展似乎仅提供对 JPEG 和 TIFF 图像的支持。

As you did not mention any preferred programming language I take PHP as an example.
There is an Exif Extension for PHP which can be used to easily retrieve Metadata from an Image.

http://www.php.net/manual/en/function.exif-read-data.php

You could easily create a script that you can call from the command line. I must add that the extension only seems to provide support for JPEG and TIFF images.

メ斷腸人バ 2024-08-26 20:13:52

您可以尝试官方的 ADOBE XMP SDK。可以从以下位置下载:

http://www.adobe.com/devnet/xmp.html< /a>

这是完整的 SDK,用于读取/写入/操作各种格式的元数据。

在 SDK 包中,有一个您可能感兴趣的特定示例。转到“samples”文件夹,根据文档(包中提供)构建示例。查找示例 exe“DumpFile”。这会将文件中的所有元数据转储到控制台。

You could try the official ADOBE XMP SDK. It is available for download at :

http://www.adobe.com/devnet/xmp.html

This is the complete SDK to read/write/manipulate metadata across a variety of formats.

In the SDK package there is one particular sample that might be of interest to you. Go to the "samples" folder build the samples as per documentation (available in the package). Look for the sample exe "DumpFile". This dumps all the metadata in the file to the console.

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