I need to save excel file to htm, the images in excel will be saved as files in disk drive, the htm file contains image file reference , so the result will be multiple files.
This is not convenient when pblishing to website or email to others, so I study the htm file with notepad, I find it seams contains image data already in format base64 in <v:shape o:gfxdata> elemnets, like this:
<v:shape id="picture_x0020_2" o:spid="_x0000_s2052" type="#_x0000_t75" alt="1.PNG" style='position:absolute;margin-left:0;margin-top:0;width:96pt;height:1in;z-index:1;visibility:visible' o:gfxdata="UEsDBBQABgAIAAAAIQBamK3CDAEAABgCAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRwU7DMAyG
70i8Q5QralM4IITW7kDhCBMaDxAlbhvROFGcle3tSdZNgokh7Rjb3+8vyWK5tSObIJBxWPPbsuIM
I want to know if there is any way to use these imagedata directly in htm file? If it's the true, the image file and the reference can be deleted, the result will be single htm file. It's will be very kind.
Thanks a lot.