-
Notifications
You must be signed in to change notification settings - Fork 1.2k
EMF image support #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
EMF image support #196
Conversation
As you described it it doesn't work for me. I had to change the signature offset ( |
@JustMe85 can we Merge it? |
This would be really great to merge; any issues? |
No issues That I know of |
@scanny ? Are you active on this project? |
- implemented WMF support for python-docx based on existing PR python-openxml#196
Anyone waiting in vain on this and needs EMF support without having to handroll their own patched version of the docx lib can try this monkey patch version of the PR code: https://gist.github.com/spillz/1667dd8b04654f32b51133cb7f72b898 |
Works wonderfully so far! Thank you. Hope this can one day be added without patching. |
it works with me ,thx a lot! |
This patch allows to add EMF images. EMF contains size in 0.01 mm units, so I have picked 300 DPI for computing pixel size.
Provided also a sample script with EMF for testing