wallpaper thumbnail preview size
Aaron J. Seigo
aseigo at kde.org
Wed Oct 3 22:41:05 UTC 2012
On Wednesday, October 3, 2012 21:18:48 Reza Shah wrote:
> Which part of 'Image' wallpaper plugin codes handle this behavior?
iirc, the WallpaperPackage subclass of Plasma::Package. it looks to find the
"most suitable" image for the given screen resolution.
Wallpaper plugins can also have render hints for target size (e.g. screen
resolution) and Package uses that to aid its search for the "most suitable".
then BackgroundListModel uses a KIO::PreviewJob to generate the thumbnail from
that file.
hth.
--
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121004/ad7a6e1a/attachment.sig>
More information about the Plasma-devel
mailing list