I am converting lotus notes document library inline images to gif images using dxl logic of reading Filedata and converting it to base64 byte[] and creating a gif images. The conversion was working fine for all the sample but few days back we came across sample file with notesbitmap tag, after reading few forums it was mentioned that
“For the problem images in your DXL export, do they result in a element in the output, or a ? If the latter, I believe they are actually image references instead of actual images; the notesbitmap data is not a gif, but contains a binary header and URL in a Notes-specific format.”
But where can i find the URL in notes specific because when i decode the second data it gives me garbage result instead of url.
I also tried setting the ConvertNotesBitmapToGif .net property to true before conversion.
Please find the below link for sample DXL:
http://www.page-monitor.com/Downloads/Exported2.xml
Details:
xP8gAAEAAQAAAAgAAAAAAAAAAAAAAAAAU1RHNjI2NTeVACYAAAAAAAAAAAAAAAAAAAAAAAAA0wF/
AAAAAAAAAAAAAAAAAA==
is the header info i.e image name
and filedata below at the bottom
should give the URL (as per the Lotus notes forum)
Any help will really be appreciated!!
Thanks and Regards
Haseena
From http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.designer.domino.main.doc%2FH_NOTESBITMAP_ELEMENT_XML.html
Therefore, if you run
though a base64 decoder, you get
And you will find “STG62657” further down in the DXL
Which you can decode ….