Ticket #2458 (closed defect: worksforme)
force_palette deviates from supplied palette file in bad ways (sometimes)...
|Reported by:||sdlime||Owned by:||tbonfort|
|Component:||MapServer C Library||Version:||unspecified|
Setting MapServer to for 24-bit output through a palette can result in unwanted changes. I've only tested with a 128-color palette but output images can contain colors not in that palette and depending on what other colors are present you can get some very strange effects (see first attachment). I suspect this is because extra space is the palette is being filled. In my case the color seeing the change is the background color so it's very apparent. The other drag is that sometimes you only want 128 or whatever colors to minimize file size so filling the rest of the color space is counter productive. What about making the allocation of additional colors an option?