I have a java agent which uses iText to convert a notes form into a pdf. This all works fine.
I would like to get users to attach files to the form and for these to be incorporated into the final pdf. If I do it as follows:-
Image img1 = Image.getInstance(“http://server/db.nsf/0/unid/$File/joker.jpg”);
I get a “not a recognized imageformat.” error in the server log. If i access the same image from the server
Image img1 = Image.getInstance(“d:/lotus/domino/pics/joker.jpg”);
It works perfectly. I have tried it with gifs and I have also tried adding “?OpenElement&FieldElemFormat=jpg” to the end and it makes no difference.
Can anyone shed any light on why this is failing?
TIA
Sarah Benwell