in Deutsh
in French
in Polish

You Are At Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

cpdf_import_jpeg

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

cpdf_import_jpeg -- Opens a JPEG image

Description

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.

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

Returns TRUE on success or FALSE on failure.

See Also

cpdf_place_inline_image()

oprogramowanie magazynowe
Najtańszy fotograf lublin na ślub
kody kreskowe paskowe RFID Czytniki mobilne drukarki etykiet termina
Pozycjonowanie stron
Dostawca kas fiskalnych w Białymstoku

Another Useful functions:


function.cpdf-translate | function.cpdf-text | function.cpdf-stroke | function.cpdf-stringwidth | function.cpdf-show | function.cpdf-show-xy | function.cpdf-setrgbcolor | function.cpdf-setrgbcolor-stroke | function.cpdf-setrgbcolor-fill | function.cpdf-setmiterlimit | function.cpdf-setlinewidth | function.cpdf-setlinejoin | function.cpdf-setlinecap | function.cpdf-setgray | function.cpdf-setgray-stroke | function.cpdf-setgray-fill | function.cpdf-setflat | function.cpdf-setdash | function.cpdf-set-word-spacing | function.cpdf-set-viewer-preferences | function.cpdf-set-title | function.cpdf-set-text-rise | function.cpdf-set-text-rendering | function.cpdf-set-text-pos | function.cpdf-set-text-matrix | function.cpdf-set-subject | function.cpdf-set-page-animation | function.cpdf-set-leading | function.cpdf-set-keywords | function.cpdf-set-horiz-scaling | function.cpdf-set-font | function.cpdf-set-font-map-file | function.cpdf-set-font-directories | function.cpdf-set-current-page | function.cpdf-set-creator | function.cpdf-set-char-spacing | function.cpdf-set-action-url | function.cpdf-scale | function.cpdf-save | function.cpdf-save-to-file | function.cpdf-rotate | function.cpdf-rotate-text | function.cpdf-rmoveto | function.cpdf-rlineto | function.cpdf-restore | function.cpdf-rect | function.cpdf-place-inline-image | function.cpdf-page-init | function.cpdf-output-buffer | function.cpdf-open | function.cpdf-newpath | function.cpdf-moveto | function.cpdf-lineto | function.cpdf-import-jpeg | function.cpdf-global-set-document-limits | function.cpdf-finalize | function.cpdf-finalize-page | function.cpdf-fill | function.cpdf-fill-stroke | function.cpdf-end-text | function.cpdf-curveto | function.cpdf-continue-text | function.cpdf-closepath | function.cpdf-closepath-stroke | function.cpdf-closepath-fill-stroke | function.cpdf-close | function.cpdf-clip | function.cpdf-circle | function.cpdf-begin-text | function.cpdf-arc | function.cpdf-add-outline | function.cpdf-add-annotation |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.