I’m using PDFKit in nodejs. When you add some content (images, in my case) that overflows the page it’s added on, pdfkit will automatically add a new page. I need to prevent that, and I couldn’t find how to do it. Another way would be to remove the added page, but here again, I couldn’t find how to remove a page with PDFKit. Any ideas?
I searched the docs, studied the source code, but couldn’t find anything.