Page 1 of 1

mogrify file number limit

Posted: 2015-11-22T13:45:24-07:00
by schel4ok
Hi,

It seems that mogrify has file number limit per directory.
Because I have one directory with 3335 pictures and mogrify always returns me line 4: /d/openserver/modules/imagemagick/mogrify: Bad file number

I checked that when I have more than 742 files in directory then I always got this error. But when I move the rest files to another directory there is no this error.

Is it possible to increase this limit?

Re: mogrify file number limit

Posted: 2015-11-22T14:33:59-07:00
by fmw42
You could write a script to loop over each image in the directory and use convert to process them. You should also provide your IM version and platform. Perhaps an upgrade of IM might work better.

Re: mogrify file number limit

Posted: 2015-11-24T12:58:58-07:00
by schel4ok
$ convert -version
Version: ImageMagick 6.8.9-9 Q16 x86 2014-10-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib

Re: mogrify file number limit

Posted: 2015-11-24T13:02:28-07:00
by fmw42
What is your platform?

One of the IM developers will need to reply about the file number limitation you are encountering with mogrify.

Re: mogrify file number limit

Posted: 2015-11-24T13:14:16-07:00
by schel4ok
I use Open Server 5.2.2 from http://open-server.ru/