ImageFormat()

Syntax

Ergebnis = ImageFormat(#Image)
Beschreibung
Gibt das originale Bild-Format zurück.

Parameter

#Image Das zu verwendende Bild.

Rückgabewert

Gibt das originale Bild-Format zurück. Dies kann einer der folgenden Werte sein:
  #PB_ImagePlugin_JPEG
  #PB_ImagePlugin_JPEG2000
  #PB_ImagePlugin_PNG
  #PB_ImagePlugin_TGA
  #PB_ImagePlugin_TIFF
  #PB_ImagePlugin_BMP
  #PB_ImagePlugin_ICON
  #PB_ImagePlugin_GIF
Wenn das Bild nicht in einem dieser Formate geladen wurde, dann wird Null zurückgegeben. Dies ist der Fall bei Bildern, welche mit CreateImage() oder GrabImage() erstellt wurden.

Siehe auch

LoadImage(), CreateImage(), CatchImage(), GrabImage(), ImagePlugin Bibliothek

Unterstützte OS

Alle

<- ImageDepth() - Image Inhaltsverzeichnis - ImageFrameCount() ->