PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Tip
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
fIsImage (Function)
In french: fEstUneImage
Used to find out whether a file found on disk or a file contained in a buffer corresponds to an image format recognized by WINDEV, WEBDEV or WINDEV Mobile.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
IF fIsImage(MonBuffer) = True THEN
Info("La variable correspond à une image.")
END
Syntax

Examining an external file Hide the details

<Result> = fIsImage(<File name and path>)
<Result>: Boolean
  • True if the file is an image that can be loaded by WINDEV, WEBDEV or WINDEV Mobile,
  • False otherwise.
<File name and path>: Ansi or Unicode character string
Name and full (or relative) path of the file to identify. A UNC path can be used.

Analyzing a Buffer variable Hide the details

<Result> = fIsImage(<Variable name>)
<Result>: Boolean
  • True if the buffer corresponds to an image,
  • False otherwise.
<Variable name>: Buffer or Binary Memo variable
Name of Buffer or Binary Memo variable containing the image to study.
Remarks

Tip

The fIsImage function can be relatively slow as it attempts to load the Image. To quickly check whether a file is an image, you also have the ability to check the file extension directly.
Component: wd270std.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment