WMF files should not be ignored on Linux
Created originally on Bitbucket by Caram Dache
WMF drawings on Linux are ignored because they are not supported by PIL. However, I nonetheless have a need to access the underlying file and save it for some future use. To do this, I had to comment the continue
line in drawings.py
.
I was then enable to save the file as follows. I don’t think this use case should be prevented by the library.
ws=wb.worksheets[0]
i=ws._images[0]
f=open('z.emf', 'wb')
f.write(i.ref.getvalue())
f.close()