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