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

Free Support Forum - aspose.com

Convert EMF Image to PDF using C# Code of Aspose.Words | Retain Watermarks Color & Style | Optimize PDF

Hi Aspose support,

In out product we started to use EMF to PDF conversion via Aspose, and after some research with different ways and different Aspose libraries we found that the optimal one is to use Aspose.Words.dll to insert EMF picture into document, convert to Word document to PDF and then optimize PDF with Aspose.PDF.dll. In this case conversion speed and resulted PDF file size and quality are optimal.

Actually the base of the conversion method is taken from example: https://docs.aspose.com/display/wordsnet/Converting+a+Document#ConvertingaDocument-ConvertImageToPdfMethod

But with this method we noticed problems with content in resulted PDF file.
Checked with:
Aspose.Words.dll v 19.7.0
Aspose.PDF.dll v19.7.0

Watermarks are black and doubled in the saved/converted PDF.
WatermarksResult.png (208.6 KB)

See EMF:
WatermarksEMF.zip (3.8 KB)

Seer project codes for more details:
EmfToPdf.zip (6.0 KB)

Please help with this problem. Watermark should look as watermark, but not as black text through the document.
Thanks in advance.

@licenses,

We managed to reproduce this issue on our end and have logged it in our bug tracking system. The ID of this issue is WORDSNET-18954. Your thread has been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Hi Aspose support,
Do you have any updates regarding when the issues will be fixed?
The problem related to our customer’s bug report and we would like to have estimation for solution.
Thanks.

@licenses,

I am afraid, there are no estimates available at the moment. However, we have logged your concerns in our issue tracking system and will be sure to inform you via this thread as soon as any estimates or further updates may be available. We apologize for any inconvenience.

@licenses,

Thanks for being patient. We have completed the analysis and the root cause of this issue has been identified. If everything goes by plan, then we are very hopeful to include the fix of this issue in 20.7 version of Aspose.Words. The 20.7 version of Aspose.Words will be released at the start of July 2020.

Thanks for the update.

The issues you have found earlier (filed as WORDSNET-18954) have been fixed in this Aspose.Words for .NET 20.7 update and this Aspose.Words for Java 20.7 update.