<div dir="ltr"><div dir="ltr"><div>Thanks DM for your answer !</div><div><br></div><div>I went and double checked the source code to see what kind of transformations were done when building the HTML output, and I guess data URIs won't work.</div><div><br></div><div>In JSword, the "html5.xsl" stylesheet prepends a baseUrl to the figure src, before printing it into the img src.</div><div>In libsword, the "osisxhtml.cpp" filter hardcodes the "file:" protocol in the generated img tag.</div><div><br></div><div>Unless I misunderstood something, I guess it does mean that only local files in the module are supported at rendering time.</div><div><br></div><div>If we wanted to support data URIs in the source OSIS, it would have to be handled by osis2mod (which would have to decode the data URI, generate a file from it and write it in the module).<br></div><div><br></div><div>Regarding the image format, I don't see any restriction, so I suppose it depends on the HTML rendering engine that is used behind the scenes - but most common formats should be supported.</div><div><br></div></div><br></div>