i use this piece of code i found.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en">
<head>
<meta content="true" name="calibre:cover" />
<title>Cover</title>
<style type="text/css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" version="1.1" preserveAspectRatio="none" height="100%" viewBox="0 0 590 694">
<image width="590" height="694" xlink:href="../Images/ XXXXX .jpg"></image>
</svg>
</body>
</html>
it works well on my kobo, i don't know about perfect, but well.
|