You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Aleksandar Simic <as...@gmail.com> on 2020/03/28 18:07:35 UTC
Rubber stamp with image
Hello pdfbox users,
I'm using this example[1] to add an image to a PDF file, but when I add the
image, the image is still movable within the PDF viewer. As in you can see
where the image is, select it and move it around.
What do I need to do, after I add the image to a PDF file, to make the
image as part of the PDF file, without the image being "movable"/modifiable?
Thanks in advance for your help
Aleksandar
1.
https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/RubberStampWithImage.java?revision=1872678&view=markup
Re: Rubber stamp with image
Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,
Yes, these are rubber stamp annotations.
To add a normal image, see the AddImageToPDF.java example.
Tilman
Am 28.03.2020 um 19:07 schrieb Aleksandar Simic:
> Hello pdfbox users,
>
> I'm using this example[1] to add an image to a PDF file, but when I add the
> image, the image is still movable within the PDF viewer. As in you can see
> where the image is, select it and move it around.
>
> What do I need to do, after I add the image to a PDF file, to make the
> image as part of the PDF file, without the image being "movable"/modifiable?
>
> Thanks in advance for your help
> Aleksandar
>
> 1.
> https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/RubberStampWithImage.java?revision=1872678&view=markup
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org