LPRGBQUAD LBitmapList::GetPalette()
Gets a pointer to the global palette for the bitmap list items.
A pointer to the global palette for the bitmap list items.
GlobalPalette is the palette for images in a multipage GIF file.
This is used only if LBitmapList::HasGlobalPalette returns TRUE.
You should not attempt to free the memory pointed to by the pointer that this function returns.
Win32, x64.
L_INT LBitmapList__GetPaletteExample(L_TCHAR * pszFileName)
{
L_INT nRet;
LBitmapList BitmapList;
RGBQUAD *pPalette;
nRet =BitmapList.Load (pszFileName);
if(nRet !=SUCCESS)
return nRet;
pPalette = BitmapList.GetPalette ();
//...
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document