Forum und email

cpdf_import_jpeg

(PHP 4, PHP 5 <= 5.0.5)

cpdf_import_jpeg — Opens a JPEG image

설명

bool cpdf_import_jpeg ( int $pdf_document , string $file_name , float $x_coor , float $y_coor , float $angle , float $width , float $height , float $x_scale , float $y_scale , int $gsave [, int $mode ] )

Opens a JPEG image.

매개변수

pdf_document

cpdf_open()이 반환한 문서 핸들.

file_name

The path to the image file. The format of the image has to be JPEG

x_coor

The x-coordinate of the image

y_coor

The y-coordinate of the image

angle

The image rotation angle, in degrees

width

The image width

height

The image height

x_scale

y_scale

gsave

Should be non-zero to allow this function to operate correctly

mode

선택적인 mode 매개변수는 단위 길이를 결정합니다. 0이나 없을 경우, 사용하는 페이지의 기본 단위를 사용합니다. 그 외에는 현재 단위에 관계 없이 좌표를 postscript 포인트로 측정합니다.

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.