Quote:
Originally Posted by dafkah
Thanks for repositioning my post! Any ideas on how to format an image in Calibre so that the image takes up the whole page without being cut off?
|
If the document is all images maybe converting to to CBZ would be a better solution. Or converting to CBZ then to ePub?
For conversion straight to ePub I'm not sure how. You may be able to do it in Sigil by modifying the code calibre uses to wrap images for the cover page. I grabbed the below example from a random book from my library.
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="none" version="1.1" viewBox="0 0 563 751" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="751" width="563" xlink:href="../Images/cover.jpeg"></image>
</svg>
The above does not preserve the aspect ratio.
The code below does preserve the aspect ratio.
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 563 751" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="751" width="563" xlink:href="../Images/cover1.jpeg"></image>
</svg>
Maybe someone will chime in with real experience.
Good Luck.