D18645: BasicListItem: use specified tint color when transparency is 0
Marco Martin
noreply at phabricator.kde.org
Thu Feb 14 09:55:55 GMT 2019
mart added a comment.
I think i'll introduce an heuristic to analyze the image and decide if it's monochrome and drop all this transparent nonsense (would make it a bit inefficient as it wuld need to read pixels colors in software but may be justified).
locally i was trying with Shannon entropy of the distribution of either colors or gray values, which seems to yeld satisfying results
REPOSITORY
R169 Kirigami
REVISION DETAIL
https://phabricator.kde.org/D18645
To: pwegner, #kirigami, mart
Cc: plasma-devel, dkardarakos, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190214/5bca437e/attachment.html>
More information about the Plasma-devel
mailing list