[magick-users] Antialiased PDF rasterization
Andy Goth
unununium at aircanopy.net
Sun Mar 8 03:28:17 UTC 2009
"duc sequere aut de via decede" <duc.sequere.aut.de.via.decede at imagemagick.org> wrote:
> The solution to readable PDF to PNM conversion is supersampling as
> you suggested. We typically use this command:
>
> convert -density 400 -colorspace rgb ENR_L17.pdf -resize 25% ENR_L17.ppm
Wouldn't this give me 100dpi? I ran this command, and it works. I can't inspect the output image just now, but I did see that it takes two hours. Only one hour was user time, so I guess it spent the other hour swapping. Adding RAM should fix that.
I tried -density 600 on two computers, but the gs process failed. I didn't get diagnostics indicating exactly what went wrong.
If this is due to a memory size limit, would it be possible to do the conversion in multiple passes? If I can get it to do the top and bottom halves as separate jobs, then I can make it run on two computers at the same time.
> In regards to speed, sometimes its as simple as having a modern
> processor with plenty of memory.
If I determine that one or more super-beefy computers are required for this operation, then I'll simply add it to the customer's cost. :^) But if I find that the work can't be done in a reasonable amount of time, then it is a lost business opportunity.
--
Andy Goth | http://andy.junkdrome.org./
unununium@{aircanopy.net,openverse.com}
More information about the Magick-users
mailing list