Creates a new ICC-Profile for a FreeImage bitmap.

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

Syntax

C#
public static FIICCPROFILE CreateICCProfileEx(
	FIBITMAP dib,
	byte[] data
)
Visual Basic (Declaration)
Public Shared Function CreateICCProfileEx ( _
	dib As FIBITMAP, _
	data As Byte() _
) As FIICCPROFILE
Visual C++
public:
static FIICCPROFILE CreateICCProfileEx(
	FIBITMAP dib, 
	array<unsigned char>^ data
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
data
Type: array< System..::.Byte >[]()[]
The data of the new ICC-Profile.

Return Value

The new ICC-Profile of the bitmap.

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