Returns the comment of a JPEG, PNG or GIF image.

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

Syntax

C#
public static string GetImageComment(
	FIBITMAP dib
)
Visual Basic (Declaration)
Public Shared Function GetImageComment ( _
	dib As FIBITMAP _
) As String
Visual C++
public:
static String^ GetImageComment(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.

Return Value

Comment of the FreeImage bitmp, or null in case no comment exists.

Exceptions

ExceptionCondition
System..::.ArgumentNullException dib is null.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also