FreeImage.CreateICCProfileEx Method (FIBITMAP, Byte[], Int32)

FreeImage.NET

FreeImageCreateICCProfileEx Method (FIBITMAP, Byte, Int32)
Creates a new ICC-Profile for a FreeImage bitmap.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIICCPROFILE CreateICCProfileEx(
	FIBITMAP dib,
	byte[] data,
	int size
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
data
Type: SystemByte
The data of the new ICC-Profile.
size
Type: SystemInt32
The number of bytes of data to use.

Return Value

Type: FIICCPROFILE
The new ICC-Profile of the FreeImage bitmap.
Exceptions
ExceptionCondition
ArgumentNullExceptiondib is null.
See Also