Skip to content
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

EMF image support #4

Open
liuyunfeng2017 opened this issue Sep 6, 2017 · 3 comments
Open

EMF image support #4

liuyunfeng2017 opened this issue Sep 6, 2017 · 3 comments

Comments

@liuyunfeng2017
Copy link

hi,Word conversion formula as a result <img src="data:image/x-wmf;base64,183GmgA......
HTML does not display the image

@mwilliamson
Copy link
Owner

EMF images aren't directly supported. The issue for mammoth.js describes how you could implement your own image converter along with LibreOffice to add support, although the fidelity is reliant upon LibreOffice's implementation.

mwilliamson/mammoth.js#36

@liuyunfeng2017
Copy link
Author

Thanks for your reply! I convert the results of the WMF format, I use Jsoup to convert the WMF PNG, image distortion, is there any way to directly output PNG

@mwilliamson
Copy link
Owner

mwilliamson commented Sep 8, 2017 via email

@mwilliamson mwilliamson changed the title hi,Word conversion formula as a result <img src="data:image/x-wmf;base64,183GmgA...... EMF image support Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants