Quote:
Originally Posted by SBT
Dunno... If the cover is mildly aspect-distortion tolerant, I like to let the cover fill the entire screen, and gamble that not too many readers read my books in portrait mode or on odd-sized devices.
|
Hi SBT;
The code I posted is for the case of MacEachaidh

; anyway I think that the cover of a book always should be inside a svg wrapper (and so is like Sigil makes the things now). Of course, you can play with the property "preserveAspectRatio=..." since not always the more common "preserveAspectRatio=xMidyMid meet" is the better option. You can use "slice" instead of "meet" and to employ any combination of xMin, xMid, xMax with yMin, yMid, yMax instead of "xMidyMid" to see what is the best output for a particular cover. See this post (also is worthy to read the thread):
https://www.mobileread.com/forums/sho...4&postcount=20
Regards
Rubén