From PDFLib's manual:
"When the optional PDI (PDF import) library is attached to PDFlib, pages from existing PDF documents can be imported. PDI contains a parser for the PDF file format, and prepares pages from existing PDF documents for easy use with PDFlib.
Conceptually, imported PDF pages are treated similarly to imported raster images such as TIFF or PNG: you open a PDF document, choose a page to import, and place it on an output page, applying any of PDFlib’s transformation functions for translating, scaling, rotating, or skewing the imported page."
The manual can be downloaded along with PDFLib at http://www.pdflib.com/products/pdflib/download/index.html
PDF_open_pdi
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_open_pdi — PDF ファイルをオープンする [古い関数]
説明
int PDF_open_pdi
( resource
$pdfdoc
, string $filename
, string $optlist
, int $len
)後で使用するため、ディスクベースかあるいは仮想 PDF ドキュメントをオープンします。
この関数は PDFlib バージョン 7 で廃止されました。 かわりに PDF_open_pdi_document() を使用してください。
ytsedan
28-Mar-2006 05:33
m_schieferdecker at hotmail dot com
01-Mar-2004 02:48
The function returns the intval -1 on failure.
tylerrayner at netscape dot net
28-May-2002 03:45
The "stringparam" and "intparam" here are reserved for later use, and must be NULL and 0, respectively.
