Get the aspect ratio from Primary monitor, and allow the preview to have smaller size, so that it works well on smaller screens
Instead of manually rendering it.
This is a dedicate class to generate the preview. Not only it renders the pixbuf of the wallpaper, but it also adds lock screen or desktop frames on top of it. It also monitors the time to keep the lock screen preview label always updated.