Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf.js + turn.js Image scaling distortion #677

Open
wewwwechec opened this issue Nov 28, 2023 · 0 comments
Open

pdf.js + turn.js Image scaling distortion #677

wewwwechec opened this issue Nov 28, 2023 · 0 comments

Comments

@wewwwechec
Copy link

Now I have a difficult problem, I am using pdfjs and Turn.js to do the pdf flip effect, but the size of each page in this pdf is completely different, I also set the canvas ratio to scale, but after it is mounted, the width and length of the image will be overwritten by the turn,js container

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

No branches or pull requests

1 participant