On 2020-11-03 00:44 -0800 adi baron wrote:
> Hello, Im new to the group.
> In my service i would need to create a PDF with external images -
> from server or file system.
> I should not embed the image inside the PDF itself.
In general a PDF includes everything to display it, so images are
always embedded. This is one of the main features of a PDF file.
> I have found *xobjects *which i believe should give solution but
> cannot find how to use it.
> Would be great if i could be reference with an example for using it.
You have found the one exception :) However, support for external Form
XObjects is marginal at best and needs to be explicitly configured in
e.g. Adobe Reader. As far as I remember you even need to explicitly
allow each domain from which an external XObject is going to be loaded.
So for this work you need control over the client's PDF reader
application and this application additionally needs to support external
Form XObjects.
If you aren't developing for a tightly controlled business environment,
you are out of luck.
The good news is that you can tell whoever told you to just link the
images that it is just not (easily) possible.
All the best,
Thomas