Skip to content

LdotJdot/LumPdfiumViewerSlim

Repository files navigation

LumPdfiumViewerSlim

LumPdfiumViewerSlim is a streamlined version of PdfiumViewer. The core of PdfiumViewer has been separated, and the WPF components have been removed. It has been re-implemented using AvaloniaUI and supports AOT (Ahead-Of-Time) compilation to enable fast file preview.

image

GDI is used in System.Drawing to support print function, which is no longer officially supported on Linux / macOS.

Key Features

  • WPF Removal: The original WPF elements, including bookmarks and scroll views, have been removed.
  • AvaloniaUI Implementation: Pages are rendered and displayed in the simplest way through virtual mode.
  • AOT Support: AOT compilation is supported for fast startup.
  • Single-File Compression: Despite AOT's fast startup, we prefer single-file compressed releases. A single-file compressed package, including unmanaged libraries, is only 25.9 MB in size.

License

LumPdfiumViewerSlim is released under the Apache 2.0 license.

About

Simplified Avalonia version of PdfiumViewer with AOT support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages