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.
GDI is used in System.Drawing to support print function, which is no longer officially supported on Linux / macOS.
- 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.
LumPdfiumViewerSlim is released under the Apache 2.0 license.