This project hosts pre-compiled binaries of the PDFium library, an open-source library for PDF manipulation and rendering.
Builds have been triggered automatically every Monday since 2017.
Disclaimer: This project isn't affiliated with Google or Foxit.
Here are the download links for latest release:
1: WebAssembly build is experimental; please provide feedback.
See the Releases page to download older versions of PDFium.
The following NuGet packages are available:
| OS | PDFium | PDFium V8 |
|---|---|---|
| All (meta package) | bblanchon.PDFium | bblanchon.PDFiumV8 |
| Android | bblanchon.PDFium.Android | bblanchon.PDFiumV8.Android |
| iOS | bblanchon.PDFium.iOS | bblanchon.PDFiumV8.iOS |
| Linux | bblanchon.PDFium.Linux | bblanchon.PDFiumV8.Linux |
| macOS | bblanchon.PDFium.macOS | bblanchon.PDFiumV8.macOS |
| Windows | bblanchon.PDFium.Win32 | bblanchon.PDFiumV8.Win32 |
| WebAssembly1 | bblanchon.PDFium.WebAssembly | not supported |
1: WebAssembly build is experimental; please provide feedback.
HELP WANTED!
I can provide packages for your favorite package manager, but I need help from someone who knows the format. Contact me via GitHub issues if you want to help.
Please find the documentation of the PDFium API on developers.foxit.com.
-
Unzip the downloaded package in a folder (e.g.,
C:\Libraries\pdfium) -
Set the environment variable
PDFium_DIRto this folder (e.g.,C:\Libraries\pdfium) -
In your
CMakeLists.txt, addfind_package(PDFium) -
Then link your executable with PDFium:
target_link_libraries(my_exe pdfium) -
On Windows, make sure that
pdfium.dllcan be found by your executable (copy it on the same folder, or put it on thePATH).
The following projects use (or recommend using) our PDFium builds:
- dart_pdf, PDF creation module for dart/flutter
- Flutter native_pdf_renderer, Flutter Plugin to render PDF pages as images
- go-pdfium, a Go wrapper around PDFium with helper functions for various methods like image rendering and text extraction
- PDFium RS, a Rust wrapper around PDFium
- PDFiumCore, .NET Standard P/Invoke bindings for PDFium
- PDFtoImage, .NET library to render PDF content into images
- PyPDFium2, Python bindings to PDFium
- wxPDFView, wxWidgets components to display PDF content
- libvips, a performant image processing library
- PdfiumLib, an interface to libpdfium for Delphi
Did we miss a project? Please open a PR!
David Sungaila, @sungaila:
- NuGet packages
Christoffer Green, @ChristofferGreen:
- Linux ARM build
Tobias Taschner, @TcT2k:
- macOS build
- V8 build