20 Jul
2011
20 Jul
'11
2:26 p.m.
On Wed, 20 Jul 2011 14:02:00 +0200, Hartmut Henkel
The lua pdf library with mkiv should be also useful, but I've still to play with it.
luatex's epdf library (= poppler Lua bindings, maybe that's what Luigi meant) allows to extract all this info from a pdf file, with a bit of Lua programming.
Regards, Hartmut
Hello, would you provide a minimal example - if it is possible in the Ctx or Lua scope? Something like: ---- \startluacode local info = SOMETHING.getInfo("File.pdf") local n = info.numPages local w = info.width local h = info.height \stopluacode ---- Best regards, Lukas