[PyQt] visualizing PDF files in PyQT WIndows

Jeremy Sanders jeremy at jeremysanders.net
Mon Apr 18 10:55:00 BST 2011


Gelonida G wrote:

> Is there any recommended way to visualize PDF files with PyQT under
> Windows?

There's the poppler library, if you don't mind a GPLv2 library. There's a 
python interface to this 
http://svn.pardus.org.tr/uludag/trunk/playground/pypoppler-qt4/ (I haven't 
used this). There's also the muPDF library, but I don't know python 
wrappers.

Alternatively you could just use ghostscript to render each page to a bitmap 
file and make a simple bitmap viewing window in PyQt.

Jeremy 

-- 
http://www.jeremysanders.net/



More information about the PyQt mailing list