Skip to content

Dynamically render HTML with CSS and save as an image.

Notifications You must be signed in to change notification 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published