Image Color Mode formatting is not kept when saving an excel file

Hello,

We’ve discovered an issue related to picture formatting - on the attached recolor.xlsx file, the image is formatted with a specific Color Mode (in the Office Ribbon - Format->Adjust->Recolor). If you open this file with Aspose.Cells and save it back on the file system, the Color Mode information is lost (No Recolor is seen in the Adjust->Recolor menu).

Also, the file itself seems bigger - e.g. the orginal file’s size on disk is 573,440 bytes, the file created with Aspose (after save) has 1,122,304 bytes - it’s almost doubled in size !

Aspose.Cells version is : 7.3.0.0 .

Please provide some feedback.

Thanks in advance,
Mihai Andrei,
Sr. Software Engineer,
IBM Romania

Hi,

Thanks for your posting and using Aspose.Cells for .NET

You are right. I was able to replicate this issue using the latest version:
Aspose.Cells
for .NET v7.3.0.
1 with the following code.

I have attached the output xlsx file for your reference. The image color information gets lost in the output xlsx file.

We have logged this issue in our database. We will look into it and fix the problems. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-40876.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\recolor.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.Save(filePath + “.out.xlsx”);


Screenshot:

Hi,

We have fixed this issue.

Please download and try this fix: Aspose.Cells for .NET v7.3.0.2

The issues you have found earlier (filed as CELLSNET-40876) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.