Sending a file of commands to imagmagick

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
jigidyjensen
Posts: 1
Joined: 2011-11-19T18:24:38-07:00
Authentication code: 8675308

Sending a file of commands to imagmagick

Post by jigidyjensen »

Is it possible to send a file of commands to imagemagick convert? The problem I am running into is that the commands I am sending are too long to do by the shell as I am running into problems.
weedeater64
Posts: 5
Joined: 2011-11-16T17:50:06-07:00
Authentication code: 8675308

Re: Sending a file of commands to imagmagick

Post by weedeater64 »

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Sending a file of commands to imagmagick

Post by fmw42 »

I am no expert on this, but I think it depends upon what you are trying to do and how big the file is (and your platform limitations). The file may be parsed into a string and then your run into the same problem. I think this will be fixed for IM 7. However on such matters I will defer to the IM developers. Perhaps you should explain a bit further what you are trying to do and show the kind of command line you are using, ie. what command options. If you have a lot of images to process, then you may be able to use mogrify.
Post Reply