SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bitmap colormap changed by windows.

    Hello,

    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 ?

    Thanks.

    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:43 AM.

Copyright BetaSoft Inc.