Creates a new ICC-Profile.

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

Syntax

C#
public FIICCPROFILE CreateICCProfile(
	byte[] data,
	int size
)
Visual Basic (Declaration)
Public Function CreateICCProfile ( _
	data As Byte(), _
	size As Integer _
) As FIICCPROFILE
Visual C++
public:
FIICCPROFILE CreateICCProfile(
	array<unsigned char>^ data, 
	int size
)

Parameters

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 bitmap.

Exceptions

ExceptionCondition
System..::.ArgumentNullException data is null.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also