Creates a new ICC-Profile.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | data is null. |