Function kanidmd_lib::valueset::image::jpg::has_trailer

source ยท
pub fn has_trailer(contents: &Vec<u8>) -> Result<bool, ImageValidationError>
Expand description

Check to see if JPG is affected by acropalypse issues, returns Ok(true) if it is based on https://github.com/lordofpipes/acropadetect/blob/main/src/detect.ts