gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > What is palette?

#2227 - Link - Fri Jan 31, 2003 12:26 pm

Can you explain me what is and how i can use i it is need?

#2233 - imikeyi - Fri Jan 31, 2003 2:21 pm

A palette is an array or similar that contains all the colours available for an image (sprite etc) to use.

Pixel colours of a sprite are represented as indexes into a palette. This means a greater number of colours can be chosen from.
_________________
microkernel advance

#2240 - Link - Fri Jan 31, 2003 3:10 pm

Excuse me but if i have an image (bitmap) by whitch to extract the tile, what do it be of use of palette?

#2241 - tepples - Fri Jan 31, 2003 3:12 pm

To learn the basics of palettes and indexed color, read this.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#2244 - Link - Fri Jan 31, 2003 3:36 pm

THX. The last question: with photoshop or other graphic program, how i can make and also export images at 256 color, or 16 bit or....?

#2245 - Saikou - Fri Jan 31, 2003 4:10 pm

With photoshop, on the menu go to Image -> Mode -> Indexed Colour and experiment with the options in the dialog box that appears.

#2247 - Link - Fri Jan 31, 2003 5:03 pm

Do you know with Fireworks?