You are viewing limited content. For full access, please sign in.

Question

Question

Open JPG to read EXIF

SDK
asked on May 8, 2014 Show version history

 Greetings,

I have created a Custom Activity that exports an electronic document JPG, or NEF, then it opens the exported file and reads the EXIF data from the image header.  The image properties are then assigned to tokens that are then added to the image metadata for later use.

 

My question, is there a better way to open the image because this seems slow, and an inefficient way to do this.  Can I open and read the EXIF data in a memory stream, or is there a way to open the image in workflow, and read the EXIF Data?

 

My client can use photo docs to import images to LaserFiche, and get the EXIF data, However you can not use Photo docs to import Nikon NEF files.  So I currently have them using drag-n-drop to import images. then they provide 2 index fields. Workflow see the image creation, based on the indexes provided, preforms a lookup to get the additional indexes needed.  Then my Activity does its process to extract the EXIF data, and adds the index fields to the imported images.

 

So in summary what would you suggest for accessing the image in workflow to read the EXIF Data?

0 0

Answer

SELECTED ANSWER
replied on May 8, 2014

So you are exporting the file to disk and then reading it's headers? Maybe I'm misunderstanding what you are doing, but could you use DocumentInfo.ReadEdoc in order to get a stream from within your Workflow activity?

1 0

Replies

replied on May 8, 2014

Sorry the title should read "Open JPG to read EXIF

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.