Skip to content

Releases: salinapl/Wallpaperizer

Release list

5.1.1-p1

Choose a tag to compare

@Swizzler121 Swizzler121 released this 24 Sep 22:35
71d968b

Exporting a Wallpaper

Currently the only way to capture a wallpaper is to take a screenshot of the webpage. If your web browser is the same resolution as the wallpaper, this is difficult, below are several methods to do this in that situation:

Via Chrome

You can start chrome in "headless mode and take a screenshot, then close, specifying the resoultion. for some reason, if you render the page at exactly the desired resolution, it renders incorrectly, so you have to render the page larger than the target resolution. Running the below in command prompt should output a usable start you can crop to size:

start chrome.exe --headless --screenshot="C:\output.png" --window-size=2500,1500 "http://path-to-your-kirby-page"

Via Firefox

Just like chrome, you can start firefox in headless mode, take a screenshot, and close firefox. By default, firefox will not run if firefox is already open, so close the browser before running the command. Unlike chrome, firefox will correctly capture the page at the desired target resolution without needing to crop it afterward, but it appears to be missing some CSS filter effects. Run the following in command prompt:

start firefox -headless -screenshot C:\Users\techsupport\Downloads\test.png -window-size 1920,1080 http://path-to-your-kirby-page