class Import extends ImportImplementation

Datenaustausch für Bilder

Import Klasse, die das speichern und laden von Bilddaten unterstützen.

Properties

protected $data

Methods

createImageObject(string $data)

Imageobjekt aus Bilddaten erstellen

__construct(string $data)

Erstellt ein neues Binary Provider Objekt

read()

Neues Image Objekt erstellen

static object
getInstanceFromProperties(Properties $properties)

Erstellt ein neues Image Objekt und initialisiert Werte aus einer Eigenschaftsklasse

Details

in ImportImplementation at line 45
protected Image createImageObject(string $data)

Imageobjekt aus Bilddaten erstellen

Parameters

string $data Bilddaten

Return Value

Image Neues Bildobjekt

Exceptions

CreateImportException Bild kann nicht erstellt werden
UnsupportedFormatException Das gewünschte Format existiert nicht.

at line 51
__construct(string $data)

Erstellt ein neues Binary Provider Objekt

Parameters

string $data Binärdaten des Bildes

at line 66
Image read()

Neues Image Objekt erstellen

Return Value

Image Dieses Bildobjekt

Exceptions

CreateImageException Das Bild konnte nicht geladen werden
UnsupportedFormatException Der Typ des Bildes wird nicht unterstützt.

at line 77
static object getInstanceFromProperties(Properties $properties)

Erstellt ein neues Image Objekt und initialisiert Werte aus einer Eigenschaftsklasse

Parameters

Properties $properties Eigenschaften

Return Value

object Ein Objekt