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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to