Hi,
I am getting “A generic error occurred in GDI+.” exception while converting the excel book to tif format with Tiffcompression is none. Plese find the below code for your reference and also I attached the test document.
Workbook _workBook = new Workbook(filename);
ImageOrPrintOptions _printOptions = new ImageOrPrintOptions();
printOptions.TiffCompression = Aspose.Cells.Rendering.TiffCompression.CompressionNone;
WorkbookRender bookRender = new WorkbookRender(_workBook, _printOptions);
bookRender.ToImage(outputFile);
Thanks,
Dhivya