pub fn format_frame(pattern: &str, padding: usize, frame: i64) -> StringExpand description
Format frame number into path using pattern and padding. Public function to avoid duplication between Rust Seq and Python PySeq.
- padding >= 2: replace #### with zero-padded frame (e.g., 0042)
- padding < 2: replace @ with raw frame number