pub fn inc_brightness(
image_path: &str,
image_output_directory: &str,
parse_filename: &str,
brightness: u8,
) -> Result<(), Box<dyn Error>>
Expand description
Example
extern crate photon_effects;
let input = "/tmp/logo.png";
let output_dir = "/tmp/";
photon_effects::inc_brightness(
input,
output_dir,
"logo_inc_brightness.png",
10
).expect("Couldn't create inc_brightness image");