Page 1 of 1

Passing options as file

Posted: 2015-05-06T01:07:47-07:00
by gprzybylowicz
Hello, I'm using ImageMagic to build spritesheets and it works great on Mac/Linux machine but i have problem on Windows. I got "Command Line too long error" that's why i want to ask if it's possbile to pass options in diffrent way?
for example as file:

Code: Select all

convert options.txt
I tried diffrent workarounds founded in Google but it didn't help ;/

Re: Passing options as file

Posted: 2015-05-06T10:08:08-07:00
by snibgo
It is often easier to put the entire command, including "convert", into a .BAT file.

Convert can read lists of images from a file. Prefix the file with @.