Tao.DevIl SDK Documentation

Il.ilApplyProfile Method 

iluApplyProfile applies a colour profile (files with extension .icm) to the currently bound image. InProfile describes the current image's colour space, and OutProfile describes the colour space to convert the currently bound image to. If InProfile is NULL, DevIL attempts to use the colour profile present in the image, if one is present, else it returns IL_FALSE.

[Visual Basic]
Public Shared Function ilApplyProfile( _
   ByVal InProfile As String, _
   ByVal OutProfile As String _
) As Boolean
[C#]
public static bool ilApplyProfile(
   string InProfile,
   string OutProfile
);

Parameters

InProfile
Profile file describing the colour space the image is in.
OutProfile
Profile file describing the colour space to convert the image to.

Return Value

See Also

Il Class | Tao.DevIl Namespace