FreeImage.Compare Method

FreeImage.NET

FreeImageCompare Method
Compares two FreeImage bitmaps.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool Compare(
	FIBITMAP dib1,
	FIBITMAP dib2,
	FREE_IMAGE_COMPARE_FLAGS flags
)

Parameters

dib1
Type: FreeImageAPIFIBITMAP
The first bitmap to compare.
dib2
Type: FreeImageAPIFIBITMAP
The second bitmap to compare.
flags
Type: FreeImageAPIFREE_IMAGE_COMPARE_FLAGS
Determines which components of the bitmaps will be compared.

Return Value

Type: Boolean
True in case both bitmaps match the compare conditions, false otherwise.
See Also