This package contains pre-compiled binaries of the PDFium library, an open-source library for PDF manipulation and rendering.
$ dotnet add package bblanchon.PDFium.macOSThis 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:
<table> <tr> <th>OS</th> <th>Env</th> <th>CPU</th> <th>PDFium</th> <th>PDFium V8</th> </tr> <tr> <td rowspan="4" colspan=2>Android</td> <td>arm</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-android-arm.tgz">pdfium-android-arm.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-android-arm.tgz">pdfium-v8-android-arm.tgz</a></td> </tr> <tr> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-android-arm64.tgz">pdfium-android-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-android-arm64.tgz">pdfium-v8-android-arm64.tgz</a></td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-android-x64.tgz">pdfium-android-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-android-x64.tgz">pdfium-v8-android-x64.tgz</a></td> </tr> <tr> <td>x86</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-android-x86.tgz">pdfium-android-x86.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-android-x86.tgz">pdfium-v8-android-x86.tgz</a></td> </tr> <tr> <td rowspan="5">iOS</td> <td rowspan="2">catalyst</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-catalyst-arm64.tgz">pdfium-ios-catalyst-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-catalyst-arm64.tgz">pdfium-v8-ios-catalyst-arm64.tgz</a></td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-catalyst-x64.tgz">pdfium-ios-catalyst-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-catalyst-x64.tgz">pdfium-v8-ios-catalyst-x64.tgz</a></td> </tr> <tr> <td>device</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-device-arm64.tgz">pdfium-ios-device-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-device-arm64.tgz">pdfium-v8-ios-device-arm64.tgz</a></td> </tr> <tr> <td rowspan="2">simulator</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-simulator-arm64.tgz">pdfium-ios-simulator-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-simulator-arm64.tgz">pdfium-v8-ios-simulator-arm64.tgz</a></td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-simulator-x64.tgz">pdfium-ios-simulator-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-simulator-x64.tgz">pdfium-v8-ios-simulator-x64.tgz</a></td> </tr> <tr> <td rowspan="8">Linux</td> <td rowspan="5">glibc</td> <td>arm</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-arm.tgz">pdfium-linux-arm.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-linux-arm.tgz">pdfium-v8-linux-arm.tgz</a></td> </tr> <tr> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-arm64.tgz">pdfium-linux-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-linux-arm64.tgz">pdfium-v8-linux-arm64.tgz</a></td> </tr> <tr> <td>ppc64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-ppc64.tgz">pdfium-linux-ppc64.tgz</a></td> <td>not tested yet</td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-x64.tgz">pdfium-linux-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-linux-x64.tgz">pdfium-v8-linux-x64.tgz</a></td> </tr> <tr> <td>x86</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-x86.tgz">pdfium-linux-x86.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-linux-x86.tgz">pdfium-v8-linux-x86.tgz</a></td> </tr> <tr> <td rowspan="3">musl</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-musl-arm64.tgz">pdfium-linux-musl-arm64.tgz</a></td> <td>failing (#192)</td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-musl-x64.tgz">pdfium-linux-musl-x64.tgz</a></td> <td>failing (#191)</td> </tr> <tr> <td>x86</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-musl-x86.tgz">pdfium-linux-musl-x86.tgz</a></td> <td>failing (#193)</td> </tr> <tr> <td rowspan="3" colspan="2">macOS</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-mac-arm64.tgz">pdfium-mac-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-mac-arm64.tgz">pdfium-v8-mac-arm64.tgz</a></td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-mac-x64.tgz">pdfium-mac-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-mac-x64.tgz">pdfium-v8-mac-x64.tgz</a></td> </tr> <tr> <td>univ</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-mac-univ.tgz">pdfium-mac-univ.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-mac-univ.tgz">pdfium-v8-mac-univ.tgz</a></td> </tr> <tr> <td rowspan="3" colspan="2">Windows</td> <td>arm64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-win-arm64.tgz">pdfium-win-arm64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-win-arm64.tgz">pdfium-v8-win-arm64.tgz</a></td> </tr> <tr> <td>x64</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-win-x64.tgz">pdfium-win-x64.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-win-x64.tgz">pdfium-v8-win-x64.tgz</a></td> </tr> <tr> <td>x86</td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-win-x86.tgz">pdfium-win-x86.tgz</a></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-win-x86.tgz">pdfium-v8-win-x86.tgz</a></td> </tr> <tr> <td colspan="3">WebAssembly<sup>1</sup></td> <td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-wasm.tgz">pdfium-wasm.tgz</a></td> <td>not supported</td> </tr> </table> <table> <tr> <th>OS</th> <th>PDFium</th> <th>PDFium V8</th> </tr> <tr> <td>All (meta package)</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium/">bblanchon.PDFium</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8/">bblanchon.PDFiumV8</a></td> </tr> <tr> <td>Android</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.Android/">bblanchon.PDFium.Android</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8.Android/">bblanchon.PDFiumV8.Android</a></td> </tr> <tr> <td>iOS</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.iOS/">bblanchon.PDFium.iOS</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8.iOS/">bblanchon.PDFiumV8.iOS</a></td> </tr> <tr> <td>Linux</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.Linux/">bblanchon.PDFium.Linux</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8.Linux/">bblanchon.PDFiumV8.Linux</a></td> </tr> <tr> <td>macOS</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.macOS/">bblanchon.PDFium.macOS</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8.macOS/">bblanchon.PDFiumV8.macOS</a></td> </tr> <tr> <td>Windows</td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.Win32/">bblanchon.PDFium.Win32</a></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFiumV8.Win32/">bblanchon.PDFiumV8.Win32</a></td> </tr> <tr> <td>WebAssembly<sup>1</sup></td> <td><a href="https://www.nuget.org/packages/bblanchon.PDFium.WebAssembly/">bblanchon.PDFium.WebAssembly</a></td> <td>not supported</td> </tr> </table> <table> <thead> <tr> <th></th> <th>Username</th> <th>Contributions</th> </tr> </thead> <tbody> <tr> <td><img src="https://github.com/bblanchon.png" width="48" height="48" alt="Benoit Blanchon"></td> <td><a href="https://github.com/bblanchon"><code>@bblanchon</code></a></td> <td>Main contributor</td> </tr> <tr> <td><img src="https://github.com/ChristofferGreen.png" width="48" height="48" alt="Christoffer Green"></td> <td><a href="https://github.com/ChristofferGreen"><code>@ChristofferGreen</code></a></td> <td>Linux ARM build</td> </tr> <tr> <td><img src="https://github.com/jerbob92.png" width="48" height="48" alt="Jeroen Bobbeldijk"></td> <td><a href="https://github.com/jerbob92"><code>@jerbob92</code></a></td> <td>Musl and WebAssembly builds</td> </tr> <tr> <td><img src="https://github.com/mara004.png" width="48" height="48" alt="mara004"></td> <td><a href="https://github.com/mara004"><code>@mara004</code></a></td> <td>Conda packages. ppc64 build. Constant aid.</td> </tr> <tr> <td><img src="https://github.com/mgiessing.png" width="48" height="48" alt="Marvin Gießing"></td> <td><a href="https://github.com/mgiessing"><code>@mgiessing</code></a></td> <td>ppc64 build</td> </tr> <tr> <td><img src="https://github.com/sungaila.png" width="48" height="48" alt="David Sungaila"></td> <td><a href="https://github.com/sungaila"><code>@sungaila</code></a></td> <td>NuGet packages</td> </tr> <tr> <td><img src="https://github.com/TcT2k.png" width="48" height="48" alt="Tobias Taschner"></td> <td><a href="https://github.com/TcT2k"><code>@TcT2k</code></a></td> <td>macOS and V8 builds</td> </tr> </tbody> </table<small>1: WebAssembly build is experimental; please provide feedback.</small>
See the Releases page to download older versions of PDFium.
The following NuGet packages are available:
<small>1: WebAssembly build is experimental; please provide feedback.</small>
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_DIR to this folder (e.g., C:\Libraries\pdfium)
In your CMakeLists.txt, add
find_package(PDFium)
Then link your executable with PDFium:
target_link_libraries(my_exe pdfium)
On Windows, make sure that pdfium.dll can be found by your executable (copy it on the same folder, or put it on the PATH).
The following projects use (or recommend using) our PDFium builds:
| Name | Language | Description |
|---|---|---|
| dart_pdf | Dart | PDF creation module for dart/flutter |
| DtronixPdf | C# | PDF viewer and editor toolset |
| go-pdfium | Go | Go wrapper around PDFium with image rendering and text extraction |
| libvips | C | A performant image processing library |
| PDFium RS | Rust | Rust wrapper around PDFium |
| pdfium-vfp | VFP | PDF Viewer component for Visual FoxPro |
| pdfium.vapi | Vala | Vala vapi binding and GTK demo app to display PDF content |
| PDFiumCore | C# | .NET Standard P/Invoke bindings for PDFium |
| PdfiumLib | Pascal | An interface to libpdfium for Delphi |
| PdfLibCore | C# | A fast PDF editing and reading library for modern .NET Core applications |
| PDFtoImage | C# | .NET library to render PDF content into images |
| PDFtoZPL | C# | A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code |
| PDFx | Dart | Flutter Render & show PDF documents on Web, MacOs 10.11+, Android 5.0+, iOS and Windows |
| PyPDFium2 | Python | Python bindings to PDFium |
| Spacedrive | Rust/TS | Cross-platform file manager, powered by a virtual distributed filesystem |
| wxPDFView | C++ | wxWidgets components to display PDF content |
Did we miss a project? Please open a PR!