(PHP 4, PHP 5 <= 5.0.5)
cpdf_import_jpeg — Opens a JPEG image
Opens a JPEG image.
The document handle, returned by cpdf_open().
The path to the image file. The format of the image has to be JPEG
The x-coordinate of the image
The y-coordinate of the image
The image rotation angle, in degrees
The image width
The image height
Should be non-zero to allow this function to operate correctly
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.
Returns TRUE on success or FALSE on failure.