You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Constantine Dokolas <cd...@gmail.com> on 2018/05/16 09:41:04 UTC

Renaming resources in a page

I want to rename image resources in a page so that they have names like
"img01", "img02", etc. Is it simple, or do I have to dig for all references
in the content stream(s) and change them as well? If that's necessary, is
there anywhere else that may be needed?

Thanks in advance,
Constantine
-- 
There is a computer disease that anybody who works with computers knows
about. It's a very serious disease and it interferes completely with the
work. The trouble with computers is that you 'play' with them!
- Richard P. Feynman

Re: Renaming resources in a page

Posted by Constantine Dokolas <cd...@gmail.com>.
On Wed, May 16, 2018 at 1:24 PM Tilman Hausherr <TH...@t-online.de>
wrote:

> Am 16.05.2018 um 11:41 schrieb Constantine Dokolas:
> > I want to rename image resources in a page so that they have names like
> > "img01", "img02", etc. Is it simple, or do I have to dig for all
> references
> > in the content stream(s) and change them as well? If that's necessary, is
> > there anywhere else that may be needed?
>
> Indeed, you'd have to change the content stream as well. I can't think
> of other things that need to be changed.
>
>
Thanks for the tip!

-- 
There is a computer disease that anybody who works with computers knows
about. It's a very serious disease and it interferes completely with the
work. The trouble with computers is that you 'play' with them!
- Richard P. Feynman

Re: Renaming resources in a page

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 16.05.2018 um 11:41 schrieb Constantine Dokolas:
> I want to rename image resources in a page so that they have names like
> "img01", "img02", etc. Is it simple, or do I have to dig for all references
> in the content stream(s) and change them as well? If that's necessary, is
> there anywhere else that may be needed?

Indeed, you'd have to change the content stream as well. I can't think 
of other things that need to be changed.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org