Returns a value indicating if the FreeImage library is available or not. See remarks for further details.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool IsAvailable()
Visual Basic (Declaration)
Public Shared Function IsAvailable As Boolean
Visual C++
public:
static bool IsAvailable()

Return Value

false if the file is not available or out of date; true, otherwise.

Remarks

The FreeImage.NET library is a wrapper for the native C++ library (FreeImage.dll ... dont mix ist up with this library FreeImageNet.dll). The native library must be either in the same folder as the program's executable or in a folder contained in the envirent variable PATH (for example %WINDIR%\System32).

Further more must both libraries, including the program itself, be the same architecture (x86 or x64).

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also