Skip to content
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

1-page PDF is blank when file size is greater than c.3.1MB #698

Open
AlexCT22 opened this issue Jun 26, 2024 · 0 comments
Open

1-page PDF is blank when file size is greater than c.3.1MB #698

AlexCT22 opened this issue Jun 26, 2024 · 0 comments

Comments

@AlexCT22
Copy link

I'm creating a simple 1-page PDF with the following custom dimensions:

  • width 3555px
  • height 2528px

The PDF contains some text and an image.

Everything works fine when the scale value is set to 9. The output PDF has a file size of 3.1MB. But when the scale value is set to 10 ,(i.e. the file size is slightly bigger) I get a completely blank PDF.

I do not believe this is related to the well-known max width/height canvas issue as the PDF is created successfully when the scale value is set to 9 or lower.

Just wondering if anybody else has run into this issue or may have some idea of what's going wrong?

@AlexCT22 AlexCT22 changed the title 1-page PDF is blank when file size is greater than c.3.5MB 1-page PDF is blank when file size is greater than c.3.1MB Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant