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

Use Document as Input in the SVGImageReader #452

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

j-p-sequeira
Copy link

So, here it is. What we discussed here:
#451

I included the method to also allow using a simple org.w3c.dom.Document. You can remove it if you don't like ; )

As a note, the base URI will be set if the passed documents have it properly set. However, if also using default reading parameters, like reader.read(0, reader.getDefaultReadParam()); the URI that will be used is always the one set in the parameters, which will be null by default (ignoring the valid one in the document).

Hope this helps.
(I'm not used to GitHub, I hope I'm not doing anything wrong)

Extend input support of the SVGImageReader to also allow Document objects to be used as well as ImageInputStream objects.
Extend input support of the SVGImageReader to also allow Document objects to be used as well as ImageInputStream objects.
Extend input support of the SVGImageReader to also allow Document objects to be used as well as ImageInputStream objects.
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

Successfully merging this pull request may close these issues.

1 participant