I am using prince for personal purposes, I am converting my epub files (which I own) to pdf such that I can read them on my e-ink reader which supports only pdf (Quaderno). I have learned to unpack my epub files and I manually convert them to pdf using prince. Everything is fine but the cover image. For example the cover.xhtml contains the following:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>The Book of Five Rings</title>
.............
</head>
<body>
<div style="text-align: center; padding: 0pt; margin: 0pt;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1313 2000" width="100%"><image height="2000" width="1313" xlink:href="../Images/cover.jpg"/></svg>
</div>
</body>
</html>
running prince will result in a cover where there are margins to the left, right and top.
How can I make the image to fill as much as possible from the cover page?
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>The Book of Five Rings</title>
.............
</head>
<body>
<div style="text-align: center; padding: 0pt; margin: 0pt;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1313 2000" width="100%"><image height="2000" width="1313" xlink:href="../Images/cover.jpg"/></svg>
</div>
</body>
</html>
running prince will result in a cover where there are margins to the left, right and top.
How can I make the image to fill as much as possible from the cover page?