Extract photo from Rich Text item

We are using a Notes rich text item to store photos for Sametime. Users have been using the “Create | Picture” menu options to import their pictures. Oddly enough though, the pictures are not Embedded Objects and thus cannot be accessed via Lotusscript. I have found if I export the DXL, then I see the binary data for the picture in the DXL, but that does seem to help me (or does it??)

So the question is: how can I extract these pictures from the Rich Text item so we can import them into Connections (one time).

Subject: re: Extract photo from Rich Text item

This page might help you: http://www.seancull.co.uk/Public/seancull.nsf/dx/visual-directory-thumbnails-in-the-domino-directory.htm

'This script cycles through a notesdocumentcollection

'extracts the image file from the document					

'Converts it to an XML string using the base64 script

'imports the XML as an Image resource with a name defined on the 

'original document