process_pgs

Function process_pgs 

Source
pub fn process_pgs(opt: &Opt) -> Result<(Vec<TimeSpan>, Vec<GrayImage>), Error>
Expand description

Process PGS subtitle file

ยงErrors

Will return Error::PgsParserFromFile if SupParser failed to be init from file. Will return Error::PgsParsing if the parsing of subtitles failed. Will return Error::DumpImage if the dump of raw image failed.