Recent

Author Topic: HTML + css into jpeg  (Read 1490 times)

EganSolo

  • Full Member
  • ***
  • Posts: 158
HTML + css into jpeg
« on: April 22, 2015, 10:34:53 pm »
My apologies if this has been asked before. I've spent two hours looking for this to no avail:

Context: I need to create a Kindle version for a novel. The titles of the chapters are set in a specific font. Not all Kindle devises are able to load that font and reproduce them with the right fidelity. One approach is to turn the chapters into images and load these instead.

I've worked out the details of how to replace the title with the image and regenerate the mobi file (kindle format) what I am still missing is the ability to turn an html with a css into a jpeg. I am thinking of reproducing the html title using low level graphic methods drawn on a canvas. But before I go down this path, I wanted to know if someone else has solved for this problem before.

Thanks for any feedback you may have on this.

 

TinyPortal © 2005-2018