photon-effects

Crates.iophoton-effects
lib.rsphoton-effects
version1.0.0
sourcesrc
created_at2021-11-16 22:45:45.549442
updated_at2021-11-17 00:28:46.684833
descriptionLibrary extending photon to easily use effects functions
homepage
repository
max_upload_size
id483027
size57,804
(pbackz)

documentation

README

photon-effects

photon-effects is an extension of photon-rs to easily apply filter effects on image or image directory.

Some examples

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:

Logo Output Multiple Offsets

crates.io

docs.rs

Commit count: 0

cargo fmt