Wow, yeah, @@resultset works!

Cheers

Wayne

> On 16 Jun 2015, at 3:02 am, Robert Shubert <rshub...@tronics.com> wrote:
>
> What is the @@resultset after executing the external action without pushing 
> stdout to a file (remove the “> pagoda_sm.txt”)
>
> From: Wayne Irvine [mailto:wa...@byteserve.com.au 
> <mailto:wa...@byteserve.com.au>]
> Sent: Sunday, June 14, 2015 7:15 PM
> To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
> 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/ <http://www.byteserve.com.au/>
> p: +61 2 9960 6099
> m: 0409 960 609
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.

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 lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.

Reply via email to