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,
	int size
)
Visual Basic (Declaration)
Public Shared Function CreateICCProfileEx ( _
	dib As FIBITMAP, _
	data As Byte(), _
	size As Integer _
) As FIICCPROFILE
Visual C++
public:
static FIICCPROFILE CreateICCProfileEx(
	FIBITMAP dib, 
	array<unsigned char>^ data, 
	int size
)

Parameters

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

Return Value

The new ICC-Profile of the FreeImage 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