Palate clolors

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Palate clolors

Post by DaleStan »

lawton27 wrote:Just a quick question if someone could answer this for me, what happend when I use colors not from the pallate?
(Somewhat of a thread-reset.)
You cannot do that. Not easily, anyway. GRFCodec will flat out refuse to read 24bpp or 32bpp images, and it will object loudly if the palette in your 8bpp images is off.

I would recommend switching to 8bpp mode, with the correct palette, and then doing all your editing there; any decent image editor won't switch from 8bpp paletted to RGB/RGBA without your say-so, and your image is paletted, non-palette colors simply can't exist.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 13 guests