©
This document uses PHP Chinese website manual Release
(PHP 4, PECL pdflib >= 1.0.0)
PDF_place_image — Place image on the page [deprecated]
$pdfdoc
, int $image
, float $x
, float $y
, float $scale
)
Places an image and scales it. 成功时返回 TRUE
, 或者在失败时返回 FALSE
。
This function is deprecated since PDFlib version 5, use PDF_fit_image() instead.
[#1] admin at internettech dot ca [2005-08-06 11:05:29]
[#2] stry_cat at yahoo dot com [2005-08-05 06:36:05]
bmironov at jonview dot com on 24-Jun-2003 03:58 said
> This function deprecated since PDFlib v5.0
I think you're confused. The depreciated function was pdf_put_image not pdf_place_image.
If this is also depreciated then we don't have any functions to add images to a PDF. Not a good thing.
[#3] bob at nijman dot de [2001-08-02 06:08:34]
FYI:
There's a good reason for the fact that we need two functions
(pdf_open_image_file and pdf_place_image)
to insert an image.
This way we can use the same image more than once without having to store it in the PDF again.