View Single Post
Old 11-30-2013, 06:26 AM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by SBT View Post
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
RbnJrg is offline   Reply With Quote