cpdf_import_jpeg
(PHP 4, PHP 5 <= 5.0.5)
cpdf_import_jpeg — Opens a JPEG image
Description
Opens a JPEG image.
Parameters
- 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.
Return Values
Geeft TRUE terug bij succes, FALSE indien er een fout is opgetreden.