Quote:
Originally Posted by DNSB
Ummm... I have had several retail ePubs where the cover did not have the correct aspect ratio. Some stretched/shrank the image to fill the entire screen using img elements, others used incorrect (from my point of view) settings for the preserveAspectRatio ranging from none to xMaxYMax and one publisher which used xMidyMid (does not have the y in upper case which caused a couple of renderers to barf) and another that used slice instead of the default meet for the second option to preserveAspectRatio).
My default for that part of the svg wrapper is:
Code:
width="100%" height="100%" viewBox="0 0 1125 1500" preserveAspectRatio="xMidYMid meet">
The 1125x1500 is my default for 3x4 images with 1000x1500 used for 2x3 images.
|
What I have seen for some retail ePub is where the cover was not sized so it was larger then the screen size. I've not seen a retail ePub where the cover was at the wrong aspect ratio. However, if I had one, Modify ePub should take care of that.