View Single Post
Old 05-25-2011, 10:44 PM   #1
Diego
Junior Member
Diego began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle3
Problem with covers converting from ePub to MOBI using ebook-convert

I am trying to convert ePubs to MOBI in Windows using ebook-convert (last version). Everything works OK, except for the ebook covers, that after the conversion have white margins that are not in the original ones.

I tried the debug option in the GUI and I found out that the cover with white margin is generated by Calibre and named calibre_raster_cover.jpg. The GUI process eventually drops it but the command line keeps it as the final cover.

I opened a bug but Kovid closed it because the command line and the GUI use exactly the same code, so the problem is in another place.

I am executing the following command:

Code:
C:\Program Files\Calibre2>ebook-convert.exe c:\file.epub c:\file.mobi --output-profile=kindle
I checked with -vv and all the settings are the same that in the GUI.

I have attached a zip file with the original ePub and the MOBI files I obtain with the GUI and the command line.

Does anyone know a solution? All I want is the command line to provide MOBI files like the ones from the GUI.

Thanks in advance.
Attached Files
File Type: zip kindle.zip (612.5 KB, 281 views)

Last edited by Diego; 05-25-2011 at 10:48 PM. Reason: I have attached a file.
Diego is offline   Reply With Quote