Page 1 of 1

Sending a file of commands to imagmagick

Posted: 2011-11-19T18:29:49-07:00
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.

Re: Sending a file of commands to imagmagick

Posted: 2011-11-20T12:56:18-07:00
by weedeater64

Re: Sending a file of commands to imagmagick

Posted: 2011-11-20T13:45:05-07:00
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.