-
Notifications
You must be signed in to change notification settings - Fork 50
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
Low image resolution #89
Comments
Forked the git repo and changed the _drawImage() function in canvas-whiteboard.component.ts to:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using this package to load an image on a canvas and to be able to draw on it.
Using the imageUrl property works, but the rendered image is low resolution. I am setting a page of a PDF file in the imageUrl property which is working, and if I use the generated Base64 string in an online viewer, the resolution is high, but in the canvas it is not.
Is there a way to make sure that the text is rendered in high resolution?
I forked the repo to test if I could change the drawImage function, but I am stuck. Nothing that I try is working.
This is how it is rendered. You can see that the text is blurry.
The text was updated successfully, but these errors were encountered: