Magick Montage - Bat File Works Out Of ZP But Not In Run The Program On ZP

dk121

Новичок
Регистрация
03.01.2023
Сообщения
2
Благодарностей
0
Баллы
1
Hello,

I have a .bat file I am trying to use to make a montage using Imagemagick. Whenever I use the bat file out of ZP it works, whenever I use it in ZP, I get an error.

Here is the snippet:
powershell -command "& { cd 'C:\path\to\directory'; magick montage *.png -tile 4x -geometry +10+10 -background white -gravity center montage.png; pause;}"

It works just fine outside of Zennoposter, but not within.

I asked support, but they are not familiar with montage.

Does anyone know how to fix this or have a working snippet for montage that I can change for my own?

Thank you for your help!
 

dk121

Новичок
Регистрация
03.01.2023
Сообщения
2
Благодарностей
0
Баллы
1
I have also tried as support suggested to run it direct as .exe, but I get the same result.

C:\path\to\montage.exe

"C:\path\to\images\*.png" -tile 4x -geometry +10+10 -background white -gravity center "C:\path\to\montage.png"

Does anyone have any suggestions or a working snippet so that I can accomplish this?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)