Re: Insert Image to Word from XML image binary string



Hi =?Utf-8?B?TWFyY2VsIEdyaWVkZXI=?=,

> I have an XML structure with several images as binary strings in it. These
> images should now be entered into word, but i don't cannot use vba. I am only
> able to insert (paste) strings into word.
>
> Is there a possibility to insert this image into word, maybe with some
> control characters leading, that indicate, that a picture is coming?
>
No, Word has no way of interpreting graphics data coming in that way. Word needs
to use a graphics filter to insert a picture into a document. The graphics
filter is only available when inserting a picture from a file saved to disk, or
when pasting from the clipboard.

Word 2003 is capable of exporing graphics to Base64 and, I suppose, of picking
them up that way if they're properly embedded in a WordProcessingML string,
using VBA. But how to do this isn't documented.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: scrolling issues
    ... resolution then the images could be several megabytes big. ... smaller the picture, ... Optimizing and how best to use graphics is one of the most important topics ... At the minimum use the Compress graphics features. ...
    (microsoft.public.publisher.webdesign)
  • Re: Why would compress picture in Word not have any effect ?
    ... It did not work on a bigger file with 16 similar images. ... Open the "source" image up in a graphics program to find the number of ... won't be able to compress it further (unless you compress it to 96dpi...the ... Even using the lowest setting and a single picture it ...
    (microsoft.public.word.drawing.graphics)
  • Re: scrolling issues
    ... The size of your picture FRAME is 2X3, ... resolution then the images could be several megabytes big. ... Optimizing and how best to use graphics is one of the most important topics ... At the minimum use the Compress graphics features. ...
    (microsoft.public.publisher.webdesign)
  • Re: Decrease file size of Word2002 table doc ? Pictures already compr.
    ... Preview Picture: Clear the check box on the Summary tab of File | ... accept or reject all changes, then turn Track Changes ... Embedded graphics: When feasible, it is preferable to link the graphics. ... I have compressed the still images but still ...
    (microsoft.public.word.docmanagement)
  • visible cosmic network of deep sky filaments ("Murray mesh") as redshifted hard gamma radi
    ... visible cosmic network of deep sky filaments as redshifted ... discernable with patient scrutiny of almost all deep sky images at visible ... Click on the thumbnail photos to get the photos, ... fundamental strings could have been produced in the early ...
    (sci.astro.amateur)