08-19-2021, 04:30 PM | #16 |
Grand Sorcerer
Posts: 6,545
Karma: 84810789
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I took a look at the JPEG images that are not rendering in the MOBI file. The ones that do not work all have no application segment following the start-of-image marker. Without that those images lack basic metadata such as resolution and aspect ratio.
|
08-19-2021, 04:37 PM | #17 |
Resident Curmudgeon
Posts: 74,504
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-19-2021, 08:42 PM | #18 |
creator of calibre
Posts: 43,973
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
AFAIK, those are optional in JPEG.
|
08-19-2021, 10:13 PM | #19 |
Grand Sorcerer
Posts: 6,545
Karma: 84810789
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I agree, but the MOBI rendering software chokes if it is not present. As you wrote before it’s a bug, but I just wanted to document what triggers it.
I did some testing and found that kindlegen fixes this by adding JFIF metadata to JPEGs if it is not present in the source file, so that books published on Amazon do not exhibit this problem. Last edited by jhowell; 08-19-2021 at 10:17 PM. |
08-20-2021, 02:08 AM | #20 |
creator of calibre
Posts: 43,973
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well, it's easy enough to add JFIF by re-writing the image. This is obviously not ideal since it causes re-compression, but, given the Kindle bug I guess its worth it. https://github.com/kovidgoyal/calibr...1d5b0b37407393
|
08-20-2021, 09:29 AM | #21 | |
Grand Sorcerer
Posts: 6,545
Karma: 84810789
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
|
|
Tags |
display images, ebook-convert, image |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SVG images don't display in table cells in Sigil | SigilBear | Sigil | 2 | 03-13-2021 09:16 PM |
epub to mobi, italics don't display on kindle | akita328 | Conversion | 6 | 09-05-2019 03:57 PM |
Some images don't display on pdf in iTunes/iPad/iPhone | khronos78 | Apple Devices | 10 | 12-11-2012 05:10 AM |
controlling display size of images for mobi Fire | photoluminations | Conversion | 11 | 10-23-2011 07:13 PM |
Troubleshooting Why don't Kindles display cover images? | mr ploppy | Amazon Kindle | 7 | 02-04-2011 10:29 AM |