Thread View: comp.os.msdos.programmer
2 messages
2 total messages
Started by Igor Altshuler
Mon, 25 Mar 1996 18:34
HELP: HOW to load bmp in BC3.1?
Author: Igor Altshuler
Date: Mon, 25 Mar 1996 18:34
Date: Mon, 25 Mar 1996 18:34
11 lines
875 bytes
875 bytes
Hi there. I would appriciate if any could help me with following: HOW to load bmp file of the screen size onto the screen in Borland C/C++ 3.1 and to be able to draw diff. objects on that image. ( I know how to use graphics but dont know how to do it with picture as background) If you know how to do above with diff picture format would be fine too:) Would appriciate info ASAP:) Thnx ^*_*^ Igor Altshuler
Re: HELP: HOW to load bmp in BC3.1?
Author: Alexander J Russell
Date: Wed, 27 Mar 1996 01:42
Date: Wed, 27 Mar 1996 01:42
28 lines
1664 bytes
1664 bytes
In article <Pine.SOL.3.91.960325133225.26439A-100000@barney>, ialtsh01@barney says... > >Hi there. >I would appriciate if any could help me with following: >HOW to load bmp file of the screen size onto the screen in Borland C/C++ >3.1 and to be able to draw diff. objects on that image. ( I know how to >use graphics but dont know how to do it with picture as background) > >If you know how to do above with diff picture format would be fine too:) >Would appriciate info ASAP:) > >Thnx ^*_*^ >Igor Altshuler > It depends on the graphics mode, and the format of the pic to be displayed. Basicly you have to decode the BMP file into a format that is easily drawn. To display graphics over the BMP you just display the BMP first, then draw you graphics over top. To have animation, save the part of the screen under the graphics so you can restore it. I have code to decode PCX and LBM (dpaint) files for mode13 (320x200 256 colour mode) in C. Email me for more info. -- The AnArChIsT! Anarchy! Not Chaos! aka Alex Russell alexad3@iceonline.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads