Extract Pictures from Word Document using C#

I had a bunch of word document, there is a need to extract pictures from word document for particular purpose. So going through all document one by one would be very time consuming. Then I automated this pictures extraction long ago and shared those .NET assembly & article on solutions.jeeutil.com.

Recently I had to migrate “solutions.jeeutil.com” website to “myjeeva.com” and I have placed source code on GitHub public repository.

This .NET assembly provides the ability to extract pictures from word document with few simple lines of code.  Okay let’s see how to use and technical information about this library.  I have tested this component with Microsoft Word document 2010/2007/2003/2000 versions.

  Download: .NET Assembly   Download: Demo Application

How to use this assembly in your application?

  • Download JeeUtil.Word .NET assembly
  • Add reference of JeeUtil.Word assembly JeeUtil.Word.dll in your application
  • Create instance of ExtractImage class & invoke the API called Process with required parameters
  • Execute your program
  • That’s it, now you can take a look at provided path. Wow! what you see here is all images from word document

Technical Info

Supported Runtime: .NET Framework 2.0 and above

Version: 1.0.0

Assembly Version: 1.0.3522.21931

Assembly Information

Supported image save formats

Supported Image Save Formats

API Details

Class Diagram: ExtractImage class

Class Diagram: ExtractResult class

I hope this assembly/library helpful to you; to extract pictures from word document, kindly let me know your feedback!

  • mondher khas

    hi , it’s really usefull to extract pictures from .doc files with this assembly .is there another solution to extract pictures without using microsoft.interop.word library ? .i don’t need to install Microsoft office in the server . thank you :)

  • Vignesh Mrc

    Wont it work in Web Form….. I am getting object null reference error dude….