app icons and bitmap

Login to reply to this topic.
Wed, 2005-02-23 12:34
Joined: 2005-01-31
Forum posts: 33
Hi,

I created an icon for my app and got it to show in the emulator and target.
The problem is that the colors come out completely wrong. I'm using a 256 color bitmap (8 bpp), and in the build process I specify c8 for the bitmap.

Any ideas?
Yaron Tadmor

Mon, 2005-03-07 17:39
Joined: 2005-02-18
Forum posts: 23
app icons and bitmap
As far as I know 8bpp bitmaps use one fixed palette. As you describe the problem it looks like that the problem is in this.

Solutions:
- Convert the bitmap using standard Series60 palette (It's included in the SDK DOCs)
or
- put it in the MBM as 12bpp

Signed: 0xdeadc0de
Tue, 2005-03-08 13:31
Joined: 2005-01-31
Forum posts: 33
app icons and bitmap
I couldn't find any reference to a standard palette or the bitmap converter. Can you point me to it?

ALso, what do you mean by making it 12bpp . I currently have a 24bpp or 8bpp .bmp file. How can I create a 12bpp one?
Fri, 2005-03-11 13:21
Joined: 2005-02-18
Forum posts: 23
app icons and bitmap
Quote from: yaront
I couldn't find any reference to a standard palette or the bitmap converter. Can you point me to it?
Sorry, I'm not at my dev PC right now, but it was in one of the PDF documents which come with the SDK (somewhere at the end of the document in appendices)

Quote from: yaront
ALso, what do you mean by making it 12bpp . I currently have a 24bpp or 8bpp .bmp file. How can I create a 12bpp one?
Make it 24bpp, for icon the overhead will be reasonable.

Signed: 0xdeadc0de
Wed, 2005-08-17 11:59
Joined: 2005-08-01
Forum posts: 1
Re: app icons and bitmap
The standard palette is located at:

\epoc32\include\ThirdPartyBitmap.pal

BTW, converting the bitmap to 24 bits with a graphics editor (i.e. Photoshop) and changing the MMP to C12 instead of C8 also does the trick.

sardo007

  • Login to reply to this topic.