Loading Bitmap Problem

This is a discussion on Loading Bitmap Problem within the Game Programming forums, part of the General Programming Boards category; When i Load a Bitmap though some class i found in a book, it loads the picture in a odd ...

  1. #1
    Call me AirBronto
    Join Date
    Sep 2004
    Location
    Indianapolis, Indiana
    Posts
    195

    Loading Bitmap Problem

    When i Load a Bitmap though some class i found in a book, it loads the picture in a odd way.

    Normal
    ########
    # #
    # #
    # #
    # #
    # #
    # #
    ########

    Not Normal, a odd black line shows up, part of the picture is cut off and then shows up behing everthing

    ########
    # l #
    # l #
    # l # <--this part is cut off and shows up at *
    *--> # l #
    # l #
    # l #
    ########

    So it looks something like this

    ##########
    # #
    # #
    # #
    # #
    # #
    # #
    ##########
    i can not figure this out at all and if any one has some input on the subject, it will be gladly taken

    ps. if any one knows a place that teaches you how to a bitmap class i would like to know,

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    >>ps. if any one knows a place that teaches you how to a bitmap class i would like to know,

    http://nehe.gamedev.net/data/lessons....asp?lesson=06

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with Bitmap Display
    By The Brain in forum Windows Programming
    Replies: 7
    Last Post: 03-23-2009, 06:33 AM
  2. 32 bit color depth bitmap problem with XP
    By kalabala in forum C++ Programming
    Replies: 0
    Last Post: 12-22-2008, 06:56 AM
  3. Loading a bitmap (Without using glaux)
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 03-16-2006, 09:43 AM
  4. Loading Bitmap under VC++
    By abu in forum Windows Programming
    Replies: 1
    Last Post: 05-14-2004, 02:07 AM
  5. Problem With My Bitmap
    By Sebastiani in forum Windows Programming
    Replies: 9
    Last Post: 10-29-2001, 09:54 PM

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