cpdf_import_jpeg

(PHP 3>= 3.0.9, PHP 4 )

cpdf_import_jpeg -- Opens a JPEG image

Description

int 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])

The cpdf_import_jpeg() function opens an image stored in the file with the name file name. The format of the image has to be jpeg. The image is placed on the current page at position (x-coor, y-coor). The image is rotated by angle degrees. gsave should be non-zero to allow this function to operate correctly.

Nepovinný parametr mode určuje délku jednotky. Když je nastaven na 0 nebo není uveden, je použita výchozí jednotka stránky. Jinak jsou souřadnice měřeny v bodech PostScript bez ohledu na aktuální jednotku.

See also cpdf_place_inline_image().