![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,634
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#17 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,634
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
<body> <div style="text-align: center; padding: 0pt; margin: 0pt;"> <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1080 1440" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="1440" width="1080" xlink:href="../Images/CoverDesign.jpg"></image> </svg> </div> </body> Quote:
Last edited by RbnJrg; 12-02-2013 at 09:49 AM. |
|||
![]() |
![]() |
![]() |
#18 | ||
Browser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Quote:
Quote:
The "meet" setting doesn't fill the screen in portrait mode. Either one I use will look inappropriate in one orientation. |
||
![]() |
![]() |
![]() |
#19 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
In general you have to choose between: a. Have your cover image perfectly fit the screen, both horizontally and vertically. It will be stretched or shrinked if the proportions are not exactly as needed, maybe not very noticeable if the difference is small. b. Keep the aspect ratio of the cover unchanged, enlarge or reduce the image evenly. If the proportions are exactly as required, it will exactly fill the screen, otherwise you'll have either some white space or parts of the image will be trimmed. "none" is "a", "meet" or other choices are "b". The question about landscape was meant to underline that, although "a" might look good enough in portrait mode, it's likely to be a disaster in landscape mode. Now, your problem with portrait mode, if there's nothing wrong with the code or the reader's behaviour, is that the dimensions of the image are not exactly those needed to fill the screen, probably because the screen is not exactly what you think it is. You didn't answer to my question about the status bar, is there anything else that's using up some of the screen space? Quote:
Could you try with this attached image? It's just a 1400×1080 image, with a frame (so you can see whether it's trimmed or there's "white space" around it) and an exact square inside (so you can measure it with a ruler and see if it remains truly a square). |
||
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
There is a third choice. The image can be cropped to fit. Aspect ratio is maintained perfectly but some edges may be trimmed if necessary. This is useful is there no important graphics or text near the edge of the screen.
Dale |
![]() |
![]() |
![]() |
#21 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Are Two EPUB Covers possible? | DapperDG | ePub | 3 | 05-16-2013 01:56 PM |
Epub covers | drmar | Recipes | 1 | 03-03-2012 06:15 AM |
How to get ePub covers to display? | Antioch | ePub | 4 | 06-25-2011 03:00 AM |
Why no Covers in ePub from Kobobooks? | hpjrt | Kobo Reader | 7 | 12-18-2010 12:38 AM |
epub covers quirk? with 0.7.2 | Allis | Calibre | 4 | 06-24-2010 08:22 PM |