While converting files using the -despeckle option, the process took up to 15 minutes for some wmz files, resulting in memory usage of 240MBytes and more. The limit settings were ignored.
Code: Select all
c:\temp>"c:\temp\convert.exe" +adjoin -resize "2048x2048>" -edge 0 -
negate -despeckle -sharpen 2 -depth 8 -limit map 20mb -limit memory 20mb -limit area 50m
b -limit disk 1mb "c:\temp\$TE56rho\image005.wmz" pnm:"c:\temp\$TE56
rho\PNM\image005.wmz_2pass2.pnm"
As soon as the -despeckle option was removed, the -limit settings were honored immediately:
Code: Select all
c:\temp>"c:\temp\convert.exe" +adjoin -resize "2048x2048>" -edge 0 -
negate -sharpen 2 -depth 8 -limit map 20mb -limit memory 20mb -limit area 50mb -
limit disk 1mb "c:\temp\$TE56rho\image005.wmz" pnm:"c:\temp\$TE56rho
\PNM\image005.wmz_2pass2.pnm"
convert.exe: Cache resources exhausted `c:/temp/magick-3y9t5DzL' @ cache.c/OpenPixelCache/3838.
convert.exe: Cache resources exhausted `c:/temp/magick-3y9t5DzL' @ cache.c/OpenPixelCache/3838
`(null)' @ wmf.c/ReadWMFImage/2749.
convert.exe: Cache resources exhausted `c:/temp/magick-3y9t5DzL' @ cache.c/OpenPixelCache/3838.
Code: Select all
C:\temp>"C:\Program Files\ImageMagick-6.5.3-Q16\identify.exe" C:\temp\$TE56rho\image005.wmz
C:\temp\$TE56rho\image005.wmz=>C:/temp/magick-vtndjHgv WMF 12000x6030 12000x6030+0+0 16-bit DirectClass 17.8kb