View Single Post
Old 12-02-2013, 10:44 AM   #19
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by MacEachaidh View Post
But what has that to do with whether it's filling the screen in portrait mode?
Let's step back a bit.

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:
The "meet" setting doesn't fill the screen in portrait mode. Either one I use will look inappropriate in one orientation.
Yes, there's no "perfect fit" for everything. What you have to choose is what to do when it is not perfect. To most of us, having white space is preferable to having a stretched out image.


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).
Attached Thumbnails
Click image for larger version

Name:	cover-square.png
Views:	187
Size:	6.5 KB
ID:	116094  
Jellby is online now   Reply With Quote