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

SVG Images are not getting rendered in Docx while using XHTMLImportterImpl.convert() #100

Open
Abhinandan578 opened this issue Dec 6, 2023 · 0 comments

Comments

@Abhinandan578
Copy link

I am creating tables in Docx using HTML Table. Table contains with SVG Base 64 image as Src.
eg:
<img src='data:image/svg+xml;base64,PHN2ZyB4bWx….>

While calling the XHTMLImportterImpl.convert() on the HTML Table string i am getting error -

[main] WARN org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage - The file format is not supported. No ImagePreloader found for file:

Its working fine for PNG and JPEG Images. Can someone please help me here.

Artifact - docx4j-ImportXHTML
Version - 11.4.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant