Importing JPEG via Session Backend

I am looking for any practical way / work-around to IMPORT a graphic (jpg, png,) into a notes document in its rendered form (i.e. not as an attachment or imbedded object) via background / session LotusScript. There is a way to do this in notesUIdocument context via uidoc.import() but it appears to be impossible to insatiate that context via background agent.

I have read that it is possible to do this via “Rich Text LSX” toolkit but the licensing cost is prohibitive.

I have heard that it is possible to do this via the toolkit, but I will admit to a knowledge gap in the LN API.

Any pointers, work-arounds, tricks, techniques, are greatly appreciated.

Subject: You can always try out DXL, which will let you import images … read a series of blog entries at my blog

With DXL and LotusScript you can to a very high degree control both import and layout of images. I have created a series of articles that you can read here discussing DXL and images.

If you want to make somewhat simpler for you, and don’t mind a fair priced commercial DLL, you can always check out Import Image 2 Lotus Notes, which is a DLL that you via LotusScript can do many fun image tricks with.

Bob, author of II2LN

Subject: …well if you run your client on Windows, that is.

DXL importer seems to be unsupported on Linux, not sure about Mac, though. Not speaking about DLLs…

Subject: DXL is supported on most platforms

including Windows, Linux, AIX, Solaris, IBM i, and possibly others I’m forgetting. It’s not supported on the Mac.

Subject: Sorry, my bad…

There used to be a problem with DXL import in 7.x on Linux. Haven’t checked this lately…Turns out it works just fine now.