ImageFormat()

语法

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

参数

#Image The image to use.

返回值

Returns the image original format. It can be one of the following value:
  #PB_ImagePlugin_JPEG
  #PB_ImagePlugin_JPEG2000
  #PB_ImagePlugin_PNG
  #PB_ImagePlugin_TGA
  #PB_ImagePlugin_TIFF
  #PB_ImagePlugin_BMP
  #PB_ImagePlugin_ICON
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().

参阅

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

已支持操作系统

所有

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