I’ve been using ImageMagick via the External Function action to resize and 
reformat images for years,

I’d now like to retrieve EXIF information from uploaded files. ImageMagick 
handles this in the shell nicely:
identify -format '%[exif:orientation]' pagoda_sm.jpg

Returns data like:
exif:DateTime=2005:07:09 14:05:15
exif:DateTimeDigitized=2005:07:09 14:05:15
exif:DateTimeOriginal=2005:07:09 14:05:15
exif:ExposureTime=10/800
etc...
Using the External Function action how to I retrieve this stdout for use in 
Terascript?

I have got a solution by piping it to a text file:

identify -format '%[exif:orientation]' pagoda_sm.jpg > pagoda_sm.txt

but wonder if there is a direct, more elegant solution.

Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to