class Export extends ExportImplementation

Export

Export von Bilddaten

Methods

string
getImageData(Image $image, MIMEType $mimetype)

Bilddaten

__construct()

Erstellt ein neues Binär-Export-Objekt

File
write(Image $image, MIMEType $mimetype)

Bilddaten exportieren

static Export
getInstanceFromProperties(Properties $properties)

Erstellt ein neues Objekt und initialisiert Werte aus einer Eigenschaftsklasse

Details

in ExportImplementation at line 48
protected string getImageData(Image $image, MIMEType $mimetype)

Bilddaten

Holt die Bilddaten und gibt diese in dem angegebenen Format als Binärzeichenkette zurück.

Parameters

Image $image Bildobjekt
MIMEType $mimetype MIMEType des Zielbildes

Return Value

string Bilddaten

Exceptions

CreateExportException

at line 40
__construct()

Erstellt ein neues Binär-Export-Objekt

at line 61
File write(Image $image, MIMEType $mimetype)

Bilddaten exportieren

Holt die Bilddaten und gibt diese in dem angegebenen Format als Binärzeichenkette zurück.

Parameters

Image $image Ziel
MIMEType $mimetype MIME-Type des Zielbildes

Return Value

File Dieses Objekt

Exceptions

UnsupportedFormatException Der MIME-Type wird nicht unterstützt
CreateImageException Das Erstellen des Ergebnisses hat nicht funktioniert.

at line 72
static Export getInstanceFromProperties(Properties $properties)

Erstellt ein neues Objekt und initialisiert Werte aus einer Eigenschaftsklasse

Parameters

Properties $properties Eigenschaften

Return Value

Export