Author
|
Topic: Getting a palette from a bmp image. (Read 1 times)
|
error101
Guest
|
|
« on: August 06, 2010, 01:21:31 pm » |
|
Hi, i was wondering if there was any way i could find out the values for each colour in a bmp image so i can make it compatible in a rom. Basically i have 16 bit image, which i can't insert into the game because it doesn't have the correct palatte, so is there any tool that can help me out here?
|
|
|
|
Tauwasser
Guest
|
|
« Reply #1 on: August 06, 2010, 02:13:57 pm » |
|
BMP files don't have palettes. 16bit BMPs have 16bits per pixel and not a 16bit palette indexed per pixel. You will have to collect all unique colors and create palette out of that. Fortunately, nearly every modern graphics editing program can do this for you. For instance, GIMP will create a palette for you if you change the image type to indexed instead of RBG(A). It can even mix nearby colors into the same palette entry for you, so you'd have less of a visual deterioration of the image's quality.
cYa,
Tauwasser
|
|
|
|
error101
Guest
|
|
« Reply #2 on: August 07, 2010, 11:21:32 am » |
|
Thanks for the help.
|
|
|
|
|