Cover lost when converting fb2 to mobi by command line

Bug #829240 reported by J C
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

When converting a fb2 to mobi with the GUI, everything is ok: even if you don't select "use cover from source file" (and of course, no other route for the cover is specified), it always takes the cover from the source fb2 file and inserts it in the final mobi file.
However, when using the command line, it doesn't work, and no cover is inserted in the final mobi unless you splicitly specify a route for a cover (an independent jpg file). Examples:

ebook-convert xxxx.fb2 xxxx.mobi --output-profile kindle ---> no cover in the final mobi
ebook-convert xxxx.fb2 xxxx.mobi --output-profile kindle --prefer-metadata-cover ---> no cover in the final mobi

NOTE: The following warning appears during the conversion process: "Unsupported coverpage nine-type 'image/jpg' (id=#cover.jpg)"

As I said before, it works perfectly with the same source fb2 file when using the GUI (the cover is inserted in the final mobi file, no matter if you select the option "use cover from source file" or not)

Related branches

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 829240

Attach a file demonstrating/reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny yellow icon next to "This bug is public" in the top right area of the bug's page.

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
J C (buzondejc) wrote :

Attached book in fb2 format

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.