-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
JsPDF creating empty pdfs. #2833
Comments
Please share a code snippet to reproduce. |
{
for saving |
Try using the data url directly without removing the |
Tried using data URL directly but still creating empty pdf. |
Does the image size matter? when iam using imagecapture API to takePhoto base64 of the image is is close to 50kb could that cause problems? Also what is Compression in addImage() function for? |
@subhapoduri is this still an issue? |
No ,it is not an issue anymore. I found a workaround. |
Hi,
Iam using Imagacapture API 's takePhoto() funtion which returns a image blob. Then iam converting this to base64 string and sending to jsPDF addimage . But when i say pdf. Save it creates pdf with correct no of pages but with no images in it. I didn't have this issue when i was using canvas to create images.
The text was updated successfully, but these errors were encountered: