Open YutoOikawa opened 7 months ago
I have the same problem with my code, it gets blank page every time Did you find any solution to this problem?
Hello! maybe when you call page.drawImage(image) you should add parameters like position x and y, width , height and rotation angle.
I have the same problem with my code, it gets blank page every time Did you find any solution to this problem?
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.
Hello! maybe when you call page.drawImage(image) you should add parameters like position x and y, width , height and rotation angle.
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