convert better performance
Posted: 2009-09-17T05:56:41-07:00
Hello guys,
I'm trying to see how to convert a .pdf to individual .jpg page as fast as possible.
I've tried:
convert -verbose -adaptive-resize 1500x1500 -colorspace RGB -antialias -density 150 ects.pdf ects.jpg
and I got pretty good results (25 seconds, on my benchmark .pdf file). All the options there give a satisfying resulting .jpg (readable even when zooming).
Can I somehow get this done in less than 25 secods ?
I've tried using ghostscript directly to split the image and mogrify for resize, but added up, the process is slower than "convert".
2nd problem is that "convert" eats many resources. I tried with a 300page .pdf and CPU and RAM usage went crazy (100%) and it froze.
Thanks.
I'm trying to see how to convert a .pdf to individual .jpg page as fast as possible.
I've tried:
convert -verbose -adaptive-resize 1500x1500 -colorspace RGB -antialias -density 150 ects.pdf ects.jpg
and I got pretty good results (25 seconds, on my benchmark .pdf file). All the options there give a satisfying resulting .jpg (readable even when zooming).
Can I somehow get this done in less than 25 secods ?
I've tried using ghostscript directly to split the image and mogrify for resize, but added up, the process is slower than "convert".
2nd problem is that "convert" eats many resources. I tried with a 300page .pdf and CPU and RAM usage went crazy (100%) and it froze.
Thanks.