get_image_sizeget_image_sizeGetImageSizeGetImageSize (Operator)

Name

get_image_sizeget_image_sizeGetImageSizeGetImageSize — Liefert die Bildgröße.

Signatur

get_image_size(Image : : : Width, Height)

Herror get_image_size(const Hobject Image, Hlong* Width, Hlong* Height)

Herror T_get_image_size(const Hobject Image, Htuple* Width, Htuple* Height)

void GetImageSize(const HObject& Image, HTuple* Width, HTuple* Height)

void HImage::GetImageSize(HTuple* Width, HTuple* Height) const

void HImage::GetImageSize(Hlong* Width, Hlong* Height) const

static void HOperatorSet.GetImageSize(HObject image, out HTuple width, out HTuple height)

void HImage.GetImageSize(out HTuple width, out HTuple height)

void HImage.GetImageSize(out int width, out int height)

Beschreibung

get_image_sizeget_image_sizeGetImageSizeGetImageSizeGetImageSize liefert die Größe (Breite und Höhe) des Eingabebildes zurück.

Ausführungsinformationen

Parameter

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Eingabebild.

WidthWidthWidthWidthwidth (output_control)  extent.x(-array) HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Breite des Bildes.

HeightHeightHeightHeightheight (output_control)  extent.y(-array) HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Höhe des Bildes.

Ergebnis

get_image_sizeget_image_sizeGetImageSizeGetImageSizeGetImageSize liefert den Wert 2 (H_MSG_TRUE) zurück. Das Verhalten bei leerer Eingabe (keine Eingabebilder vorhanden) lässt sich mittels set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>) festlegen. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_imageread_imageReadImageReadImageReadImage

Alternativen

get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1

Siehe auch

get_image_typeget_image_typeGetImageTypeGetImageTypeGetImageType

Modul

Foundation