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

Support svg image format #401

Open
yvermabp opened this issue Oct 1, 2024 · 3 comments
Open

Support svg image format #401

yvermabp opened this issue Oct 1, 2024 · 3 comments

Comments

@yvermabp
Copy link

yvermabp commented Oct 1, 2024

No description provided.

@asolntsev
Copy link
Contributor

asolntsev commented Oct 5, 2024

As far as I see from source code, FS doesn NOT support SVG images.
There are examples using SVG, but they incorporate an external library "svgSalamander.jar" which seems to be obsolete.

I think we can add support for SVG images using library like https://github.com/css4j/echosvg or https://xmlgraphics.apache.org/batik/

Also, we could take inspiration from https://github.com/danfickle/openhtmltopdf/tree/open-dev-v1/openhtmltopdf-svg-support (which was kind of a fork from FlyingSaucer, but doesn't seem to be maintained anymore).

@asolntsev asolntsev changed the title Does flyingsaucer library support svg image format? Support svg image format Jan 3, 2025
@MauricioKiniz
Copy link

@asolntsev, Thank you very much for reviewing my request!

@andrewisnheskitotvs
Copy link

I'm interested in the feature.

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

4 participants