I am trying to run an imagemagick command line in my windows powershell but it does not work, if I run it in my regular command line it does work.
The command looks like this:
(I do not need the linebreaks, I just put them so that the command is more readable)
convert -bordercolor none -background none -gravity center ^
k1.jpg -border 5x5 ^
( k2.jpg k3.jpg k4.jpg -border 5x5 +append ) ^
( k5.jpg k6.jpg k1.jpg -border 5x5 +append ) ^
-append -border 5x5 -resize 720x480 output.png
I get following error if I run it in my powershell: ( I had to translate it into english)
k2.jpg : the wording "k2.jpg" was not detected as a name of a cmdlet, a function, a script file.
Edit:
Actually I do not need the lines breaks, I just put them so that the code is more readable, if you have a suggestion without the line breakers it is fine aswell.
Edit:
I tried Matt's suggestion like this:
convert --% -bordercolor none -background none -gravity center k1.jpg -border 5x5 (k2.jpg k3.jpg k4.jpg -border 5x5 +append) (k5.jpg k6.jpg k7.jpg -border 5x5 +append) -append -border 5x5 -resize 720x480 output.png
And I got following error/message:
convert.exe: unable to open image '(k2.jpg': No such file or directory @ error/blob.c/OpenBlob/2695. convert.exe: unrecognized option `+append)' @ error/convert.c/ConvertImageCommand/764.