pict-rs/src/validate/exiftool.rs

7 lines
278 B
Rust
Raw Permalink Normal View History

use crate::{exiftool::ExifError, process::Process};
2023-12-16 04:34:45 +00:00
#[tracing::instrument(level = "trace", skip_all)]
pub(super) async fn clear_metadata_command(timeout: u64) -> Result<Process, ExifError> {
Ok(Process::run("exiftool", &["-all=", "-", "-out", "-"], &[], timeout).await?)
}