> On 11 Nov 2015, at 23:53, Hartmann Toël <[email protected]> wrote:
> 
> 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) 
> 
> 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.

It should be possible to replace just the logo with a bitmap, rather than the 
entire page.

— John

> 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]

Reply via email to