View Single Post
Old 07-26-2012, 02:35 PM   #6
olig
Enthusiast
olig began at the beginning.
 
Posts: 32
Karma: 12
Join Date: Jul 2012
Device: Kindle 4nt 4.1.3 jailbreak
Still experimenting with some more... I think I can also enable direct cover image conversion (if the cover image is really an image and not a text page). A proof of concept with my test document already works.

By giving the the image in question a name in the ODT, I can find it quickly in the document content (open with odfpy, use element function to find the elements in question).

My test is to just set mi.cover in odt.get_metadata to the href of the image inside the document. After a run of ebook-convert this results in the id of the resource in question becoming 'cover' instead of some id+count.
olig is offline   Reply With Quote