Splitting a PDF by file size is one of the most practical but technically tricky operations. Unlike splitting by page count (simple math) or bookmarks (tree traversal), size-based splitting requires estimating and controlling the output size of each chunk — and PDFs don't have a simple "size per...
Source: [Dev.to](https://dev.to/sunshey/how-to-split-pdf-by-file-size-in-the-browser-with-vue-3-and-pdf-lib-901)