-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
[Help] Issue with embedding images converting pdf. #1577
Comments
I have the same problem with my code, it gets blank page every time |
Hello! maybe when you call page.drawImage(image) you should add parameters like position x and y, width , height and rotation angle. |
In my case, the image file uploaded had wrong format by checking its binary data, so it got blank after converting. The code seems to be fine till now. |
Thank you for the reply. I got the problem solved! |
What were you trying to do?
I am trying to create a pdf file from multiple images.
How did you attempt to do it?
Sometimes the downloaded pdf is blank.
What actually happened?
I was still a beginner and didn't understand anything. Please help me.
What did you expect to happen?
I thought it would download properly.
How can we reproduce the issue?
sry I can't reproduce it yet.
Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
No response
The text was updated successfully, but these errors were encountered: