While testing the Foxit PDF Software on Mac, I noticed that the test which removes a page from a document produces an output document with one fewer page (correct), but the file sized is bigger: ./samples/simple_sample/bin/rel_gcc/pdfpage_organization
$ ll ./samples/simple_sample/input_files/SourcePage.pdf
[email protected] 1 eff staff 92K Dec 17 2013 ./samples/simple_sample/input_files/SourcePage.pdf
$ ll ./samples/simple_sample/output_files/pdfpage_organization/SourcePage_delete.pdf
[email protected] 1 eff staff 96K Jun 22 20:23 ./samples/simple_sample/output_files/pdfpage_organization/SourcePage_delete.pdf
When I open the file to view the contents, SourcePage_delete has one fewer page, but is 4k bigger than SourcePage.pdf. (96k v 92K)
Why is this? How can the code be changed to not produce this effect?
$ ll ./samples/simple_sample/input_files/SourcePage.pdf
[email protected] 1 eff staff 92K Dec 17 2013 ./samples/simple_sample/input_files/SourcePage.pdf
$ ll ./samples/simple_sample/output_files/pdfpage_organization/SourcePage_delete.pdf
[email protected] 1 eff staff 96K Jun 22 20:23 ./samples/simple_sample/output_files/pdfpage_organization/SourcePage_delete.pdf
When I open the file to view the contents, SourcePage_delete has one fewer page, but is 4k bigger than SourcePage.pdf. (96k v 92K)
Why is this? How can the code be changed to not produce this effect?
Comment