Search code examples
windowsimagems-wordwmf

Decompress "wmz" file


When we try to save msword doc file as html file we get "wmz" files for the math equation objects.

I tried decompressing the wmz file and saving the content as jpg.

I can open this jpg file in the "Microsoft Picture manager" properly. But trying to open the file in browser displays the error message "The image cannot be displayed, because it contain errors".

What is the procedure to decompress this wmz file and convert it to jpg. What will be the extension of decompressed file?


Solution

  • When you save your Word documents as "Web Page, filtered" you won't get these WMZ files but just PNG files. Set the "Web Options" to target to a low version of IE (i.e. 4.0) and check "allow PNG files" and "disable features not supported by these browsers". Added advantage is that the webpage will display better in different browsers.

    However, you should do all of this after you first make a copy of your document (and associated files) using Explorer into another location. Open this copy with Word and then Save as "Web Page, filtered". The original you keep for editing. (Don't save the original as a "web page, filtered" or you will loose the ability to edit the equation objects).