Questions tagged [pdfium]

PDFium is an open-source PDF rendering engine used in Chrome web browser.

PDFium is an open-source PDF rendering engine used in Chrome web browser.

PDFium is available under BSD license.

Source code available at pdfium.googlesource.com/pdfium.

123 questions
2
votes
1 answer

Creating pdfium dll

I am trying to create a dll for pdfium using Visual Studio 2013 (as in Creating a dll in pdfium) except that when I download pdfium project I set DEPOT_TOOLS_WIN_TOOLCHAIN=0, because now, by default, they use toolchain from depot_tools . But I still…
Vladimir
  • 111
  • 1
  • 6
2
votes
0 answers

Accessing visible PDF with Chrome Extension Content Script

I'm trying to build a Chrome extension to access the binary of a PDF in the case of a user viewing that PDF in a tab in Chrome. I thought that I would use a Content Script to get around file permission issues, and now I'm trying to figure out how to…
2
votes
0 answers

HTML/JavaScript and ActroJS communcation in Chrome

All right, it's about to get all weeeeeird up in here. My goal: I want to push messages back and forth between AcroJS running in a PDF form and regular JS running in an HTML DOM that wraps it, all of which lives in an iframe. I don't control the…
William Scalf
  • 422
  • 2
  • 13
2
votes
3 answers

Library dependencies for pdfiumViewer?

i got some troubles to display a pdf using pdfium using c#. I read this other question: Read a stored PDF from memory stream i downloaded the pdfiumViewer package, but when i compile it, it says that it can't find the pdfium library. So, I…
Json
  • 153
  • 2
  • 7
  • 17
2
votes
2 answers

Creating a dll in pdfium

I am trying to create a dll for pdfium. I am using Visual Studio 2013 (C++) I've tried following instructions from https://github.com/pvginkel/PdfiumViewer but that hasn't worked.(I am trying to get a pdfium dll for a project that is not…
user3872358
  • 105
  • 2
  • 10
2
votes
0 answers

Render PDF Page to Bitmap using Pdfium

I'm trying to convert a PDF page to a .NET Bitmap using Pdfium. I want to use it directly in the WPF so WinForm methods is not intended. I already asked this question (based on my initial understanding) as I was trying to do that using…
Mohsen Afshin
  • 13,273
  • 10
  • 65
  • 90
1
vote
1 answer

Unable to embed Pdfium - unresolved external symbol

After successfully building Pdfium as per Google's docs, I created a new C++ console app with VS2022 and tried to embed .lib resulting from Pdfium build but, it results in several unresolved symbols which, I guess, should be included in standard…
Matteo Meil
  • 1,192
  • 10
  • 20
1
vote
0 answers

Can't load a PDF file using pdfium

I'm trying to load a PDF file to print it using pdfium. It used to work like a charm, but once I installed Docnet.Core (a wrapper for pdfium), the load function stopped working. It keeps giving me this error: Exception thrown:…
1
vote
1 answer

PDF load error in com.github.barteksc.pdfviewer

I'm using com.github.barteksc.pdfviewer library to view pdf files. I don't know what happened it stopped working from past 2 weeks, Im getting PDF load error. This is my PdfViewer.java class RetrievePdfStream extends AsyncTask
1
vote
2 answers

Cannot load JPG image Pdfium

I try to do some stuff with PDF for a project. I'm trying to do some interop with Pdfium: https://pdfium.googlesource.com/pdfium/. I want to convert a JPG image to a PDF (just for the start). So I found some resources on the web and I came to…
Thomas
  • 104
  • 1
  • 6
1
vote
1 answer

Dotnet Core: use PDFium to convert Pdf to Image on Linux get DllNotFoundException

I try to use pdfium to convert pdf to image in linux. but got this error: Unhandled exception. System.DllNotFoundException: Unable to load shared library 'pdfium.dll' or one of its dependencies. In order to help diagnose loading problems, consider…
HamedH
  • 2,814
  • 1
  • 26
  • 37
1
vote
1 answer

What are & elements in XFDF?

I am working on a RnD project focused on PDF annotating. Annotation sharing, backup, etc. I have seen this couple of lines in other XFDF creating applications.
1
vote
1 answer

A PDF with different outputs in different PDF viewers (with shades)

Consider the following PostScript file [1 0 0.5 0.866 150 550] concat << /ShadingType 2 /Coords [ 0 0 100 100] /BBox [ 0 0 100 100] /ColorSpace [ /DeviceRGB ] /Function << /FunctionType 0 /Domain [0 1]…
F. Pantigny
  • 268
  • 1
  • 8
1
vote
0 answers

Get, customize and recompile the source code of PDFium extension present in Chrome/MS-Edge

I know that the Pdf-viewer in Chrome and MS-Edge is basically an open source extension based on PDFium. I have read along the internet attempts of people trying to customize the built-in pdf-viewer e.g. changing the background color for a friendly…
1
vote
0 answers

JavaScript and pdfium (native Chrome PDF viewer). Can you get current page number

I'm looking how to get current page of the opened in chrome pdf file via JavaScript. I've tried this two suggestions: caseOne, caseTwo I'm not sure if I blind or do something wrong, but I can't make it work. So I would be really glad if someone…
RomanistHere
  • 795
  • 7
  • 17
1 2
3
8 9