regarding bitmap size thru a program

This is a discussion on regarding bitmap size thru a program within the C++ Programming forums, part of the General Programming Boards category; can u pleeze let me know how to read a bitmap's structure(height,width,size) with a c/c++ program?...

  1. #1
    Unregistered
    Guest

    regarding bitmap size thru a program

    can u pleeze let me
    know how to read a bitmap's structure(height,width,size)
    with a c/c++ program?

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    The easiest way might be defining a struct containing
    the members of the bitmap header and using fread to
    read it from the bitmap file.

    If you need details, please provide details on what you
    know and what you need to know to complete this task.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c++ a very simple program
    By amjad in forum C++ Programming
    Replies: 1
    Last Post: 05-27-2009, 12:59 PM
  2. Confused about Memory
    By gL_nEwB in forum C++ Programming
    Replies: 22
    Last Post: 06-20-2006, 07:32 PM
  3. An exercise in optimization
    By Prelude in forum Contests Board
    Replies: 10
    Last Post: 04-29-2005, 03:06 PM
  4. Replies: 11
    Last Post: 03-25-2003, 04:13 PM
  5. Replies: 5
    Last Post: 09-03-2001, 09:45 PM

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