Am 12.11.2015 um 09:48 schrieb Hartmann Toël:
Keeping the quality at zooming is not a requirement: the pdf are to be printed
and the bitmap has sufficient quality for printing.
How is it possible to identify the vector logo and replace it with the bitmap?
I have some example files if you want.
This depends on the file... yes, please upload one. Ideally, the
sequence is in an XObject Form. That would would then be replaced with
an XObject Image of the same size.
If the sequence isn't in an XObject Form, then one would have to analyse
the content stream.
Tilman
/Toël
On 12 nov 2015, at 09:14, Tilman Hausherr <[email protected]> wrote:
Am 12.11.2015 um 08:53 schrieb Hartmann Toël:
We have (a lot) of customer pdf with som over complicated logotype in vector
graphic.
This image takes a lot of time and memory to process for the different parser
implementations. (gs, and even professional printing systems)
replacing that will result in less quality when printing unless the logo
is really simple, i.e. would look identical at any zooming.
Tilman
I was hopping to be able to search for the vector logo in the pdf, replace it
with a rendered image and save the document back as a pdf.
Rendering to a image and replacing the page is interesting but will make
eventual editing of the pdf difficult.
What do you think?
/Toël
On 12 nov 2015, at 08:34, John Hewson <[email protected]> wrote:
On 11 Nov 2015, at 22:54, Hartmann Toël <[email protected]> wrote:
Hi,
Is it possible to replace a vector image with a bitmat in a pdf using pdfbox?
Yes, it should be. You can render a PDF page to an image, so if you know which
portion of the page you’re interested in then you could insert that into the
original
PDF in place of the vector content. I’m not sure why you’d want to do that, but
I suppose there’s a good reason.
— John
Best regards
Toël Hartmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]