Forum und email

cpdf_import_jpeg

(PHP 4, PHP 5 <= 5.0.5)

cpdf_import_jpeg — Öffnet ein JPEG-Bild

Beschreibung

bool cpdf_import_jpeg ( int $PDF-Dokument , string $Dateiname , float $x_koor , float $y_koor , float $Winkel , float $Breite , float $Höhe , float $x_Skalierung , float $y_Skalierung , int $gsave [, int $Modus ] )

Öffnet ein JPEG-Bild.

Parameter Liste

pdf_document

The document handle, returned by cpdf_open().

Dateiname

Der Pfad zur Bilddatei. Das Bild muss im JPEG-Format vorliegen.

x_koor

Die x-Koordinate des Bildes

y_koor

Die y-Koordinate des Bildes

Winkel

Der Winkel in Grad, um den das Bild gedreht ist

Breite

Die Breite des Bildes

Höhe

Die Höhe des Bildes

x_Skalierung

y_Skalierung

gsave

Darf nicht Null sein, damit diese Funktion korrekt funktioniert

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.

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.