//! Library example: identify an image without decoding its pixels.
//!
//! cargo run --release --example probe -- input.webp
//!
//! `probe` reads only the header — format sniff plus *stored*
//! dimensions — so it is cheap enough to run on every upload before
//! deciding whether to accept it. Note the dimensions are the stored
//! ones: for EXIF/AVIF orientations that swap axes, the displayed
//! frame `process` emits has width and height exchanged.
use pipeline;