Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

How to Retrieve/Read Image binary data from ImagePart

$
0
0

Hi,

I have a situation where that I need to extract added Images from Word 2010 files. Basically what I have tried was,

1. Find 'Blip' object from word document using SDK (This step is must acording to the programm).
2. Get the Id of Blip.
3. Then, MainDocumentPart.GetPartById(id) to get the relevant ImagePart.

I can get the ImagePart but after that I need to get the (Binary??) stream of the Image from that part where now I am stuck. Can anyone give me some light on this. This should be done using SDK only.

Note: Same thing I need to done for embedded objects too :)

Thanks in advance,
Vins

 


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>