Sender: nate AT cartsys DOT com Message-ID: <3787CDB5.F6ED8E38@cartsys.com> Date: Sat, 10 Jul 1999 15:48:21 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: About BITMAP structure ( ALLEGRO ) References: <0JNh3.11$O4 DOT 1132 AT wagner DOT videotron DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com OmniMeta wrote: > > How can I write a BITMAP structure to a file, then read the file to recreate > the same BITMAP ? > > BITMAP *img1,*img2; See `save_bitmap' and `load_bitmap' under "Loading" in the Allegro manual. As a special bonus, they even save in standard formats (BMP, PCX, TGA etc). -- Nate Eldredge nate AT cartsys DOT com