bmp

This is a discussion on bmp within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I paint two different pictures and put them into 1 bmp file now I want to load them seperate. Thanks ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    24

    bmp

    I paint two different pictures and put them into 1 bmp file now I want to load them seperate.

    Thanks in advance

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    hmm

    well, if it's one bmp, and you put 2 images into it.....it still thinks it's one image, just cause there's white space doesn't mean anything...the computer doesn't know what a picture is...it just knows files. So how do you plan about going about this? I'm really confused by your question.


    [edit]
    from what i gather from your question, you'd have to just load pixel areas of the bmp file....and you'd have to figure that out ahead of time non programatically
    [/edit]
    Last edited by Waldo2k2; 02-07-2003 at 03:58 PM.
    PHP and XML
    Let's talk about SAX

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    24
    I saw it in another programs (files) with no script so I could read how to do this.

  4. #4
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    so you're saying other programs were using one bmp file to loade 2 images? What programs and why? I'm still not understanding the need for this.
    PHP and XML
    Let's talk about SAX

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    24
    Forget it I will do it the easy way 1 file 1 pic

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    How do you print them? Using Win32/DD bit-blits, you specify the source rectangle in a bitmap, letting you store several 'pictures' in one bmp.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using basic library to write curve to bmp
    By CIO in forum C Programming
    Replies: 3
    Last Post: 02-21-2009, 02:25 PM
  2. Problem reading BMP
    By Mortissus in forum C Programming
    Replies: 4
    Last Post: 02-02-2006, 06:32 AM
  3. Strange problem with bmp
    By Victor in forum Linux Programming
    Replies: 2
    Last Post: 04-04-2005, 03:48 PM
  4. reading a bmp
    By da_dupa in forum C Programming
    Replies: 1
    Last Post: 06-24-2004, 01:57 PM
  5. adding encryption to bmp
    By GiraffeMan in forum C Programming
    Replies: 10
    Last Post: 04-16-2002, 02:42 PM

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