Tao.DevIl SDK Documentation

Il.ilConvertPal Method 

ilIsImage returns whether the image name in Image is a valid image in use. If the image name in Image is in use, ilIsImage returns IL_TRUE. If Image is 0, ilIsImage returns IL_FALSE, because the default image is a special image and is never returned by ilGenImages. If the image name has been deleted by ilDeleteImages or never generated byilGenImages, IL_FALSE is returned.

[Visual Basic]
Public Shared Function ilConvertPal( _
   ByVal DestFormat As Integer _
) As Boolean
[C#]
public static bool ilConvertPal(
   int DestFormat
);

Parameters

DestFormat
The format the current image palette should be converted to. Accepted Values are: IL_PAL_RGB24, IL_PAL_RGB32, IL_PAL_RGBA32, IL_PAL_BGR24, IL_PAL_BGR32, IL_PAL_BGRA32.

Return Value

See Also

Il Class | Tao.DevIl Namespace