Date: Sun, 30 Mar 1997 10:48:48 -0600 (CST) From: Andrew Deren To: Carlos Costa Portela cc: djgpp AT delorie DOT com Subject: Re: Capturing a screen from Allegro. In-Reply-To: <333d5429.0@news.ctv.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII It is in the allegro data file section: BITMAP bmp; PALLETE pal; get_pallete(pal); bmp = create_sub_bitmap(screen, 0, 0, SCREEN_W, SCREEN_H); save_pcx("dump.pcx", bmp, pal); destroy_bitmap(bmp); On Sat, 29 Mar 1997, Carlos Costa Portela wrote: > Hello all! > Next Tuesday I must have finished a printed-work. Well, I have to do some simple calculations, and > Fourier transforms (against my teacher's opinion: do it in MATLAB!). I prefer to do it using DJGPP, > and ALLEGRO. But now, I must print my graphics in a document. I used a Capture program, but it > doesn't recognize the screen printed by Allegro (?). What is the best way to do this homework?. Make > a routine that make a .pcx file from the screen, and then call it from the word processor?. > Help, please!!! > BYtE! > Carlos. > >