FreeImage.CreateICCProfile Method

FreeImage.NET

FreeImageCreateICCProfile Method
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) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static IntPtr CreateICCProfile(
	FIBITMAP dib,
	byte[] data,
	int size
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
data
Type: SystemByte
Pointer to the new FIICCPROFILE data.
size
Type: SystemInt32
Size of the FIICCPROFILE data.

Return Value

Type: IntPtr
Pointer to the created FIICCPROFILE structure.
See Also