Image Conversion Limited to 100 files? (Windows)
Posted: 2019-01-28T07:16:10-07:00
Hi, I have been attempting to use Imagemagick to automate some basic image manipulation. I am reducing the width and height of each image using the shave command, taking one pixel off all sides. The command I am using is as follows:
This command works fine as long as the total number of input images are less than or equal to 100, numbering the output images in the range "montage_0.png" to "montage_99.png". However, the command refuses to exceed this limit. Changing the percent character to "%f" changes the format to hexadecimal, but the total file amount is still capped at 100. When researching, I noticed that there is a environment variable MAGICK_LIST_LENGTH_LIMIT which seems to be what I am after, but it is unclear to me how I would change this parameter. I tried adding said parameter to configure.xml but it didn't seem to have any affect. Is this parameter the limit that I am experiencing? If so, why is it limited to 100 images by default? How would I change this parameter to something like, say, 256?
If it is relevant, I am running this from a Powershell script in conjunction with other commands but even when written directly into the command line I still get the image limit. I used the default Windows precompiled binary with the installer. My magick version is the latest posted, 7.0.8-25-Q16 64 bit.
Code: Select all
magick convert 3_?_?.* -shave 1x1 montage_%d.png
If it is relevant, I am running this from a Powershell script in conjunction with other commands but even when written directly into the command line I still get the image limit. I used the default Windows precompiled binary with the installer. My magick version is the latest posted, 7.0.8-25-Q16 64 bit.