Crates.io | photon-effects |
lib.rs | photon-effects |
version | 1.0.0 |
source | src |
created_at | 2021-11-16 22:45:45.549442 |
updated_at | 2021-11-17 00:28:46.684833 |
description | Library extending photon to easily use effects functions |
homepage | |
repository | |
max_upload_size | |
id | 483027 |
size | 57,804 |
photon-effects is an extension of photon-rs to easily apply filter effects on image or image directory.
extern crate photon_effects;
let input = "/tmp/logo.png";
let output_dir = "/tmp/";
photon_effects::multiple_offsets(
input,
output_dir,
"logo_multiple_offsets.png",
30,
0,
2
).expect("Couldn't create multiple_offsets image");
Result: