Page 1 of 1

very long command line expression problem

Posted: 2008-11-21T15:13:06-07:00
by vtv
I'm generating banners usiing IM and i have a commans so command line could be more then 8000 chars. What is the right way to workaround

this doesn't work

Code: Select all

convert @file result.jpg
for all commans that are present in @file IM outputs an erro that they are not files. and commands are like this

Code: Select all

( -page +0+0 -draw "fill-opacity 1.0 fill rgb(255,255,255) stroke rgb(255,255,255) stroke-width 1 rectangle 20,39 520,159 " ) -flatten ( -page +0+0 -draw "fill-opacity 1.0 fill rgb(0,0,0) font '/home/esellers/public_html/dev/fonts/arialbd.ttf' font-size 17.78 font-style normal font-stretch semi-expanded text 254,19 'buy' " ) -flatten ...
Any ideas how to fix it?

Re: very long command line expression problem

Posted: 2008-11-23T01:12:27-07:00
by anthony
It depends on what is causing the command line length problem.

At the moment you can not read operations from a file. This is a proposal that is being put forward for IM version 7, But essentially requires a re-working of the command line API interface to allow the use of files for operations, and the discontinuation of the legacy command line system.