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?
mogrify file number limit
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: mogrify file number limit
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
$ 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
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
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: mogrify file number limit
What is your platform?
One of the IM developers will need to reply about the file number limitation you are encountering with mogrify.
One of the IM developers will need to reply about the file number limitation you are encountering with mogrify.
Re: mogrify file number limit
I use Open Server 5.2.2 from http://open-server.ru/