ciromattia / kcc

KCC (a.k.a. Kindle Comic Converter) is a comic and manga converter for ebook readers.
ISC License
2.65k stars 213 forks source link

Kindle Scribe png/gif blank pages #665

Open knowncold opened 9 months ago

knowncold commented 9 months ago

Describe the bug Hi, I'm using kcc to convert my comics to kindle fomart. It's perfect for my Kindle Voyage, but got an issue on Scribe.

I found some blank pages when flipping pages. It's not true blank, if I flip back to previous page, return to home page and enter again, the blank page will restore to normal. And it's not some fixed pages, it's random.

You can refer to this video.

Desktop (please complete the following information):

To Reproduce I'm using kcc v5.6.4 on Mac OS and Kindle Scribe v5.16.5, with command:

python3 kcc-c2e.py ~/Downloads/tmp -p KS -m -u -r 0 -c 1 --whiteborders  --forcepng -o ~/Downloads/test -b 2 --format MOBI

And when I sendtokindle epub, got a email from Amazon:

Thank you for using the Send to Kindle service. We are reaching out to let you know that a document, sent to your Kindle at, contains incompatible elements for Kindle format conversion. We’ve still delivered the document so that you can read it with Kindle, but in its current format it won’t support the latest Kindle features for documents, including Kindle Scribe handwriting features.

To make document(s) compatible with Kindle format conversion: Split large tables into several smaller tables, align the direction of text in the tables, and remove drop-caps in the tables. Remove multi-media content such as audio, video, and SVG images. Remove mathematical equations. Remove images that contain linear gradients. Remove password protection or any other security settings. Remove any footnotes inside footnotes. Check the document can be opened on a computer. Make sure the document doesn’t have more than 8,000 pages. Try sending the document again via Send to Kindle for Web.

axu2 commented 9 months ago

Scribe is glitchy with png. Use jpg instead.

In fact mobi conversion is slow with png. Gif support is better as future feature.

5.6.5 is out too, with apple silicon support if gui ran from terminal.

@knowncold

knowncold commented 9 months ago

It works much better without --forcepng, I flipped 200 pages quickly and only got one blank now. I was thinking jpeg will lose some quality so chose png. I will try GIF as well.

Thanks for your help and work!

axu2 commented 9 months ago

Gif support requires you to modify the code.

Jpg definitely loses a little quality. Mozjpg is better than jpg @knowncold

knowncold commented 8 months ago

I tried GIF by the code in #533 , but the mobi seems simliar to PNG on Scribe, with many blank pages. 😄

axu2 commented 8 months ago

@knowncold did you try mozjpg?

knowncold commented 8 months ago

@axu2 Mozjpg and default PIL jpg are both good, almost don't have blank pages anymore. And it's hard for my eyse to tell the quality difference between them.

axu2 commented 7 months ago

@knowncold Maybe in a future Kindle firmware update this bug will be resolved. Until then I exclusively use mozJPG.