We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Trouble getting image from worksheet

Good day -

I'm having trouble capturing an image from a worksheet. We have done this many times, but this particular file results in a PNG image that's 0kb in size.

The original file had multiple tabs but I have simplified it by removing the extra tabs and other data. Please find the .xls file attached.

The (ColdFusion) code is fairly simple. We set a range and then use SheetRender to get the image.

















Can you determine why we can't extract an image from that file? We are using the latest version of Cells as of this morning.


Thank you.

Hi,

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

We were able to replicate this issue using the latest version. We have logged this issue in our database. We will look into it and resolve this issue. 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 CELLSJAVA-40539.

Hi,


After further evaluation of your issue, we come to know that there are lots of
worksheet in your Excel file, the worksheet at index 0 is actually hidden, so nothing will be output/printed. Please specify the correct worksheet name or indexed position.

Thank you.

Thank you for the analysis. No wonder that file was so large.

Hi,

Thanks for your posting and using Aspose.Cells.

It seems your issue is fixed. If you encounter any other issue, please feel free to post, we will be glad to help you further.