Thread: LRF output
View Single Post
Old 05-09-2007, 12:34 AM   #52
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,419
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by FangornUK
kovidgoyal, thanks for html2lrf, it works great!

Just noticed some problems, small inline images tend to get scaled up and many images that aren't very high tend to throw new pages before and after when they aren't needed. I always find this Gutenberg document a great one for testing image formatting http://www.gutenberg.org/files/19499/19499-h.zip

Noticed the "--font-delta" option only tends to work for headers not text paragraphs. Is it possible to add an option to format images to a specified number of colours? - I always find pictures with 16 colours work well on the reader and saves lots of space.
The image handling problems are fixed in svn. Can you provide an example HTML file for which font-delta does not work? I dont think adding a image downsample option is worth it. After all what if sony releases a new device with support for more colors, it'd be stupid to have to regenerate all the LRF files.
kovidgoyal is offline   Reply With Quote