pdfseparate + pdfunite produce new file with size different of the file original
File example: exampleFile.pdf with 54.8KB
The problem is when executes the commands:
pdfseparate -f 1 exampleFile.pdf %d.pdf
pdfunite 2.pdf 3.pdf 4.pdf 5.pdf 6.pdf 7.pdf 8.pdf 9.pdf 10.pdf exampleFile1.pdf
pdfunite 1.pdf exampleFile1.pdf finalExample.pdf
The final files size for exampleFile1.pdf and finalExample.pdf files are 155.5KB
and 162.6KB
, respectively.
As our system saves the last file (finalExample.pdf
) for other editions, this increase in file size after using the commands (pdfseparate
and pdfunite
) caused a performance issue in the pdfseparate
command itself, due to the file size getting in MB(megabytes).