Rust tool to generate framed and branded images for display on Samsung Frame TV's, "art" TV's, or as a wallpaper

Cargo/Rust
are required
A makefile is provided for your convenience, alongside a sample logo under assets
and a few images by Nikolay Lobzov under samples/
The defult make task will render all images under sample with a logo at 4k
git clone --depth 1 https://github.com/nyoom-engineering/mat-frame-art.git && cd mat-frame-art
make all
Alternatively, you can specify the parameters yourself
make frame INPUT=path/to/input.jpg OUTPUT=path/to/output.png RESOLUTION=2560x1600 [WITH_LOGO=1]
Ratio of the white mat to the image can be specified with the --mat-rato <float>
argument. By default, its a resonable 0.8
You can also use make build
to build the crate, and make clean
to clean up the working directory.
As the logo need to be rendered and antialiased, it is a relatively expensive operation, keep this in mind if you are doing large batch operations
The project is vendored under the MIT license