Skip to content

Unrelated Error Message when canvas size is 0 #3147

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

Closed
ekorian opened this issue Apr 26, 2021 · 1 comment · Fixed by #3150
Closed

Unrelated Error Message when canvas size is 0 #3147

ekorian opened this issue Apr 26, 2021 · 1 comment · Fixed by #3150

Comments

@ekorian
Copy link

ekorian commented Apr 26, 2021

When calling addImage on a jsPDF instance with canvas sizes to 0, the error message states that the format is not supported. It should probably be something like: "Cannot add empty canvas to PDF"

@HackbrettXXX
Copy link
Collaborator

Pull requests are welcome :)

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

Successfully merging a pull request may close this issue.

2 participants