Palette Change

When I load a PCX file in Pascal, it changes all the other palettes of my game. What im trying to do , is to make a main menu in my game that has pcx images in it. I have tried many ways but im starting to feel that its imposible. Is it any way to have my both palettes (pcx file colors and svga pascals 256 colors) work together normaly? I need the answer urgently THANKS.

Comments

Maybe you could go through the decompressed pixel values and the palette of the PCX and match up the pixel colors as best as possible using your palette. It won't come out perfect nor be super fast, but it should come out.