Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

A question to Lavolpe or anyone who can answer

$
0
0
i'm trying to get the color table of a 8bpp bmp with this API:
GetDIBColorTable
but the table is so bad
and the resulting bmp different from the origin

my steps are:
1. loading a 8bpp bmp via loadimage
2. creating comptiabledc from the desktop dc
3. select the bmp into it.
4. calling GetDIBColorTable

the color table is filled with different colors from the origin (i think)
because the result bmp different.

thanks in advanced.

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>