Roshanpaswan / tkPDFViewer

The tkPDFViewer is python library developed by Roshan Paswan, which allows you to embed the PDF file in your tkinter GUI.
MIT License
14 stars 9 forks source link

Update tkPDFViewer.py #7

Open brotherrobot opened 2 years ago

brotherrobot commented 2 years ago

Updated according to usage found here: https://pymupdf.readthedocs.io/en/latest/tutorial.html getPixmap() now get_pixmap() getImageData now tobytes

terdinatore commented 1 year ago

@Roshanpaswan Could pull this into the module? Your module is completely broken without this. Cheers,

jjacobson95 commented 1 year ago

Please spend 12 seconds to log on and merge this. I've tested this as well. Your current module doesn't work due to a pixmap change which this fixes.

jjacobson95 commented 1 year ago

Update - I just cloned this, made the change, and created a pypi package called tkPDFViewer2. Feel free to download. I can remove this if @Roshanpaswan ever becomes active again.

https://pypi.org/project/tkPDFViewer2/