command line limit overflow
Posted: 2007-02-05T13:40:27-07:00
Hi,
My program uses ImageMagick with Windows command line to let user add annnotations to an image. Sometimes they add a lot of annotations and eventually the command line becomes too long and I get errors. I saw this in the IMv6 Example doc:
"The "mogrify" version is the same as the "convert" command (with no initial input images), but will but will generate automatic thumbnails of every JPEG image in the current directory. The image argument is quoted so that IM itself will scan the directory, and not the command line shell. This prevents 'line limit overflow errors' on directories containing a huge number of images."
Is there a similar solution for my problem? Like passing in a file name that contains the parameters, etc...
Thanks,
onyee
My program uses ImageMagick with Windows command line to let user add annnotations to an image. Sometimes they add a lot of annotations and eventually the command line becomes too long and I get errors. I saw this in the IMv6 Example doc:
"The "mogrify" version is the same as the "convert" command (with no initial input images), but will but will generate automatic thumbnails of every JPEG image in the current directory. The image argument is quoted so that IM itself will scan the directory, and not the command line shell. This prevents 'line limit overflow errors' on directories containing a huge number of images."
Is there a similar solution for my problem? Like passing in a file name that contains the parameters, etc...
Thanks,
onyee