Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    8BitColor-Bitmap's default palette

    How I can get 8BitColor-Bitmap's default palette?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003

    RE: 8BitColor-Bitmap's default palette

    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