pdf_add_thumbnail

(PHP 4 >= 4.0.5, PECL)

pdf_add_thumbnail -- Adds thumbnail for current page

Description

bool pdf_add_thumbnail ( resource pdfdoc, int image )

Adds an existing image as thumbnail for the current page. Thumbnail images must not be wider or higher than 106 pixels. 如果成功则返回 TRUE,失败则返回 FALSE

See also pdf_open_image(), pdf_open_image_file() and pdf_open_memory_image().