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

Free Support Forum - groupdocs.com

Certain PDF becomes unreadable after converting to HTML in .NET

Converting the attached PDF to HTML using GroupDocs.Viewer 21.10 results in a completely unreadable output.
PDF upside down.zip (200.9 KB)

image.png (25.5 KB)
This problem might occur for all 180° rotated PDF files, but at least with the two attached samples.
No special conversion code was needed to trigger the problem.

        using (var viewer = new Viewer(documentPath))
        { 
            var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");
            viewer.View(options);
        }

Hi @Clemens_Pestuka

We could reproduce this issue at our end. It’s been logged in our internal issue tracking system with ID VIEWERNET-3685. As there’s any update, you’ll be notified.

1 Like