Converting images using IRIS and image magick
I've been looking into how to convert some images with IRIS and saw some recommendations on the forums around using image magick.
However I can't seem to get this working using ZF100 and on windows server and I'm wondering if I'm missing something really obvious as I've not used IRIS to call third party applications before.
If I run via a Windows CLI on the server, it works fine, e.g:
magick "D:\1221701739_20190716134351965_1_0.jpg" -resize 640x480 "D:\1221701739_20190716134351965_1_TEST.jpg
But I keep getting NOTOPEN when I attempt this in IRIS. I'm admin on my dev box so I think my permissions should be ok.
set sc = $ZF(-100,"/STDIN="""_imageFile_""" /STDOUT="""_tempFile_"""","magick fd:0 -resize 640x480 fd:1")
I've tried all sort of variations and logged the queries to /LOGCMD but I can't see if there is issue with the syntax
Also I think fd:0 and fd:1 are image magicks on internal flags for using STDIN / STDOUT but I've tried with the paths also.
Does any one have any examples or provide any tips how to use IRIS in this way?