PHP: cpdf_import_jpeg - Manual

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

search for in the

cpdf_lineto cpdf_global_set_document_limits

Last updated: Fri, 26 Jan 2007

view this page in

# cpdf_import_jpeg

(PHP 3 >= 3.0.9, PHP 4, PHP 5 <= 5.0.4)

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`

  The document handle, returned by 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`

  The optional parameter `mode` determines the unit length. If it is 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

cpdf_place_inline_image()

add a note User Contributed Notes
cpdf_import_jpeg
There are no user contributed notes for this page.
cpdf_lineto cpdf_global_set_document_limits

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST