nycynik / PythonPDFtoPNG

Converting a PDF to a PNG using wand, pythonMagic and PythonMagicWand as a comparison
GNU General Public License v3.0
16 stars 6 forks source link

Convert long pages of pdf #1

Open pilgrim2go opened 7 years ago

pilgrim2go commented 7 years ago

Hi,

Thanks again for your sharing ( http://mikelynchgames.com/software-development/using-wand-to-extract-pngs-from-pdfs/)

I'm able to convert a 28-pages pdf to 28 images. The ugly thing is the image quality is not so good ( and I can't extract text from image). Do you have any tips to improve the quality of image ( per page)? Something like convert 2 images per page? increase resolution? I tried to use SingleImage but failed for now.

Thanks again.

nycynik commented 3 years ago

The original quality of the PDF matters, but it's using the raster images for the PDF rendering. Can you share the PDF?