leptess::leptonica
pub fn pix_read_mem(img: &[u8]) -> Result<Pix, PixError>
Like pix_read, but redas the image from memory instead of disk