[reportlab-users] Slightly insane question....
Dinu Gherman
reportlab-users@reportlab.com
Wed, 22 Jan 2003 20:42:01 +0100
Schollnick, Benjamin:
> Folks,
>
> But I've got a directory of PDF's that I need to find the =
papersize,
> and other information from....
>
> I don't remember seeing an easy way to use reportlab to "report"
> information on existing PDF files?
>
> Anyone have any suggestions on how to do this? (With or without
> reportlab)
There is no way with the standard RLTK, but you can extract the
paper size of a page using PageCatcher. Be aware that a document
can have pages of multiple sizes!
A long time ago I wrote some code aiming at extracting "every-
thing" from given PDF files, but it was incomplete and was never
released, although I admit I'm tempted to resume it...
Dinu
--
Dinu C. Gherman
......................................................................
"Les gens se divisent en deux cat=E9gories=A0: les uns cherchent et
ne trouvent pas, les autres trouvent et ne sont pas contents."
(Mihail Eminescu)