PoDoFo is a C++ library to work with the PDF file format.
Questions tagged [podofo]
85 questions
0
votes
2 answers
How to Setup Podofo for visual studio?
I'm trying to set up Podofo to Combining two PDF files from a vector std::vector inputfiles;
here are my steps in detail (maybe it's very basic to many people but not to me):
download [podofo-0.9.7]
In vs2019, add #include…

Yen Dang
- 268
- 2
- 9
0
votes
0 answers
Getting "No EOF Marker was found in the PDF file." after using Tesseract C++ API but Tesseract command line utility works fine
I am working on some images using Tesseract & then trying to merge all of the generated PDFs using PoDoFo C++ library.
Have tried 2 approaches (1st one is what I require) :
Using Tesseract C++ API & PoDoFo C++ library
My code is somewhat like…

dashthird
- 47
- 9
0
votes
1 answer
The Signature byte range is invalid using C++ in PoDoFo(Linux)
I am using Podofo libraries and c++ code for PDf signature in Ubuntu environment.Actually I am able to do pdf signature successfully using same library and code in windows environment.
But,getting "Byte range invalid" isuue in Ubuntu 32-bit…

raj
- 49
- 7
0
votes
1 answer
Can I get a byte array From PDF image File with Podofo or libHaru?
When I checked libharu and podofo, I checked the ability to save PDF files, but could not check the ability to load PDF and store them in a byte array.
Can I get a byte array From PDF image File with Podofo or libHaru?
If not, what is the proper…

MrTrain
- 1
0
votes
0 answers
how to transform 'opencv::Mat' to 'podofo::PdfImage'?
I don't know how to transform opencv::Mat to podofo::PdfImage or how to solve the crash. I'm confused.
My code:
// Mat img
// ...do something to init 'img'...
int image_size = img.cols * img.rows;
unsigned char* outBuffer = new unsigned…

pengpeng
- 13
- 4
0
votes
0 answers
Extract images coordinates(only its x,y, width, height) with podofo from pdf pages
This is a modified question on this link
Extract images with podofo from pdf pages
The above link shows how to identify images by page wise.
I need to know how to get only the image coordinated i.e it's (x,y) point and width and height instead of…

senthil
- 21
- 4
0
votes
1 answer
PoDoFo: Get ID of stream
Does anyone know how to get "ID" of stream in XObject? I need get ID as string how it is shown in the picture below - /Im0
In my C++ code I have exactly the XObject as PoDoFo::PdfReference but do not know how to get this ID.

Pornosaurus
- 45
- 6
0
votes
1 answer
Can't load PDF document
I have a question about PoDoFo lib version 0.9.5 in C++ on Ubuntu 17.10.
I try to load PDF scanned document by scanner (with non-scanned docs, it works properly), but there is problem with loading a document.
pdf::Document::Document(const…

Pornosaurus
- 45
- 6
0
votes
0 answers
PoDoFo: Print a Barcode to a pdf
Has anybody experience with this?
I'm trying to print a barcode to a pdf. The solution to set the Code128 font works but i want to get the code from GNU barcode lib or another barcode lib.
I looked through the PoDoFo docs, but didn't find a feature…

Bernhard Fahrner
- 11
- 2
0
votes
1 answer
Lexical or preprocessor issue - Xcode 8.3.2 - Sierra 10.12.4
This is have been truly cumbersome, and i've done a lot for research about it but ended up failing to solve it.
as you can see in the print-screen, this path entered in the Header Path Search and it contains all the .h files have been installed with…

Hadi
- 29
- 7
0
votes
1 answer
Extract images with podofo from pdf pages
I need to extract all images from a pdf file with podofo. Extracting all images from the file works well. I used the image extractor example for that. This receives all objects and iterates over them. But I need to iterate over pages and check for…

Gustavo
- 919
- 11
- 34
0
votes
1 answer
Undefined symbols for architecture x86_64 for mac
I used podofo library for mac application development, while building demo app i am getting following errors.

Sunil aruru
- 497
- 5
- 18
0
votes
1 answer
PoDoFo polish characters & PdfContentsTokenizer error
1.
How to get polish characters from pdf file? Can I somehow tell
PdfVariant::getString()
it will process polish characters?
Becouse I get \200instead of ł for example and the funny thing is thats only when ł occures as first "nonbase" character.…

Fryderyk
- 61
- 1
- 7
0
votes
1 answer
Configuring PoDoFo in CMake
The PoDoFo requirement Page says that zlib and freetype2 are mandotory libraries and rest are optional.
I have already built the zlib and freetype2 and provided their path to CMake GUI.
When I try to Configure PoDoFo in CMake, I get a whole bunch of…

skm
- 5,015
- 8
- 43
- 104
0
votes
1 answer
Podofo text coordinates
I am now about to use PoDoFo to parse PDF.I have the source code pdofo-tools podofotxtextract available here : podofotxtextract file TextExtractor.cpp
.
I would change this code for get the text coordinates, after reading this post : PoDoFo extract…

simon
- 1,180
- 3
- 12
- 33