On 02/13/2011 12:07 PM, Cedric Sodhi wrote: > Hello, > > I've just opened a 1905835 octets big PDF of a few dozen pages, I > deleted all but 2 pages and exported to PDF again and the resulting PDF > had the incredible size of 1907121 bytes!
If you "Export to PDF", the entire initial PDF is included within the new file. The objects are not renumbered, deleted, or anything. Xournal only appends things at the end of the file. So the other pages are still there and occupy that whole amount of space. File -> Print -> Print to File -> PDF does things the other way, which might work better for you -- it distills the PDF through poppler and produces another PDF containing only the relevant pages. In most cases this will yield a file of reasonable size. (But with some specific PDF files it will fail spectacularly). Denis ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel