Skip to content

Update tkPDFViewer.py#7

Open
brotherrobot wants to merge 1 commit into
Roshanpaswan:mainfrom
brotherrobot:main
Open

Update tkPDFViewer.py#7
brotherrobot wants to merge 1 commit into
Roshanpaswan:mainfrom
brotherrobot:main

Conversation

@brotherrobot

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown

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

@jjacobson95

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants