https://github.com/naelstrof/wallpaper-post-processor
scans a directory for images to collage into appropriately sized desktop wallpapers. Uses OpenCV AI to upscale and match resolutions between photos.
https://github.com/naelstrof/wallpaper-post-processor
Last synced: 5 months ago
JSON representation
scans a directory for images to collage into appropriately sized desktop wallpapers. Uses OpenCV AI to upscale and match resolutions between photos.
- Host: GitHub
- URL: https://github.com/naelstrof/wallpaper-post-processor
- Owner: naelstrof
- License: lgpl-3.0
- Created: 2023-09-13T09:19:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T07:56:52.000Z (over 1 year ago)
- Last Synced: 2025-04-14T01:51:56.432Z (over 1 year ago)
- Language: Rust
- Size: 528 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wallpp
An application that converts a set of images into collaged wallpapers of a set ratio.

## Features
- Uses AI upscaling to keep images in a similar resolution range.
- Does appropriate delta updates, regenerate wallpapers from a set of source images with minimal work. (Delete and add new source images!)
- Uses magic numbers to read resolutions, scan a set of 4000 images in 6 seconds (on an SSD) for future processing.
- Reads any images supported by OpenCV.
- Outputs only JPGs, with limits to ensure you aren't overfilling your harddrives.
## Usage
This application is entirely CLI powered.
Normally you'd execute it with the following parameters:
```bash
wallpp --input-path=/mnt/d/Pictures/Wallpapers/ --output-path=/mnt/d/Pictures/WallpapersOutput/ --upscaler-path=~/wallpaper-post-processor/
```
Where `--input-path` is the path to your set of images you want to collage, and `--output-path` is the location where you want your collages placed. BEWARE that images within output-path are mutable and will be removed and regenerated when necessary.
`--upscaler-path` is the folder containing both the `FSRCNN_x2.pb` and the `FSRCNN_x4.pb` AI upscaling files.
Files within `--input-path` are considered immutable and won't be altered.
If you're on windows, you should consider making a shortcut to take care of it.
## Installation
Simply download an executable from Releases, otherwise use cargo to install and compile. Opencv is rough to get on Windows, check [here](https://github.com/twistedfall/opencv-rust) for instructions on how to get it.