Aspose progress reporting for different file type conversion

We are looking forward to convert a wide variety of files into JPEG images for thumbnail and scaled image generation.

We will be using below file format to convert into jpeg images to use it for our purpose.

Word extensions(Microsoft, Libre, Google):- .doc, .docx, .docm, .odt, .ott, .rtf , odf

PPT extensions(Microsoft, Libre, Google):-.ppt, .pptx, .pptm, .odp, otp.

Excel extensions(Microsoft, Libre,):- .xls, .xlsx, .ods, .ots

Image Formats:-.jpg, .jpeg, .gif, .bmp, .png, .tif, .tiff

Web and Ebook Formats:- .epub, .svg

Text-based Spreadsheet Formats:- .csv, .tsv

Extensible Markup Language:- .xml

Other File type:- .eps, .ai, .psd, .psb, eps, .ps, .ai, .psd, , .psb, DWG, DXF

This conversion is taking too much time for some cases due to file being big in size, So I would like to know if ASPOSE reports status back using any handler to tell about the progress.

@Nishantsingh078 Aspose.Words has a ProgressCallback for loading/saving documents. Please refer to our documentation:

@Nishantsingh078,

As for Aspose.Slides and presentation files, you can implement the IProgressCallback interface like this:

class ProgressHandler : IProgressCallback
{
    public void Reporting(double progressValue)
    {
        // Handle the progressValue (in percentage) here.
    }
}

You can then use it to track the conversion of your presentation slides to images:

using var presentation = new Presentation("sample.pptx");

var renderingOptions = new RenderingOptions
{
    ProgressCallback = new ProgressHandler()
};

foreach (var slide in presentation.Slides)
{
    using var bitmap = slide.GetImage(renderingOptions);
    // ...
}

Please note that the SaveOptions class also contain the ProgressCallback property.
Save Presentation in .NET|Aspose.Slides Documentation

@Nishantsingh078,

Aspose.Cells has IPageSavingCallback interface for the task. You may use it to show the document conversion progress instead of just a loading screen to enhance the usability of your application. You may use it for tracking document conversion process, it has PageStartSaving and PageEndSaving methods that you can implement in your custom class. You may also control which pages are to be rendered for your needs.

See the document with example on how to track conversion progress of Excel file to image.

Moreover, see the document with example on how to track document conversion progress in Excel to PDF.