When I split a PDF with regular texts inside then its splitting perfectly. But if it contains images, graphs etc then the split files geting bulky.
i.e. the main file is 1 MB , 49 pages .
I am splitting it into 2 files of 25 pages and found both the files coming as 1 MB each.
Why the split files are getting bulkier than the original ? Is there any way by which I can compress the size ?
This is a BIG problem for me when I split a bigger file of 10 MB and finding 2 files with 10 MB each.
Code Template :
PdfFileEditor pdfFileEditor = new PdfFileEditor();
pdfFileEditor.extract(inputFile, pageArray, splitFileName);
I am using Java 2.7.0, pdf kit 3.7.0. I tried the Settings.setCompressionLevel() but didn't get any success.