FreeImage.SetImageComment Method

FreeImage.NET

FreeImageSetImageComment Method
Sets the comment of a JPEG, PNG or GIF image.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool SetImageComment(
	FIBITMAP dib,
	string comment
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
comment
Type: SystemString
New comment of the FreeImage bitmap. Use null to remove the comment.

Return Value

Type: Boolean
Returns true on success, false on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptiondib is null.
See Also