pub fn detect( data: Option<&[u8]>, filename_or_ext: Option<&str>, ) -> Option<FormatId>
Performs multi-signal detection using both header bytes and file extension.