GroupDocs.Conversion for .NET 22.12 Release Notes
There are 5 features, improvements and bug-fixes in this release.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
CONVERSIONNET‑5432 | Feature | Implement conversion to Amazon Kindle AZW3 format |
CONVERSIONNET‑5643 | Feature | Video to Audio conversion |
CONVERSIONNET‑5700 | Enhancement | 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 file
using (Converter converter = new Converter("sample.pdf"))
{
// Set the convert options for AZW3 format
var options = new EBookConvertOptions {
Format = EBookFileType.Azw3
};
// Convert to AZW3 format
converter.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 file
VideoLoadOptions loadOptions = new VideoLoadOptions();
loadOptions.SetVideoConnector(new VideoConnector());
using (Converter converter = new Converter("sample_with_audio.avi", () => loadOptions))
{
// Set the convert options
VideoConvertOptions options = new VideoConvertOptions
{
ExtractAudioOnly = true,
AudioFormat = AudioFileType.Ogg
};
// Convert to audio file
converter.Convert("extracted_audio.ogg", options);
}
Public API and backward incompatible changes
- Introduced a new file type:
WebFileType
. - The
PersonalStorageFileType
file type becomes obsolete. Please use theEmailFileType
or theDatabaseFileType
types instead. - The
MarkupFileType
file type becomes obsolete. Please use theWebFileType
type instead. - The
DataFileType
file type becomes obsolete. Please use theWebFileType
type instead. - Introduced new
ExtractAudioOnly
property of theVideoConvertOptions
class. - Introduced new
AudioFormat
property of theVideoConvertOptions
class.
From GroupDocs.Conversion for .NET v23.1 we will drop support of .NET Framework 3.5. The minimal supported .NET Framework will be 4.0