Hi,
Yes difference is that GetReference() must be called on object which is of
type ePdfDataType_Reference and that object is casted to PdfReference.
Reference() can be called on indirect object and it returns PdfReference
which "points" to it.
This is indirect object which is dictionary,
Hi all,
Problem solved I needed to call GetReference() to actually load the
reference .
On 10/09/2019 08:32, zyx wrote:
On Mon, 2019-09-09 at 11:02 +0100, Pietro Paolini wrote:
What the correct approach to do what I want with PoDoFo ?
Hi,
I would try something like this
Hi,
thanks for that, I get stuck at the same point nonetheless,
auto it = page->GetResources()->GetDictionary().begin();
while ( it != page->GetResources()->GetDictionary().end() ) {
std::cout << it->first.GetName() << ","
<<
Hey again,
patch is updated.
Of course i need to resize the buffer that the pdf is read into, not
just make the part bigger that is read from the file. That was pure
oversight on my part, sorry about that.
Greetings,
Dennis
Index: src/podofo/base/PdfParser.cpp
On Mon, 2019-09-09 at 11:02 +0100, Pietro Paolini wrote:
> What the correct approach to do what I want with PoDoFo ?
Hi,
I would try something like this while cycle:
https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/tools/podofoimgextract/ImageExtractor.cpp#l60
Bye,