So what you are saying is this:
If i decide to do any transformation on my image or other element this will
not work correctly?
I am aware i do have to adjust the matrix, but i was not aware i did have to
alter the bbox.(although i do understand why)
On Tue, May 6, 2008 at 3:33 PM, Leonard Rosent
It's not the resources that are the issue - you are correct, you
could leave them alone...
It's the matrix and BBox that are most important, as those values are
actually used when processing the content. So if you change the size
and/or transformation of the content inside the XObject - it
Quoting Leonard Rosenthol <[EMAIL PROTECTED]>:
> Provided that you replace the ENTIRE object (with all associated
> elements in the dictionary), then it should be fine to replace Form
> XObjects as well.
Why is this important?
Suppose that your original XObject uses a font Helvetica,
referred to
Provided that you replace the ENTIRE object (with all associated
elements in the dictionary), then it should be fine to replace Form
XObjects as well.
Leonard
On May 5, 2008, at 11:43 AM, Lars Eirik Rønning wrote:
Thanks Leonard.
Would you or anyone else care to elaborate on your statement
Thanks Leonard.
Would you or anyone else care to elaborate on your statement "The
replacement works fine for raster images, but not for the Form XObjects".
In my case I know that there will either be Xobject of the subtype image or
form. I also need to be able to replace existing text (from illustr
Lars Eirik Rønning wrote:
> Thanks again.
> I have to admit i am not aware how one can influence the creation of an
> XObject with a explicit /OC entry using Acrobat or Illustrator.
> Are you able to help me with pointers on this issue?
I'm sorry, I hardly ever use Acrobat and I don't have Illust
You can't influence either - they will do what they want when
authoring. So you'll need to write more complex code to deal with
the problem...
Remember that XObjects can either be simple raster images OR complex
"mini-PDFs". The replacement works fine for raster images, but not
for the
Thanks again.
I have to admit i am not aware how one can influence the creation of an
XObject with a explicit /OC entry using Acrobat or Illustrator.
Are you able to help me with pointers on this issue?
Also I had a look at your receipe for finding the object's corresponding
layer and it was simil
Lars Eirik Rønning wrote:
> I fully understand your concern when it comes to the possibility of
> destroying the output, however in our case we have full control of the
> original pdf that will be read.
OK.
> The idea is that someone with esthetics produce a nice pdf.
I have a counter-question
OK, thanks for the great help.
I fully understand your concern when it comes to the possibility of
destroying the output, however in our case we have full control of the
original pdf that will be read.
The idea is that someone with esthetics produce a nice pdf.
This pdf will then be opened and imag
Lars Eirik Rønning wrote:
> Each xobject in my pdf is placed on its own layer.
I was going to say: that's where you're wrong.
But you aren't. It's a matter of interpretation.
Let's have a look at this snippet:
/OC /MC0 BDC
q
0 841.89 595.276 -841.89 re
W n
q
1 0 0 -1 283.7324219 393.2568359 cm
/
Each xobject in my pdf is placed on its own layer.
The strange thing is that i am not (allthough i have read about this before)
able to find a reference to the oc in either of the objects streams.
The pdfs are genreated from Adobe Illustrator.
Any idea why the oc reference is left out?
Btw i do me
Lars Eirik Rønning wrote:
> Hi.
> Is there an easy way to retrieve the part of the page content stream
> which indicate the reference to a given ocg(layer)
I guess you are looking for something like PRTokeniser;
but I wouldn't say that offers an easy way to retrieve
the operators and operands mar
Hi.
Is there an easy way to retrieve the part of the page content stream which
indicate the reference to a given ocg(layer)
The stream of a give page is included below:
/OC /MC0 BDC
q
0 841.89 595.276 -841.89 re
W n
q
1 0 0 -1 283.7324219 393.2568359 cm
/Fm0 Do
Q
EMC
/OC /MC1 BDC
Q
q
0 841.89 595.
14 matches
Mail list logo