Quote:
Originally Posted by innocenat
So I was investigating some more, and found that if I took the immediate epub generated during the coonversion by this plugin, and convert them manually using Kindle Previewer 3 and the plugin CLI, the error still showed up.
|
Thanks to your help I was able to replicate the problem and determine the cause.
When performing conversion calibre normally replaces the cover image in the book with the one from the calibre library. Sometimes, depending on the HTML coding of the book, this goes wrong and results in the converted book have two cover pages. If the extra leftover cover uses an SVG wrapper around the image then a bug in the Kindle Previewer causes it to emit the image with an incorrect empty mime type.
The next release of the KFX Output plugin will check for this condition and fix the mime type in the KFX file produced.