There is no simple way to set the wallpaper. We have to use a Windows DLL to do that.

And this DLL is able to set the wallpaper only if the image is a BMP. So we have to convert it first.