What is the @@resultset after executing the external action without pushing stdout to a file (remove the “> pagoda_sm.txt”)
From: Wayne Irvine [mailto:[email protected]] Sent: Sunday, June 14, 2015 7:15 PM To: [email protected] Subject: TeraScript-Talk: External function. Return stdout. 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] <mailto:[email protected]> with "unsubscribe terascript-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
