Zum Inhalt

GetImageSize (Opus Funktion)

Beschreibung

Diese Funktion gibt die Pixelgrösse eines Bildes zurück, welches als Blob übergeben wird. Returns the pixel dimensions (height, width) of an image provided as a blob.

Argumente

Name

Typ

Beschreibung

ImageBlog

blob

Bilddatei als Blob

Rückgabewert integer[2]

Es wird ein Array von integer zurückgegeben. Im Index 0 ist die Höhe und im Index 1 ist die Breite gespeichert. two-element array: [0] = height in pixels, [1] = width in pixels

Beispiel

Lai_ImageSize = GetImageSize(Lo_Blob);
Li_Height = Lai_ImageSize[0];
Li_Width = Lai_ImageSize[1];

Siehe auch

GetRtfImage (Opus Funktion)