Exporting images from Office Applications
-
Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes
-
Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes
A while back I wrote an article on XSLT with Word documents, and one of the responders had a great tip on handling embedded images and saving them off: Word 2003 CodeProject Article Template[^] XML/XSLT is probably not the first thought you had for a solution on this, but depending on your situation it is a possibility. I think the other route to take is through interop - the
Microsoft.Office.Interop.Word
namespace. -
Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes
Here may be an example you could use for the word interop direction: http://maniyasblog.wordpress.com/tag/how-to-extract-images-embedded-in-word-documents/[^]