Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tnakagome/JavaHtmlRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

JavaHtmlRenderer

This is an example use of xhtmlrenderer.

While a lot of materials about the library on the Internet give us information about converting HTML into PDF, information about generating image from HTML is limited.

Usage Scenarios

  • A client app does not support HTML rendering, but it can render image. Convert the HTML into an image for the client on the server side and send the result.

  • There is no way of showing a table on a client, but it can render image. Create the table dynamically in HTML and convert it into image on the server side and send the result.

TODO

CSS font spec is ignored.

About

Dynamically render HTML with CSS and save as an image.

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors