I hope someone can explain to me how this works with Execute Command.
I have made a simple flow that converts Tiff-files with an AdobeRGB profile to sRGB JPG. I'm using ImageMagick and Execute Command in Switch.
It all works fine when using this Argument:
"%1[0]" -profile "C:/WINDOWS/System32/spool/drivers/color/sRGB.icc" "%2"
However, when using this:
"%1" -profile "C:/WINDOWS/System32/spool/drivers/color/sRGB.icc" "%2"
...Switch messages returns this: Cannot complete sendToSingle() for 'C:/Users/Erik/AppData/Roaming/Enfocus/Switch Server/temp/73/ScriptElement/22/51/ExecuteComandResult/T1038_7343__1F.jpg'
Can someone explain the difference between "%1[0]" and "%1"? What does [0] do?
Properties are set like this
ImageMagick with Execute Command Arguments
Re: ImageMagick with Execute Command Arguments
[0] tells ImageMagic to use the first layer in the TIFF
Re: ImageMagick with Execute Command Arguments
Thank you, Jan.
Strange however, since the Tiff-file only contains one layer. It is named "Layer 1" rather than just "Background", which might be the reason?
Strange however, since the Tiff-file only contains one layer. It is named "Layer 1" rather than just "Background", which might be the reason?
Re: ImageMagick with Execute Command Arguments
Yes maybe, you could try with [1] which will take the next layer