07-31-2010, 06:00 AM | #1 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Cover image size
I have seen several posts refer to the size of the cover image. i have been using 400pX600p which seems to work OK. Is there a recommended size or a maximum size?
|
07-31-2010, 06:39 AM | #2 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
No size fits them all. The optimum size depends on the reading software/device that's going to be used. I usually have 800x600 covers, because that's the screen size of my reader, but even there they don't look perfect, because the software insists in adding some margins. Then, if the same file if read in landscape, or in a different reader, the cover will have to be scaled.
So, at the end I'd say use whatever size you like and works for you, but maybe 400x600 is a bit on the small side? |
Advert | |
|
08-01-2010, 11:08 PM | #3 |
Member
Posts: 24
Karma: 10
Join Date: Jul 2010
Device: Kobo
|
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. |
08-02-2010, 03:31 AM | #4 |
Nameless Being
|
You might want to change: preserveAspectRatio="none" to preserveAspectRatio="xMidYMid meet" to scale the image to full screen without it distorting.
Note: it is YMid and not yMid (yMid failed when I tried it but YMid works swimmingly) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Image Size | benjaminsolah | ePub | 13 | 09-24-2010 11:47 PM |
Editing image size | benjaminsolah | Sigil | 6 | 09-22-2010 06:47 PM |
How to get the maximum image size on a DX? | Diegan | Amazon Kindle | 1 | 08-04-2010 12:05 PM |
Cover Image Size | gr8npwrfl | Calibre | 0 | 12-21-2009 12:49 AM |
Rendered Image Size in Picture Mode (S/M/L)? | adinb | Sony Reader | 6 | 03-06-2007 03:38 PM |