Andreas Matthias wrote:

Here, you are iterating over a /Page dictionary (doc.Pages[1]), which
is a real dictionary.
No issues when iterating over real dictionaries with pdfe.dictionarytotable().

But the /Contents entry of this dictionary refers to a stream. And the
first part of a stream object is a dictionary. But you cannot use
pdfe.dictionarytotable() in this case.

OK, understood.  In that case, is there a Lua selector for  'the first part of a stream object', and if so, do you need to explicit deploy it ?
--
/Philip Taylor/

Reply via email to