View Single Post
Old 08-15-2011, 12:59 PM   #5
steje
Member
steje began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2011
Device: kindle, ipad
Actually, I was mistaken... converting from mobi to mobi does NOT remove existing cover images (for instance, if you REMOVE the existing cover image in calibre, then convert mobi-to-mobi)... the images remain.

What DOES work, is if you assign a NEW cover image, then convert mobi-to-mobi, then the 'new' image is properly set as the cover image (properly adjusted offsets or whatever) but all of the existing images remain as well.

This is all kind of counter-intuitive. I'd expect that if I assign a new cover, and then save to disk, that calibre should do whatever is needed (convert mobi to mobi acrobatics) in order for that cover to actually be saved in the file so that it is visible when I copy that file to a device...

The only way I have found to properly "clean out" these unwanted images... is to convert the original mobi to OEB folder/HTML, then add the resulting HTML file back to calibre, redo all the metadata tags, convert HTML/ZIP back to MOBI, and then I have a pretty "clean" mobi file with JUST the cover image I've specified in calibre.

Gotta say that's a rather disappointing series of hoops to have to jump through to do something I'd have thought is a mundane action on an ebook (stripping unwanted cover images and replacing with a desired cover image).

If there's an easier way... that would be real nice. I'm already converting original mobi to OEB folder/HTML from the command line tool, maybe some older VB scripts I wrote to use the mobiperl tools can be modified to do all the rest of the work I'm struggling with using the calibre cli instead of the gui.
steje is offline   Reply With Quote