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() << ","
                      << it->second->Reference().ObjectNumber() << " "
                      << it->second->Reference().GenerationNumber()
                      << std::endl;
            ++it;
        }

Font,0 0
ProcSet,0 0
XObject,0 0
ExtGState,0 0
Font,0 0
ProcSet,0 0
XObjec

Names are OK but references are all zeros ...

Thanks,
P.

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 while cycle:
https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/tools/podofoimgextract/ImageExtractor.cpp#l60

        Bye,
        zyx



_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users



_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to