Improved conversions from composite documents: PST/OST, MBOX, and archives
CONVERSIONNET‑5517
Enhancement
Improved document types classification following the File Format Guide
CONVERSIONNET‑5558
Fix
Error converting WEBP to JPG
Major features
Conversion to AZW3 format
Options to extract audio from video
Improved document types classification
Improved conversion from composite documents
Conversion to AZW3 format
To convert any of the supported file types to the AZW3 file type, just specify it in the Format property of the EBookConvertOptions class instance:
// Load the source PDF fileusing(Converterconverter=newConverter("sample.pdf")){// Set the convert options for AZW3 formatvaroptions=newEBookConvertOptions{Format=EBookFileType.Azw3};// Convert to AZW3 formatconverter.Convert("converted.azw3",options);}
Extracting audio track from video formats
Extracting audio track from video is similar to converting video, however you need to set the ExtractAudioOnly property to true and specify the desired output format in the AudioFormat property:
// Load the source AVI fileVideoLoadOptionsloadOptions=newVideoLoadOptions();loadOptions.SetVideoConnector(newVideoConnector());using(Converterconverter=newConverter("sample_with_audio.avi",()=>loadOptions)){// Set the convert optionsVideoConvertOptionsoptions=newVideoConvertOptions{ExtractAudioOnly=true,AudioFormat=AudioFileType.Ogg};// Convert to audio fileconverter.Convert("extracted_audio.ogg",options);}