Creates a new FIICCPROFILE block from ICC profile data previously read from a file or built by a color management system. The profile data is attached to the bitmap.

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

Syntax

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

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
data
Type: array< System..::.Byte >[]()[]
Pointer to the new FIICCPROFILE data.
size
Type: System..::.Int32
Size of the FIICCPROFILE data.

Return Value

Pointer to the created FIICCPROFILE structure.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also