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.