On 11/26/11 11:22 PM, "[email protected]" <[email protected]>
wrote:

>On Sat, 26 Nov 2011 15:28:03 -0800
>Leonard Rosenthol <[email protected]> wrote:
>
>>>That's certainly one way to do it, though not the only way.
>
>You could, I suppose, just copy the source page stream into the
>destination page stream, surrounded by the appropriate transform
>operators.

It's a bit more complex than that - but that's the "gist".


>I should say that one of the intended applications for this program
>would be, for example, to lay out a 3*4 array of a single business card
>image on a letter-size sheet of paper.

OK - that can be done either way.


>Using XObjects would seem to be
>the only way to do that without bloating the file size by a factor of
>twelve, unless I'm missing something.

You are probably missing a lot, since there isn't anything that would
imply that one method would necessarily bloat over the other - given
proper and complete implementation.  Certainly, a quick & dirty
implementation w/o consideration for all potential "bloat factors" would
lead to that - but you have a higher chance of that happening with the
Xobject model than other models.


>Do you have any suggestions as to how to fix the program I presented in
>my first message? I suspect that the source XObject needs to be added to
>the destination page dictionary, or something like that, but I'm not
>quite clear on how to do that, as with the two lines which have been
>commented out.

It needs to be added to the Resources dictionary of the page - but aren't
there methods for that.

I still don't understand why the infrastructure of podofoimpose won't work
for you.  Or why it couldn't be modified to work?


Leonard


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to