What's wrong with the bitmap?

This is a discussion on What's wrong with the bitmap? within the Windows Programming forums, part of the Platform Specific Boards category; Hi,guys: I did one program with DirectX that shows 3 animation,each palettized-mode(8 bits) bitmap present one animation,everything was fine except ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    173

    Question What's wrong with the bitmap?

    Hi,guys:
    I did one program with DirectX that shows 3 animation,each palettized-mode(8 bits) bitmap present one animation,everything was fine except one of the bitmaps did lose it's color when ran the program,I mean it didn't look like what it really was in the windows.
    I've checked the code,no errors(otherwise I couldn't excute it)
    So does anyone have the clue what is going on with it? That made me crazy .
    I'll appreciate that
    Don't laugh at me,I am just a SuperNewbie.

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    >I've checked the code,no errors

    Then you must have a faulty video adapter or monitor.

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    Are you using XP?

    Have seen some very wierd things on XP (upside down drawing ect). Latest update from MS seems to have fixed the problems.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    173
    not really,i use Windows2k,those bitmaps are loaded from CD,I attached 1 file which contains CAMM0,and CAMM1 while CAMM0's dpi is 0,the other is 72.
    I tried to save the CAMM0 in the graphical tools(like corel draw) without any changes and the dpi got back to 72!!!!how weird

    hope someone may check this.thanx!!!
    Attached Files Attached Files
    Don't laugh at me,I am just a SuperNewbie.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. get bitmap from image in website.
    By sgh in forum C# Programming
    Replies: 3
    Last Post: 03-23-2009, 09:34 PM
  2. Need help with Bitmap Display
    By The Brain in forum Windows Programming
    Replies: 7
    Last Post: 03-23-2009, 05:33 AM
  3. How to create and display a bitmap programatically?
    By solar3147 in forum Windows Programming
    Replies: 4
    Last Post: 06-24-2003, 02:55 AM
  4. difficult bitmap question
    By Mecnels in forum Windows Programming
    Replies: 1
    Last Post: 03-13-2003, 06:03 AM
  5. Why won't my bitmap load
    By ColdFire in forum Windows Programming
    Replies: 4
    Last Post: 07-18-2002, 10:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21