home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!decwrl!csus.edu!netcomsv!proto!joe
- From: joe@proto.com (Joe Huffman)
- Subject: Re: More on Borland's putimage()
- Organization: Prototronics @ Sandpoint, Idaho
- Date: Wed, 22 Jul 1992 13:55:52 GMT
- Message-ID: <1992Jul22.135552.5874@proto.com>
- References: <1435@grivel.une.edu.au>
- Lines: 22
-
- scavanag@neumann.une.edu.au (Steven Cavanagh) writes:
-
- >is there any way you can draw pictures with a paint program, and
- >then use them in your programs with getimage() and putimage()
- >(or any other method, for that matter)
-
- The data format for putimage is graphics driver dependent. I'm told it
- is fairly easy to figure out (and may in fact be documented).
-
- What you probably really want is something to read the image from a
- file (.PCX, .GIF or other well known file format) and put that on the
- screen. You can use the putpixel() routine to put the image on the
- screen, but it will be very slow. There are various companies that
- have graphics libraries that will allow you to display images on your
- screen from inside your program. Some even have a BGI interface available
- so you don't have to change your BGI function calls to the equivalent ones
- in the new library (the company I work for sells "Flash Graphics" which
- has such an interface).
-
- --
- netcom!proto!joe
- joe@proto.com
-