View Single Post
Old 10-21-2018, 10:52 AM   #7
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,221
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by jhowell View Post
Thanks! That was great. I can see that the problem is that calibre’s conversion pipeline rewrites the CSS for the border in a way that is unacceptable to the Kindle Previewer.

A workaround is to use the command line interface to the plugin, which will bypass any alteration of the EPUB by calibre, preventing the problem.

I will try to come up with a better solution for the next plugin release.
Thanks for the quick reply and the effort to solve this!

I did as you suggested and used the command line interface. It did the job avoiding the borders, altough one last problem remains: it is altering the gif image.

When I visualize the KFX (azw8) on KindlePreviewer (see the attached screenshot), it looks perfect, just like the ePub. But, when I sideload it to the device, on the Kindle Paperwhite screen, the gif has a gray background (see the screenshot attached). This gif is supposed to be tranparent. It shows properly on the device when I use AZW3 format, or when I convert it using KindlePreviewer directly (altough it will save on MOBI format).

How can I configure the convertion so it doesn't touch the images? Through Calibre, I used your suggestion to change the output page configuration to "Tablet", but it still causes the gray background.

I am intrigued that when KindlePreviewer exports the MOBI file, the image looks fine on the device. It looks like the KFXOutput plugin is changing the image in some way, after the KindlePreviewer does his job (compression, maybe?).
Attached Thumbnails
Click image for larger version

Name:	KindlePreviewer.png
Views:	548
Size:	76.3 KB
ID:	167083   Click image for larger version

Name:	Kindle Paperwhite.png
Views:	547
Size:	57.5 KB
ID:	167084  
thiago.eec is offline   Reply With Quote