danfickle / danfickle/openhtmltopdf
base64 images not loaded
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hello
i'm experiencing trouble when trying to render into pdf any base64 image
i tried several, even in the online sandbox page (https://sandbox.openhtmltopdf.com/), posting the code:
```
Hello World!
```
nothing get rendered, here the logs:
```
SAX XMLReader in use (parser): com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
Loaded document in ~0ms
TIME: parse stylesheets 0ms
media = print
Matcher created with 160 selectors
Hit key(font-metrics:handwriting:400:normal) from cache.
Hit key(font-metrics:arabic:400:normal) from cache.
Hit key(font-metrics:deja-sans:400:normal) from cache.
Hit key(font-metrics:cjk:400:normal) from cache.
URI resolver rejected loading image at (data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==)
URI resolver rejected loading image at (data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==)
Using fast-mode renderer. Prepare to fly.
```
Isn't that supposed to work?
p.s. i read from another issue that it isn't supposed to work on the sandbox, problem is is not working on our java app neither, is there any additional configuration to do ?
Thank you for any assistance
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.