title: UnrecognizedImageError - image insertion error - python-docx
body: <p>I am trying to insert an wmf file to docx using <code>python-docx</code> which is producing the following traceback. </p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/ADMIN/PycharmProjects/ppt-to-word/ppt_reader.py", line 79, in &lt;module&gt;
      read_ppt(path, file)
    File "C:/Users/ADMIN/PycharmProjects/ppt-to-word/ppt_reader.py", line 73, in read_ppt
      write_docx(ppt_data, False)
    File "C:/Users/ADMIN/PycharmProjects/ppt-to-word/ppt_reader.py", line 31, in write_docx
      document.add_picture(slide_data.get('picture_location'), width=Inches(5.0))
    File "C:\Python34\lib\site-packages\docx\document.py", line 72, in add_picture
      return run.add_picture(image_path_or_stream, width, height)
    File "C:\Python34\lib\site-packages\docx\text\run.py", line 62, in add_picture
      inline = self.part.new_pic_inline(image_path_or_stream, width, height)
    File "C:\Python34\lib\site-packages\docx\parts\story.py", line 56, in new_pic_inline
      rId, image = self.get_or_add_image(image_descriptor)
    File "C:\Python34\lib\site-packages\docx\parts\story.py", line 29, in get_or_add_image
      image_part = self._package.get_or_add_image_part(image_descriptor)
    File "C:\Python34\lib\site-packages\docx\package.py", line 31, in get_or_add_image_part
      return self.image_parts.get_or_add_image_part(image_descriptor)
    File "C:\Python34\lib\site-packages\docx\package.py", line 74, in get_or_add_image_part
      image = Image.from_file(image_descriptor)
    File "C:\Python34\lib\site-packages\docx\image\image.py", line 55, in from_file
      return cls._from_stream(stream, blob, filename)
    File "C:\Python34\lib\site-packages\docx\image\image.py", line 176, in _from_stream
      image_header = _ImageHeaderFactory(stream)
    File "C:\Python34\lib\site-packages\docx\image\image.py", line 199, in _ImageHeaderFactory
      raise UnrecognizedImageError
  docx.image.exceptions.UnrecognizedImageError
  </code></pre>
  
  <p>The image file is in <code>.wmf</code> format.</p>
  
  <p>Any help or suggestion appreciated. </p>