You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Images set to fit get cut off when they reach the end of the page - is there a solution in place? #1624
Not sure where this belongs - either a feature request or less likely, a bug...
I have a bunch of text on the pdf and then I immediately follow it with moveDown (with a value of 1). And then I insert 2 images (for testing purposes, they're both 3840px x 2160px).
The 2nd image gets cut off at the end of the page.
Is there an easy way to tell pdfkit to "move this image to a new page if there's not enough vertical white space for it to fit?"
The hacky solution is to put each image on a new page, but this isn't ideal.
Activity