Example payload in the code, there's few parameters you can mess around with. So it turns out my original code and your suggested version worked after all, just needed a server reboot for the PATH to take affect! I just need to sort out user permissions around the account that can use $ZF(-100) and I think I'm all good!Īnyway, I thought i'd just write up my a way of doing this in case it's helpful to anyone.īelow is a REST class that takes a list of files in array and it will convert them to Basic64 using a temp path.
Linux imagemagick convert filesize how to#
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Īlso 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.ĭoes any one have any examples or provide any tips how to use IRIS in this way? I'm admin on my dev box so I think my permissions should be ok. If I run via a Windows CLI on the server, it works fine, e.g: 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. I've been looking into how to convert some images with IRIS and saw some recommendations on the forums around using image magick.