| || |
Bitmap colormap changed by windows.
I am recording screen copies of a GUI application (stored in bitmap format .bmp) and I have noticed the following problem.
At the beginning of the bitmap recording, the bitmap background is grey, with Red=Green=Blue=207.
But after a while, the recorded background is grey with Red=Green=Blue=204. And it can revert later to R=G=B=207 !
The difference is very light, but as I am using these bitmaps within SILKtest scripts, for comparison between recorded reference bitmaps and actual bitmaps displayed by the GUI application, it is sufficient to make this comparison fail.
The fact is that WINDOWS NT 4.0 and 2000 are changing colors automatically.
This behavior is unpredictable: it is impossible to know when the shift will occur.
It does not seem related to the operating system load: the change occur with one application running, or several.
Restarting the PC enable to start with R=G=B=207, but the shift still occur later.
Does anybody knows how to prevent WINDOWS to change colors in bitmaps ?
Re: Bitmap colormap changed by windows.
Any chance you are dealing with a non-modal dialog box or other window that is changing color because it's switching from having focus to not having focus? (Just thought I'd ask.) If there's no rhyme or reason to the behavior and you're seeing the background colors fade in and out when you use the product manually, it seems to me you should be logging a bug report against your AUT.