View Single Post
Old 02-04-2021, 07:51 AM   #2134
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
I was mostly speculating, perhaps transparency could be used in place of a custom bg colour in the letterboxing.
The cover generator in calibre uses a function to resize the image which will do the letterboxing and takes a parameter for the colour to be used. It then calls a another function to handle the transparency. That takes a parameter to for the background colour. Unfortunately, the overall function, only takes one parameter for these colours and it is only used for the transparency. I have to add the other and pass it through.

Personally, I just let the device do it. That is completely predictable as to what is happening. The black letterboxing it uses works with the black surrounds of the device.
davidfor is offline