delorie.com/archives/browse.cgi | search |
From: | varobert AT colba DOT net |
Message-Id: | <3.0.32.19990710183815.007abb10@mail.colba.net> |
X-Sender: | varobert AT mail DOT colba DOT net |
X-Mailer: | Windows Eudora Pro Version 3.0 (32) |
Date: | Sat, 10 Jul 1999 18:38:16 -0400 |
To: | djgpp AT delorie DOT com |
Subject: | Re: About BITMAP structure ( ALLEGRO ) |
Mime-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Try save_bitmap() and load_bitmap(). They will save and load a bitmap as a BMP, PCX, TGA, or LBM depending on the file name you supply. At 04:09 PM 7/10/99 -0300, you wrote: >How can I write a BITMAP structure to a file, then read the file to recreate >the same BITMAP ? > > >BITMAP *img1,*img2; > >// I need to write img1 to a file > >// Then I need to read the file and fill img2 > >I really need your help ! >meta AT psxrocks DOT com > > > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |