Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2025, 04:50 AM   #1
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Problem with cover images

Hello
I am trying to convert a folder with ebooks using code
Code:
find ./input/ -name "*.mobi" -o -name "*.fb2" -o -name "*.epub"|while read fname; do
  ......
  /Applications/calibre.app/Contents/MacOS/ebook-convert  "$fname" "output//$Author//$Title.mobi";
done
it works but Kindle (Paperwhite, 11th) do not display cover images from converted files
ebook-meta --get-cover shows they are available
What I am doing wrong?
Thanks

Attachement : original books, converted books, my script and kindle screenshot
Attached Files
File Type: zip ebook convert sample.zip (2.73 MB, 12 views)
roddy20 is offline   Reply With Quote
Old 06-25-2025, 05:00 AM   #2
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
PS the reason to convert mobi to mobi is to make them EBK books, not PDOC
roddy20 is offline   Reply With Quote
Advert
Old 06-25-2025, 07:09 AM   #3
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
ebook-convert *.* *.epub
kindlegen *.epub *.mobi
works as desired, but one command will be better than two
roddy20 is offline   Reply With Quote
Old 06-25-2025, 08:38 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,882
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I am wondering why you are converting to mobi to send to your Kindle. The Paperwhite 11th gen supports azw3 and KFX which are much better formats for displaying ebooks. Mobi is a relic of the late 1990s when the PalmDoc format had some HTML-like tags added by Mobipocket.
DNSB is offline   Reply With Quote
Old 06-25-2025, 09:19 PM   #5
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Quote:
Originally Posted by DNSB View Post
I am wondering why you are converting to mobi to send to your Kindle. The Paperwhite 11th gen supports azw3 and KFX which are much better formats for displaying ebooks. Mobi is a relic of the late 1990s when the PalmDoc format had some HTML-like tags added by Mobipocket.
I’m not a professional in this.
When I connected kindle in the first time and run Calibre, it recommends mobi.
I think it is more popular so I can use my library when I ll buy a new ebook reader next year, or to share some books with friends without conversion.
All the sites from Project Gutenberg to pirated archives use mobi for kindle.
Do you recommend convert to AZW?
I’ll try tomorrow
Thanks for the answer

Ps anyway it looks like a bug in the program or an error in my command line.
Even if mobi is an old format, it supports cover images and they must not to be lost when converted
roddy20 is offline   Reply With Quote
Advert
Old 06-25-2025, 09:27 PM   #6
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
And Amazon’s kindlegen uses mobi, too
roddy20 is offline   Reply With Quote
Old 06-25-2025, 10:09 PM   #7
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Quote:
Originally Posted by DNSB View Post
I am wondering why you are converting to mobi to send to your Kindle. The Paperwhite 11th gen supports azw3 and KFX which are much better formats for displaying ebooks. Mobi is a relic of the late 1990s when the PalmDoc format had some HTML-like tags added by Mobipocket.
tried AZW3
nothing changed
the new file has no cover image
Attached Thumbnails
Click image for larger version

Name:	screenshot_2025_06_26T03_02_43+0100.png
Views:	14
Size:	33.1 KB
ID:	216495  
roddy20 is offline   Reply With Quote
Old 06-25-2025, 10:14 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,882
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Kindlegen generates a dual-mobi file which contains both KF7/mobi and KF8/azw3 format ebooks. You can use the KindleUnpack plugin for calibre to split the two formats into separate files. The penalty for this is that the output file size is close to 100% larger than a single format mobi or KF8/azw3 ebook.

If you copy a dual-mobi file to your PW, it will use the KF8/azw3 ebook.

As for your sample cover thumbnails? The cover shows up on a document while the EBOK does not show a cover image. This is more or less normal since an EBOK ebook will fetch it's cover thumbnails from Amazon which may require a registered device so this will not work for you since you have stated that your Kindle is not registered. calibre does have a workaround for this that works on non-MTP Kindles only since Amazon blocks access to the cover thumbnails directory on their MTP devices. If you are converting to azw3 using calibre, you could enable sharing using Facebook to create a PDOC cdetype or use an external utility to convert EBOK to PDOC for MTP devices.

Last edited by DNSB; 06-25-2025 at 10:20 PM.
DNSB is offline   Reply With Quote
Old 06-25-2025, 10:23 PM   #9
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Quote:
Originally Posted by DNSB View Post
This is more or less normal since an EBOK document will fetch it's cover thumbnails from Amazon. calibre does have a workaround for this that works on non-MTP Kindles since Amazon blocks access to the cover thumbnails directory on their MTP devices. If you are converting to azw3 using calibre, you will need to enable sharing using Facebook to create a PDOC cdetype or use an external utility to convert EBOK to PDOC.
I don’t want PDOC
But mobi files created by kindlegen are EBOK and they have cover images
roddy20 is offline   Reply With Quote
Old 06-25-2025, 10:48 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,882
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by roddy20 View Post
I don’t want PDOC
But mobi files created by kindlegen are EBOK and they have cover images
Did you look at your screenshot attached in message #7? Looking at the book that has a cover thumbnail, notice the line that reads document? See the attached image where I circled that line. Care to make a wild guess as to what cdetype shows as document?
Attached Thumbnails
Click image for larger version

Name:	screenshot_2025_06_26T03_02_43+0100.png
Views:	21
Size:	67.3 KB
ID:	216496  
DNSB is offline   Reply With Quote
Old 06-26-2025, 03:03 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,654
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by roddy20 View Post
And Amazon’s kindlegen uses mobi, too
The .mobi that Kindlegen makes is a dual-format file. It included KF8 (AZW3) and Mobi in one file. If the Kindle in use cannot use KF8, it uses the Mobi and if it can use KF8, that's what it uses.

With calibre, you should never convert o Mobi unless you have a K1, K2, or KDX/KDXG.
JSWolf is offline   Reply With Quote
Old 06-26-2025, 03:42 AM   #12
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Quote:
Originally Posted by DNSB View Post
Did you look at your screenshot attached in message #7?
my mistake ((
ok, how this works?
roddy20 is offline   Reply With Quote
Old 06-26-2025, 03:44 AM   #13
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
Ok, how this works?

Moderator Notice
Copyrighted material removed. Don't do that again .
Attached Thumbnails
Click image for larger version

Name:	screenshot_2025_06_26T08_37_19+0100.png
Views:	21
Size:	27.2 KB
ID:	216497  

Last edited by theducks; 06-26-2025 at 10:22 AM.
roddy20 is offline   Reply With Quote
Old 06-26-2025, 03:57 AM   #14
roddy20
Member
roddy20 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2025
Device: Kindle Paperwhite 11th
/Applications/calibre.app/Contents/MacOS/ebook-meta /Users/rodionshynharov/Desktop/Holly\ -\ King\,\ Stephen.mobi
Title : Holly
Author(s) : Stephen King [King, Stephen]
Publisher : Scribner
Book Producer : calibre (7.21.0) [https://calibre-ebook.com]
Languages : eng
Published : 2023-09-05T00:00:00+00:00
Identifiers : mobi-asin:55f81ea3-8a1a-440d-9443-09aaaa9df54f

/Applications/calibre.app/Contents/MacOS/ebook-meta /Users/rodionshynharov/Downloads/ebook\ convert\ sample/input/In\ High\ Places\ -\ Arthur\ Hailey.mobi
Title : In High Places
Author(s) : Arthur Hailey
Publisher : Bantam Books
Book Producer : calibre (8.5.0) [https://calibre-ebook.com]
Tags : Fiction, General, 20th century, History, Modern, Cold War
Languages : eng
Published : 1962-05-14T08:00:00+00:00
Identifiers : isbn:9780553105469

the good book has mobi-asin and the bad one has isbn, does it make the difference?
roddy20 is offline   Reply With Quote
Old 06-26-2025, 10:05 AM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,882
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
While the ISBN may be valid, that mobi-asin is not even close to a valid ASIN. An ASIN is a 10 character string not a string that looks like a GUID. A sample of an ASIN would be B0BSRFPQXV.

I would also suggest removing the file you attached since I am rather certain that the line in the book reading "Copyright © 2023 by Stephen King" is a pretty good indicator that it is still in copyright.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clara HD Cover Images Calenorn Kobo Reader 3 04-04-2019 09:30 AM
Problem with cover images on Nook STR tecweston Calibre 2 12-07-2011 01:41 PM
Two cover images in the same book NINJA1200 Calibre 1 08-22-2011 01:47 AM
Cover Images rogue_ronin Workshop 0 12-11-2009 03:51 PM
cover images Nate the great Workshop 7 10-25-2009 12:34 PM


All times are GMT -4. The time now is 05:06 AM.


MobileRead.com is a privately owned, operated and funded community.