Hi,
I have to extract inline images from a email using java DIIOP.
I have tried to access the embedded objects present in body RichText filed. It is not present in them.
I have tried to access the attachments to the document. It is not present in that.
I managed to get the images by extracting dxl from the document. But getting dxl is taking considerable time. It has performance impact on my application.
Is there any other approach in which I can extract the inline images from email using java DIIOP API.
Subject: Post your DXL code
maybe your code is inefficient?
Subject: my DXL code
I am using the following code to create dxl string.
DxlExporter exporter = session.createDxlExporter();
exporter.setConvertNotesBitmapsToGIF(true);
String dxl = exporter.exportDxl(document);
It is taking around 2 seconds to return dxl string for an email having multiple inline images with total size around 20 Mb
Subject: DXL is not that fast
I think 2 seconds for an 20 MB mail with pics is not that slow. I wrote an ImageFilter app in LotusScript using DXL to parse mail destined for a help desk system, which filters images so duplicates are filtered.
I looked at the log and processing a mail with 24 images (mostly small logo’s clogging up the helpdesk) took around 2 secs.