All Projects β†’ bblanchon β†’ Pdfium Binaries

bblanchon / Pdfium Binaries

πŸ“° Binary distribution of PDFium

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
cpp
1120 projects

Labels

Projects that are alternatives of or similar to Pdfium Binaries

Node Webkitgtk
webkitgtk bindings for πŸš€ Node.js
Stars: ✭ 185 (-11.06%)
Mutual labels:  pdf
Pdfcpu
A PDF processor written in Go.
Stars: ✭ 2,852 (+1271.15%)
Mutual labels:  pdf
Pdfgen
Simple C PDF Writer/Generation library
Stars: ✭ 200 (-3.85%)
Mutual labels:  pdf
Awesome Cv
πŸ“„ Awesome CV is LaTeX template for your outstanding job application
Stars: ✭ 14,957 (+7090.87%)
Mutual labels:  pdf
P2.
πŸ“„ p2. - Simple and secure PDF to PNG server.
Stars: ✭ 191 (-8.17%)
Mutual labels:  pdf
Pdfxkit
A drop-in replacement for Apple PDFKit powered by our PSPDFKit framework under the hood.
Stars: ✭ 195 (-6.25%)
Mutual labels:  pdf
Clawpdf
Open Source virtual PDF printer for Windows // Print to PDF, PDF/A, PDF/X, PNG, JPEG, TIF and text
Stars: ✭ 183 (-12.02%)
Mutual labels:  pdf
Squid
A Ruby library to plot charts in PDF files
Stars: ✭ 205 (-1.44%)
Mutual labels:  pdf
Html To Pdfmake
This module permits to convert HTML to the PDFMake format
Stars: ✭ 190 (-8.65%)
Mutual labels:  pdf
Ibm Z Zos
The helpful and handy location for finding and sharing z/OS files, which are not included in the product.
Stars: ✭ 198 (-4.81%)
Mutual labels:  pdf
Algorithms
This repository is for learning and understanding how algorithms work.
Stars: ✭ 189 (-9.13%)
Mutual labels:  pdf
Androidpdf
Stars: ✭ 190 (-8.65%)
Mutual labels:  pdf
Paper
Hassle-free HTML to PDF conversion abstraction library.
Stars: ✭ 196 (-5.77%)
Mutual labels:  pdf
Elispcheatsheet
Quick reference to the core language of Emacs ---Editor MACroS.
Stars: ✭ 186 (-10.58%)
Mutual labels:  pdf
Awesome Books
πŸ“š εΌ€ε‘θ€…ζŽ¨θι˜…θ―»ηš„δΉ¦η±
Stars: ✭ 2,740 (+1217.31%)
Mutual labels:  pdf
Dspdfviewer
Dual-Screen PDF Viewer for latex-beamer
Stars: ✭ 184 (-11.54%)
Mutual labels:  pdf
Markdown Pdf
πŸ“„ Markdown to PDF converter
Stars: ✭ 2,365 (+1037.02%)
Mutual labels:  pdf
Grim
Tool for extracting pages from pdf as images and text as strings.
Stars: ✭ 208 (+0%)
Mutual labels:  pdf
Fe Books
πŸ“– πŸ“– 前端书籍pdf整理
Stars: ✭ 206 (-0.96%)
Mutual labels:  pdf
React Native Pdfview
πŸ“š PDF viewer for React Native
Stars: ✭ 198 (-4.81%)
Mutual labels:  pdf

Total number of downloads Windows Build status Linux/macOS Build Status

Pre-compiled binaries of PDFium

This project hosts pre-compiled binaries of the PDFium library.

See Releases page to download binaries.

Download links

Here are the download links for latest release:

Platform PDFium PDFium with V8 and XFA
Windows 32-bit pdfium-windows-x86.zip (2 MB) Unavailable (buildtime > 2h)
Windows 64-bit pdfium-windows-x64.zip (2 MB) Unavailable (buildtime > 2h)
Linux pdfium-linux.tgz (6 MB) pdfium-linux-v8.tgz (37 MB)
macOS (Intel) pdfium-darwin-x64.tgz (6 MB) pdfium-darwin-x64-v8.tgz (42 MB)
macOS (ARM) pdfium-darwin-arm64.tgz (6 MB) -

How to use PDFium in a CMake project

  1. Unzip one of more variants in a folder (eg C:\Libraries\pdfium)

  2. Set the environment variable PDFium_DIR to this folder (eg C:\Libraries\pdfium)

  3. In your CMakeLists.txt, add

     find_package(PDFium)
    
  4. Then link you executable with PDFium:

     target_link_libraries(my_exe pdfium)
    
  5. On Windows, make sure that pdfium.dll can be found by your executable.

How to use JavaScript V8 enabled binaries

If you are using the V8 enabled binaries additional initialization is required. In your code before using PDFium you have to call FPDF_InitEmbeddedLibraries() from the additional header fpdf_libs.h which is only available in V8 enabled binaries.

The archive will contain a res folder which you have to distribute with your application. On macOS you should include this in your application bundle for other platforms place it where your application binary will find it.

See the following example for usage:

    #include "fpdf_libs.h"

    ...

    // Determine the path to files in the res folder from the archive
    const char* resPath = "<path to the res folder>";

    // Initialize V8 and other embedded libraries
    FPDF_InitEmbeddedLibraries(resPath);

    // Make use of PDFium
    FPDF_InitLibrary();
    FPDF_DestroyLibrary();

How to create macOS universal binary

To create a universial macOS binary containing both Intel and ARM code download both CPU versions and use the mac_create_universal.sh script to create a universal archive.


This project isn't affilated with Google nor Foxit.

We are very thankful to AppVeyor and Travis CI for extending the build time limit, which allows us to build PDFium with V8.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].