Rendering of embedded images to BMP / Tiff

When the attached Excel file is rendered to tiff - you can clearly see that a specific embedded Gif image is rendered as a black box - other images are rendered reasonably well.

Issue15-MultipleImages.zip (75.0 KB)

@SamManoff,

Thanks for the template file.

After an initial test, I am able to reproduce the issue as you mentioned by converting your template file to TIFF image format. I found one of the embedded GIF image is rendered as a black box in Excel to TIFF conversion:
e.g
Sample code:

1) //I even tried an indirect way but to no avail. 
Workbook workbook = new Workbook("e:\\test2\\Issue15_mulipleImages.xlsx");

ImageOrPrintOptions op = new ImageOrPrintOptions();
op.ImageType = ImageType.Emf;
op.SaveFormat = Aspose.Cells.SaveFormat.TIFF;
SheetRender sr = new SheetRender(workbook.Worksheets[0], op);
            sr.ToImage(0, "e:\\test2\\out_out1.tiff");
2)

Workbook workbook = new Workbook("e:\\test2\\Issue15_mulipleImages.xlsx");
workbook.Save("e:\\test2\\out12.tiff", SaveFormat.TIFF); 

I have logged a ticket with an id “CELLSNET-46796” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

The issues you have found earlier (filed as CELLSNET-46796) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao