Thread: EPUB output
View Single Post
Old 03-15-2009, 12:34 PM   #386
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,459
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by pepak View Post
Two problems with HTML2EPUB and images:

1) I am using --cover=cover.jpg to instruct HTML2EPUB to insert a cover page. The cover page does get inserted into the EPUB file, ebook-viewer can display it, but Sony Reader does not - it just takes a long time to render an empty page. What could be the reason?

If your image is jpeg2000, the reader wont display it, other than that, I can't think of anything.

2) Can HTML2EPUB resize large images to fit Reader's screen? Right now it simply keeps the original resolution, which prevents the reader from displaying the whole image. I expect I could solve that with CSS (though it would mean assigning a different class to large images and different class to small images), but it has an added disadvantage of producing huge files that render slowly (I do want full-color full-resolution images for my backups, but on my Reader, grayscale and lower resolution would be better).
I don't really like the idea of making epub files that device specific, so no.
kovidgoyal is online now   Reply With Quote