Colors of images are different from origin pdf after conversion to html files

Hi There


I am using Aspose Pdf 10.4.0 to convert pdf files to html files.

I found that the colors of images in html files are quite different from the origin pdf file.

Here is my code:
Aspose.Pdf.Document doc = new Aspose.Pdf.Document("…/…/testPDF.pdf");
doc.Save("…/…/1.html", Aspose.Pdf.SaveFormat.Html);

If you need more detail, please reply or see the attachement.
I have the pdf file and result html file in the attachement

Please help me to solve this problem, thanks :slight_smile:

Hi there,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for .NET 10.4.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWNET-38799 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

Please feel free to contact us for any further assistance.

<span style=“font-size:10.0pt;line-height:115%;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:Calibri;color:#333333;mso-ansi-language:EN-US;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Best Regards

Is there an ETA of the fix for this problem?

Hi there,


Thanks for your inquriy. I am afraid the reported issue is still pending for investigation as product team is busy in resolving other issues in the queue, reported earlier. However we have raised the issue priority of your issue and requested our product team to investigate the issue and share an ETA/findings at their earliest. We will keep you updated about the issue resolution progress.

Thanks for your patience and cooperation.

Best Regards,

Hi Tilal.Ahmad


This issue exists in Java version as well, Is there any patch for this issue?

Craig

Hi Craig,


We are sorry for the inconvenience. I am afraid the issue is still not resolved, so issue will exist in Java version as well because It is ported version of Aspose.Pdf for .NET. Once it is resolved in .NET version then its fix will be automatically ported to Java version as well. However we have requested our product team to share the update of issue resolution, we will notify you as soon as it is available.

Thanks for your patience and cooperation.

Best Regards,

@craig.w.su

Thanks for your patience.

We are pleased to inform you that earlier reported issue PDFNET-38799, has been resolved in latest version Aspose.PDF for .NET 18.2. Please try using the latest release version and in case you face any issue, please feel free to contact us.