downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

PDF_open_tiff> <PDF_open_pdi_page
[edit] Last updated: Fri, 26 Apr 2013

view this page in

PDF_open_pdi

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_open_pdiOpen PDF file [deprecated]

Description

int PDF_open_pdi ( resource $pdfdoc , string $filename , string $optlist , int $len )

Opens a disk-based or virtual PDF document and prepares it for later use.

This function is deprecated since PDFlib version 7, use PDF_open_pdi_document() instead.



PDF_open_tiff> <PDF_open_pdi_page
[edit] Last updated: Fri, 26 Apr 2013
 
add a note add a note User Contributed Notes PDF_open_pdi - [3 notes]
up
1
ytsedan
7 years ago
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
up
0
m_schieferdecker at hotmail dot com
9 years ago
The function returns the intval -1 on failure.
up
-1
tylerrayner at netscape dot net
10 years ago
The "stringparam" and "intparam" here are reserved for later use, and must be NULL and 0, respectively.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites