开发者

Extracting XMP metadata from EPS files

开发者 https://www.devze.com 2022-12-26 09:59 出处:网络
I am trying to implement a module in either C# or classic ASP, which extracts the XMP data from a EPS file.

I am trying to implement a module in either C# or classic ASP, which extracts the XMP data from a EPS file.

Is there a framework or component (not necesarilly free) which can help me to create this module?

Any advice / directi开发者_开发问答on 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.

' 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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号