Creates a new ICC-Profile for a FreeImage bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIICCPROFILE CreateICCProfileEx( FIBITMAP dib, byte[] data, int size ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreateICCProfileEx ( _ dib As FIBITMAP, _ data As Byte(), _ size As Integer _ ) As FIICCPROFILE |
Visual C++ |
---|
public: static FIICCPROFILE CreateICCProfileEx( FIBITMAP dib, array<unsigned char>^ data, int size ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- 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 FreeImage bitmap.Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | dib is null. |