View Single Post
Old Yesterday, 08:01 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,114
Karma: 29626208
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's based on the book id. Basically a deterministic hash of the book id. As for making it controllable, that could be done, but using cover height is not viable as that would involve reading the cover image enough to get its dimensions during shelf layout calculation, which is too slow. The way to do it is to use a template similar to the width template, but that is rather a lot of work to implement.
kovidgoyal is offline   Reply With Quote