简体   繁体   English

从EPS文件中提取XMP元数据

[英]Extracting XMP metadata from EPS files

I am trying to implement a module in either C# or classic ASP, which extracts the XMP data from a EPS file. 我正在尝试用C#或经典ASP实现模块,该模块从EPS文件提取XMP数据。

Is there a framework or component (not necesarilly free) which can help me to create this module? 是否有可以帮助我创建此模块的框架或组件(并非必须免费提供)?

Any advice / direction will be greatly appreciated. 任何建议/方向将不胜感激。

While I didn't check http://www.imagemagick.org/ should be able to do this and it can be loaded as an ASP COM object. 虽然我没有检查http://www.imagemagick.org/应该可以做到这一点,并且可以将其作为ASP COM对象加载。

' example usage in ASP - resize an image
Set img = CreateObject("ImageMagickObject.MagickImage.1")
msgs = img.convert(src, "-scale", "200x200", trg)

Edit: 编辑:

According to this info it is possible: 根据此信息,有可能:

How to get EXIF keywords using mini_magick in a Rails app? 如何在Rails应用中使用mini_magick获得EXIF关键字?

Re-written for this new info (not tested): 针对此新信息进行了重写(未测试):

Set img = CreateObject("ImageMagickObject.MagickImage.1")
msgs = img.convert("identify", "-verbose", trg)

Where trg is your file, you would then have to process the output to get the info you needed. 如果文件是trg,则必须处理输出以获取所需的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM