PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Tip
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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(MyBuffer) = True THEN
Info("The variable corresponds to an 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 (with quotes)
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

fIsImage can be quite slow because it tries to load the image. To quickly check whether a file is an image, you also have the ability to check the file extension directly.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Linux wd230std.so
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment