It may be that the producer of the PDF made all the resources shared 
across all pages - instead of making them page-centric.   In that case, 
when any page is copied (either via XObject or standard page copying) the 
entire set of resources comes along.  That’s how PDF object copying is 
done.  

Sounds like you need a PDF optimizer (or some special software) that will 
remove unused objects.

Leonard




On 1/8/15, 1:11 PM, "Yuliana Zigangirova" <zigangir...@inbox.ru> wrote:

>Ok, I have tried to copy pages from document1 to document2 with 
>InsertPages;
>You are right,  there is no XObject wrapping, but I have found out 
>another problem.
>I took a 20 000-pages-large PDF,  which is ~43 MB heavy  and have copied 
>10 pages
>into another newly created PDF.  The resulting PDF is also 43 MB big, 
>although
>it really has only 10 pages.  Is it normal?  Does PODOFO just change the 
>references,
>but leaves all other pages  and all resources untouched?
>Thank you for your help,
>Yuliana
>
>
>Am 04.01.2015 um 06:11 schrieb Leonard Rosenthol:
>> Page-level copying has nothing to do with Xobject wrapping.
>>
>> Leonard
>>
>>
>>
>>
>> On 1/3/15, 2:36 PM, "Yuliana Zigangirova" <zigangir...@inbox.ru> wrote:
>>
>>> Hello everyone!
>>> I am looking for a way to split an existing pdf document into the
>>> smaller ones
>>> without wrapping each page into a new XObject wrapper.  The reason for
>>> this
>>> is to obtain more simple pdf structure as well as more efficient
>>> resources handling.
>>>
>>> I have found a similar thread here where Leonard Rosenthol says "you 
>>>can
>>> just copy a page".
>>>
>>> http://sourceforge.net/p/podofo/mailman/message/26740244/
>>>
>>> What does it  mean?  If I create an empty pdf and add necessary
>>> pages with "insertPages" - will each page be wrapped into a new XObject
>>> with all related resources included?  Or will all pages be wrapped into
>>> a single
>>> XObject with all necessary recources being also included just once for
>>> all pages?
>>> Or is there any other way to copy pages
>>> without XObject wrapping and  multiplicating resources?
>>> Thank you very much in advance for your help,
>>> Yuliana
>>>
>>> 
>>>------------------------------------------------------------------------
>>>--
>>> ----
>>> Dive into the World of Parallel Programming! The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. 
>>>Take a
>>> look and join the conversation now. http://goparallel.sourceforge.net
>>> _______________________________________________
>>> Podofo-users mailing list
>>> Podofo-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to