ImageFormat()

Syntax

Result = ImageFormat(#Image)
Description
Return the original image format.

Parameters

#Image The image to use.

Return value

Returns the image original format. It can be one of the following value:
  #PB_ImagePlugin_JPEG
  #PB_ImagePlugin_PNG
If the image was not loaded from one of this format, it will return zero. This is the case for images created with CreateImage() or GrabImage().

See Also

LoadImage(), CreateImage(), GrabImage()

Supported OS

All

<- ImageDepth() - Image Index - ImageHeight() ->