Shape to image Error! converting XLSX to PDF

thanks or timely response. I am outputing files as tiffs not pdfs, so please make sue TIF options is functional as well.

erexa:
thanks or timely response. I am outputing files as tiffs not pdfs, so please make sue TIF options is functional as well.
Hi,

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

We have checked your issue and converted your file into TIFF image and same exception does occur. We have also logged your comments in our database. We will look into it and fix this issue too. Once, there is some update for you, we will let you know asap.

Hi,

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

We have fixed the issue.

Please download and try this fix: Aspose.Cells for .NET v7.5.1.3 and let us know your feedback.

Thanks for timely response.

I tried your fix, it does not fail, but now it spoils the output image.

Please try this file

problem.xls

Hi,

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

We were able to observe this issue by converting your xls file into tif image. The output image is not correct. Please see the following code. We have attached the output tiff image for your reference.

This issue has been logged as CELLSNET-41884.

C#


Workbook workbook = new Workbook(path);


Worksheet worksheet = workbook.Worksheets[0];


Aspose.Cells.Rendering.ImageOrPrintOptions options = new Aspose.Cells.Rendering.ImageOrPrintOptions();

options.OnePagePerSheet = true;

options.ImageFormat = ImageFormat.Tiff;


SheetRender sr = new SheetRender(worksheet, options);

Bitmap bitmap = sr.ToImage(0);

bitmap.Save(path + “.out.tif”, ImageFormat.Tiff);



I tried your code and still the output image is messed up. Will wait for resolution.

Hi,

Thanks for your posting and using Aspose.Cells.

We have already logged your issue in our database. Please spare us some time. We will look into it and fix this issue and update you asap.

Any news on the issue?

I am sorry if I am bugging you, our clients are asking for update and follow up on the issue and so do I.

thanks
Vahram

Hi,

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

We are afraid, there is no update for you at this moment. However, we have logged your comments in our database. Once, we will have some fix or update for you, we will let you know asap.

Still no news for this WordArt issue?

Hi,

Thanks for your posting and using Aspose.Cells.

We have checked your issue status from our database and found that your issue is resolved. We will provide you a fix in upcoming release. Once, the fix is available, we will let you know asap.

mshakeel.faiz:
Hi,

Thanks for your posting and using Aspose.Cells.

We have checked your issue status from our database and found that your issue is resolved. We will provide you a fix in upcoming release. Once, the fix is available, we will let you know asap.


I tried 7.5.20 nd it does not solve my issue :(

Hi,


Please download and try the latest version: Aspose.Cells for .NET v7.5.2.1.

It does render the image file but still I think there are some formatting issues for the word arts in the output images. Please try it and let us know your feedback.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

We are seeing this issue with latest build of Aspose.Cells v7.7.0

We are trying to convert an XLS to PDF.





File Format APIs for .NET Core, Java, Python, C++, Android | products.aspose.com



The exception is

Message: Shape to image Error!

Stack Trace: at Š.”.Š›(Stream )

at Aspose.Cells.Workbook.Save(Stream stream, SaveOptions saveOptions)

Hi Nitish,


Thanks for providing us template file.

After an initial test, I observed the issue as you mentioned by converting your attached template file to PDF, I got the exception:
“Shape to image Error!”.
I have logged a ticket with an id “CELLSNET-42251” for your issue. We will look into your issue soon.

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

Thank you.

Hi,


Please download and try our latest fix/version : Aspose.Cells for .NET v7.7.0.2

We have tested it fixes the exception (issue). But I am afraid, currently, the WordArt and SmartArt in XLSX to render to PDF format is not supported. It is a hard task as per our current analysis. We may need more time to support it.

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

Thank you.


Hi Amjad Sahi,

Our company are using Aspose.Cell version 7.6.0.0 and I got this error: " Shape to image Error" when convert xslx file to PDF. Could you double check that this is a bug of our current version? If the new version has already fixed this bug, I will ask my team upgrade the new one. Please see my attachment file.
Thanks

Hi Mike,

Thanks for using Aspose.Cells.

I have converted your source xlsx file to pdf using the latest version: Aspose.Cells for .NET 7.7.2 and it generated no exception. The file was converted to pdf successfully with it.

@MikeTran,
Currently, WordArt and SmartArt that render xlsx to pdf are not supported. We will notify you when it will be supported.