View Single Post
Old 06-17-2013, 10:03 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by dafkah View Post
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.
DoctorOhh is offline   Reply With Quote