GroupDocs.Conversion for .NET 24.11 Release Notes
There are 20+ features, improvements, and bug fixes in this release.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
CONVERSIONNET-7328 | Feature | Implement conversion from Avif format |
CONVERSIONNET-7298 | Enhancement | Support tagging for all documents |
CONVERSIONNET-7296 | Enhancement | Improve image to web conversion by reducing resource usage and increasing speed |
CONVERSIONNET-7295 | Enhancement | Improve image to word processing conversion by reducing resource usage and increasing speed |
CONVERSIONNET-7294 | Enhancement | Improve image to spreadsheet conversion by reducing resource usage and increasing speed |
CONVERSIONNET-7293 | Enhancement | Improve image to presentation conversion by reducing resource usage and increasing speed |
CONVERSIONNET-7282 | Enhancement | Improve image to PDF conversion by reducing resource usage and increasing speed |
CONVERSIONNET-7277 | Enhancement | Improve image quality when converting from Cdr |
CONVERSIONNET-7276 | Enhancement | Enable formula calculation error suppression in SpreadsheetLoadOptions |
CONVERSIONNET-7270 | Enhancement | Add property to retrieve active sheet information in SpreadsheetDocumentInfo class |
CONVERSIONNET-7268 | Enhancement | Support for converting Pdf to transparent Png or Tiff image format |
CONVERSIONNET-7125 | Enhancement | Implementing Per-Item Timeout and Cancellation Tokens for Recursive File Conversion |
CONVERSIONNET-7329 | Bug | Email Address is no longer shown when converting EML/MSG to PDF |
CONVERSIONNET-7324 | Bug | Timeout exception when converting from Web formats with external resources |
CONVERSIONNET-7291 | Bug | Losing vectorization when converting from SVG to SVGZ |
CONVERSIONNET-7290 | Bug | Conversion to Svgz applies trial badge |
CONVERSIONNET-7288 | Bug | Error “IImageFormatProvider is not set” when converting from mpx to pdf |
CONVERSIONNET-7281 | Bug | Trial badge is applied when converting from Fodg, Svgz, Emz, Otg, Odg, Emf to Pdf even when a valid license is applied |
CONVERSIONNET-7274 | Bug | DOCX file not converted to PDF getting ConversionException |
CONVERSIONNET-7273 | Bug | MSG converted to PDF with empty page of message |
CONVERSIONNET-7266 | Bug | Image is stretched when converting image to spreadsheet |
CONVERSIONNET-7186 | Bug | Formulas not evaluated when converting XLSX to PDF in .NET |
CONVERSIONNET-7158 | Bug | The GetDocumentInfo() method freezes the app |
CONVERSIONNET-6972 | Bug | Cannot convert from DNG format |
CONVERSIONNET-4896 | Bug | PagesCount is ignored when converting any XLSX to PNG in .NET |
CONVERSIONNET-3967 | Bug | Transparency is lost during document conversion |
Major features
- Avif Format Support: Added support for converting from the Avif image format.
- Improved Image Conversion Efficiency: Optimized image-to-document conversions (e.g., Word, PDF, Spreadsheet, Presentation) by reducing resource usage and increasing speed.
- Enhanced Spreadsheet Handling: Introduced formula calculation error suppression in
SpreadsheetLoadOptions
and added active sheet information retrieval in theSpreadsheetDocumentInfo
class. - Transparent Image Conversion: Added support for converting PDF documents to transparent PNG or TIFF image formats.
- Timeout and Cancellation Support: Implemented per-item timeout and cancellation tokens for recursive file conversion tasks, enabling better control over long-running processes.
Public API and backward incompatible changes
Introduced new property PreserveDocumentStructure in SpreadsheetLoadOptions class.
Usage example:
const string source = "balance.xlsx"; using (var converter = new Converter(source, (LoadContext loadContext) => new SpreadsheetLoadOptions { PreserveDocumentStructure = true })) { var options = new PdfConvertOptions(); converter.Convert("balance.pdf", options); }
Introduced new property PreserveDocumentStructure in PresentationLoadOptions class.
Usage example:
const string source = "presentation.pptx"; using (var converter = new Converter(source, (LoadContext loadContext) => new PresentationLoadOptions { PreserveDocumentStructure = true })) { var options = new PdfConvertOptions(); converter.Convert("presentation.pdf", options); }
Introduced new property IgnoreFormulaCalculationErrors in SpreadsheetLoadOptions class.
Usage example:
const string source = "balance.xlsx"; using (var converter = new Converter(source, (LoadContext loadContext) => new SpreadsheetLoadOptions { IgnoreFormulaCalculationErrors = true })) { ... }
The ConvertContext class has been extended with a new CancellationToken property. This property allows users to control the timeout for each item during conversion. By setting a CancellationToken for individual items, users can effectively manage and cancel long-running conversions, providing greater flexibility and control over the conversion process.
The SaveContext and ConvertedContext classes have been enhanced with two new properties:
HierarchyLevel
: Represents the depth level of the current item in a hierarchical structure, such as when processing container documents (e.g. emails with attachments, pst, ost, archives).ItemIndex
: Indicates the index of the current item within its hierarchy, providing a clear reference for tracking and processing individual items during conversions.
These additions enable better context and control when handling complex or nested documents, making the conversion process more intuitive and manageable.