@@ -166,7 +166,7 @@ BOOL SaveBitmap(LPCTSTR lpszFileName, HANDLE hDib);
166166// Saves the embedded profile of a DIB in an ICC color profile file
167167BOOL SaveProfile (LPCTSTR lpszFileName , HANDLE hDib );
168168
169- // Creates a 32-bpp DIB with pre-multiplied alpha from a translucent 16/32-bpp DIB
169+ // Creates a 32-bpp DIB with pre-multiplied alpha from a translucent 16/32/64 -bpp DIB
170170HBITMAP CreatePremultipliedBitmap (HANDLE hDib );
171171
172172// Frees the memory allocated for a DIB section using DeleteObject
@@ -199,7 +199,7 @@ HANDLE CreateClipboardDib(HANDLE hDib, UINT* puFormat = NULL);
199199HPALETTE CreateDibPalette (HANDLE hDib );
200200
201201// Gets the width and height of a DIB
202- BOOL GetDIBDimensions (LPCSTR lpbi , LPLONG lplWidth , LPLONG lplHeight , BOOL bAbsolute = FALSE);
202+ BOOL GetDibDimensions (LPCSTR lpbi , LPLONG lplWidth , LPLONG lplHeight , BOOL bAbsolute = FALSE);
203203
204204// Calculates the number of colors in the DIBs color table
205205UINT DibNumColors (LPCSTR lpbi );
@@ -224,6 +224,9 @@ LPBYTE FindDibPalette(LPCSTR lpbi);
224224// Returns a pointer to the pixel bits of a packed DIB
225225LPBYTE FindDibBits (LPCSTR lpbi );
226226
227+ // Checks whether the DIB can store transparency information
228+ BOOL DibHasAlphaChannel (LPCSTR lpbi );
229+
227230// Checks if the DIBv5 has an embedded ICC profile
228231BOOL DibHasEmbeddedProfile (LPCSTR lpbi );
229232
0 commit comments