Passing options as file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
gprzybylowicz
Posts: 1
Joined: 2015-05-06T00:56:51-07:00
Authentication code: 6789

Passing options as file

Post 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 ;/
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Passing options as file

Post 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 @.
snibgo's IM pages: im.snibgo.com
Post Reply