[magick-users] Problem converting large tiff pictures
Florian Hübner
florian.huebner at psi.ch
Mon Oct 6 07:00:35 PDT 2008
duc.sequere.aut.de.via.decede at imagemagick.org wrote:
> The solution is to try the Q8 version of ImageMagick which uses 1/2 the memory
> or add more memory to your computer, or use another more memory efficient
> program.
With the help a co-worker I found one good and one excellent solution:
This one created a 6 GB temp file but it worked fast enough:
*************************************
time convert -resize 1000x800 <( tiff2ps /scratch/000.tiff )
/scratch/004.png
real 0m9.044s
user 0m7.537s
sys 0m0.670s
************************************
This solution was beyond all expectations though:
************************************
time thumbnail -h 800 -w 1000 /scratch/000.tiff /scratch/tmp.tiff ; time
convert /scratch/tmp.tiff /scratch/011.png
real 0m0.529s
user 0m0.464s
sys 0m0.062s
real 0m0.177s
user 0m0.154s
sys 0m0.019s
************************************
0.7 seconds!
Now thats impressive...
best regards
Florian
More information about the Magick-users
mailing list