Create image file from rich text image

HI,

We have a notes database which has 20000 documents.The documents has a rich text field (UserPhoto) in which we have imported an image using import method of Notes uidocument.

Now we want to have images present in the document under the rich text field userphoto to be exported out as an image file (abc.jpg) in a particular folder in my c drive. How can this be done thru a lotus script code.

Subject: Create image file from rich text image

You can do this with LotusScript, but it is very slow!

Get the dxl from the document as a stream

find the point where the Rich text field starts

copy the “text” until the rich text field ends

then you have to base64 decode it and save the result stream as a Jpg.