I am working on a multimedia application in MS Visual Basic and experienced
some palette shift. So I wrote a tool to check the palette of each frame in a
FLC file. What I have found is that the RGB values of every frame in all the
FLC and BMP files are identical, but the peFlags differ. The default for
peFlags ia 4, which is the case with all BMP files, but all FLC files have the
value of 4 for peFlags. So what does this mysterious 4 stand for? What should
I tell the computer artists to do to fix this palette shift problem?
<< peFlags ia 4>>
I am not familiar with that flag, but we have had palette problems before. Your
computer artists should be using a common palette for all animations and BMP
files (which they already are) and also use a pallete of 236 colors. Windows
reserves the first and last ten palette positions (out of 256) for its own use.
This conflicts with the 256 color palette in the FLC files. Using 236 colors
helps alleviate this problem.
-Brian