Skip to main content

derive

Function derive 

Source
pub fn derive(
    path: &Path,
    format: ImageFormat,
    send_max_edge: u32,
) -> Result<Derived, ProcessError>
Expand description

Decode path (already sniffed as format) and produce the thumbnail and the send-copy. send_max_edge is the send-copy’s long edge.