Converting the attached PDF to HTML, causes a semi-transparent watermark, to be rendered opaque.
This overlays the text and makes the document partially unreadable.
I was able to reproduce the problem with latest GroupDocs.Viewer 24.9.
The problem seems to be triggered, by setting WrapImagesInSvg to true.
using (var viewer = new Viewer(documentPath))
{
var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");
options.PdfOptions.WrapImagesInSvg = true;
viewer.View(options);
}
Attaching the source PDF and two HTML outputs as a sample:
Watermark overlays text.zip (722.3 KB)
Can you please take a look at this?
Hi Clemens,
Thanks for the provided PDF file and resultant HTML, we have reproduced the issue exactly as you have described - the WrapImagesInSvg
flag slightly modifies the HTML generation algorithm and that’s where the observed distortion occurs. It is a bug, we expect to fix it in the GroupDocs.Viewer for .NET version 24.10, which is planned to be released at the end of October.
With best regards,
Denis
1 Like
@denisgvardionov
Hi Denis,
Thanks a lot for checking and also for the ETA, that’s always great to know
Best regards,
Clemens
Hi @Clemens_Pestuka !
Just want to inform that GroupDocs.Viewer for .NET ver.24.10 was released and this bug is fixed there. You can find the library on NuGet or GroupDocs.Downloads.
With best regards,
Denis
1 Like
@denisgvardionov
Hi Denis,
Thank you for the fix and the notification .
I tested with the latest version and can confirm that the problem has been resolved
Best regards,
Clemens
1 Like