Discussion Board
-
8BitColor-Bitmap's default palette
2001-12-03, 20:26
#1
Registered User
How I can get 8BitColor-Bitmap's default palette?
-
RE: 8BitColor-Bitmap's default palette
2001-12-05, 15:19
#2
Regular Contributor
Make a 8-bits bitmap,
Fill it with 256 value (0-255)
Blit it
Take a screen shot of the emulator
Open with paint and save the palette
Or another way: For example like this:
iPalette = CPalette::NewDefaultL(EColor256);
TInt colorBlack = iPalette->NearestIndex(KRgbBlack);
TInt colorWhite = iPalette->NearestIndex(KRgbWhite);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules