简体   繁体   中英

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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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