I am using pandoc to create EPUB files from markdown files to read the EPUB on my Kobo. It works well except with the cover which is not displayed at the proper size.

Here is the cover image:

enter image description here

Here is the result:

photo of the EPUB displayed on my Kobo

Here is the command I use to create the book:

pandoc first.md second.md --epub-cover-image=cover.png -o ebook.epub

The cover image dimensions are: width: 1600 px; height: 2400 px following recommendations here:

https://www.adazing.com/ebook-cover-dimension-sizes-and-free-dimension-template/

But size is still weird with other dimensions. I wish it would auto-resize.

Any idea how to fix it ?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.