Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion


Thread Tools Search this Thread
Old 04-23-2012, 09:35 AM   #1
Junior Member
DanielJG began at the beginning.
Posts: 1
Karma: 10
Join Date: Apr 2012
Device: Kindle 3g
CLI vs GUI html2mobi with image - bug?

Hi everyone,

I been batch converting some word files using abi word to save as html then calibre to convert to mobi using a small bat script suggested on these forums.
for %%I in (*.doc) do "C:\Program Files (x86)\AbiWord\bin\AbiWord.exe" --to=html "%%I"
for %%I in (*.html) do "C:\Program Files (x86)\Calibre2\ebook-convert.exe" "%%I" ""

However I have hit a small bump. I have a word file with a picture at the top of the 1st page. It converts fine to html and when I use the GUI it also converts well to mobi using the image as a cover page (which is fine by me).
However when I use the above script I get a mobi that when added to Calibre shows nothing but the image (ie. there is only one page and all the text is missing) in the ebook viewer. The Mobi files differ in size by 12 bytes 53.556 vs. 53544 (the larger being the one not displayed properly in ebook viewer)

Both versions render fine when pushed to my Kindle. The problem only seems to be with Calibre's ebook viewer.
My conversion settings in the GUI are the default with Kindle output profile.
I have tried adding --output-profile=kindle (as well as --input-profile=default) to the above script but that doesn't seem to make a difference. If possible I would like some help to avoid this minor nuisance as I would like to be able to view the books from withing Calibre and while manually checking the .doc files for images and importing via the gui would work it defeats the purpose of a batch script.

Any inputs welcome.

Last edited by DanielJG; 04-23-2012 at 09:48 AM. Reason: Compared wrong files they are in fact not identical
DanielJG is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover image bug with ePub for correct aspect JSWolf Conversion 16 01-28-2011 04:31 PM
GUI bug? edbro Calibre 2 06-19-2010 09:55 AM
html2mobi - html formatting brunovg Kindle Formats 2 12-13-2009 05:56 AM
How to reproduce the image viewer bug sirbruce Amazon Kindle 9 06-11-2009 08:44 PM
BUG: GUI View button not working if Author tag contains "ë" ShellShock Calibre 1 11-15-2008 01:21 PM

All times are GMT -4. The time now is 03:22 AM. is a privately owned, operated and funded community.