I have changed the desktop wallpaper using ctypes.windll.user32.SystemParametersInfoW(20,0,wallpaper_image,0)
Like wise to change lockscreen image using python.
igcmdWin10.exe
from the ImageGlass ".Zip" release from the github repository .Insert this code:
import os
src = r"C:\image-file.jpg"
os.system(f'igcmdWin10.exe setlockimage {src}')
The official documentation for reference: ImageGlass: Command line utilities
I remember of this open-source project that I'm able to set the lock screen image through it, Those are my best leads I found:
I'll try to update this answer if I get any closer to it.
https://docs.microsoft.com/en-us/uwp/api/windows.system.userprofile.lockscreen?view=winrt-22000
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.