Skip to content

nyoom-engineering/mat-frame-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mat-frame-art

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

Usage

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

Samples

cooper_lobzov_3500_300_dpi_compressed cs2_print_300dpi_01_compressed gta_lobzov_full_300dpi_boosty_compressed h3_print_300dpi_01_compressed hl2_ep2_lobzov_print_01_compressed

License

The project is vendored under the MIT license

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published