Image Quality worse after upgrading aspose to version 15.10.0

Hello,

After upgrading from aspose version 14.8.0 to aspose version 15.10.0 we noticed the quality of our images is worse.

After closer inspection of the xml inside the document I noticed the images get the nodetype drawing instead of picture, and think this could be the root of the problem.

We don’t do anything exciting when merging our document with an image.

Private Sub ImageFieldMerging(ByVal e As ImageFieldMergingArgs) Implements IFieldMergingCallback.ImageFieldMerging

If e.FieldValue IsNot Nothing AndAlso e.FieldValue.GetType() IsNot GetType(DBNull) Then

Dim imageStream As New IO.MemoryStream(CType(e.FieldValue, Byte()))

e.ImageStream = imageStream

End If

End Sub

Is there anything we can do on our end to regain the quality of the images?

In attachment I’ve added two documents, one with the old version of aspose one with the new version as a reference to the quality.

With kind regards,

KrisG

Hi Kris,

Thanks for your inquiry. But both documents ("How+it+is+now.docx" and "How+it+used+to+be.docx") you attached were generated using Aspose.Words for .NET 15.10.0 version. Please attach the following resources here for further testing:

  • Your input Word document
  • Image files
  • Please create a standalone Console application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing..

As soon as you get these pieces of information ready, we'll start further investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

Best regards,