[CLOSE]Optimise Convert
Posted: 2014-11-07T04:00:48-07:00
Hello,
I have some PDG with ~100 pages to convert on 3 differents size JPG, my server take 1h30-2h to create the picture.
I have three command to done this :
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 200x266 -interlace none -density 72 -quality 80 c:\jpg\200_266_page.jpg"
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 1536x2048 -interlace none -density 72 -quality 80 c:\jpg\1536_2048_page.jpg"
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 2048x2730 -interlace none -density 72 -quality 80 c:\jpg\2048_2730_page.jpg"
This commands are called by a script php with the command exec.
The limit memory and map seems don't work
Do you an idea to help me to optimize my job
Thanks a lot
I have some PDG with ~100 pages to convert on 3 differents size JPG, my server take 1h30-2h to create the picture.
I have three command to done this :
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 200x266 -interlace none -density 72 -quality 80 c:\jpg\200_266_page.jpg"
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 1536x2048 -interlace none -density 72 -quality 80 c:\jpg\1536_2048_page.jpg"
C:\ImageMagick\convert.exe -limit memory 12GiB -limit map 12GiB -density 300 c:\1.pdf -resize 2048x2730 -interlace none -density 72 -quality 80 c:\jpg\2048_2730_page.jpg"
This commands are called by a script php with the command exec.
The limit memory and map seems don't work
Do you an idea to help me to optimize my job
Thanks a lot