Image from external site
PDFsharp is a .NET library for creating and modifying PDF documents.
Brought to you by:
pdfsharp,
stefan_lange
Hello,
I have a problem with the path, because images that I must include in the PDF come from another location (like "http://society.commonfiles/images"), but when I try to call them, I have an error (URI formats are not supported).
Is it possible to use URI formats or how can I do to call external images ?
Thanks,
Awena
Hi,
I suggest you to temporarly download them so you can work on a local copy of the images.
Best regards,
Rémy E.
Hi,
I think it is the last solution, but not the best because these pictures are very big. I take this solution expecting a relase :-)
Thank you very much for your response.
Regards,
Awena
Hi!
awena wrote:
"I think it is the last solution, but not the best because these pictures are very big. I take this solution expecting a relase :-)"
The picture must be downloaded - how could it be included in the PDF file w/o download?
If it was referenced in the PDF file (not sure if this can be done), then it would have to be downloaded on the client computer (which would fail if the client has no connection to the internet). The client would have to download very big pictures ...
PDFsharp could download the image for you and reduce its size for you (size optimization is on our wish list, but not yet scheduled) ...
... but currently it's your turn to download the file and eventually reduce its file size.
I don't think this is the last solution, but a good solution (or am I missing something?).