Xref: news2.mv.net comp.os.msdos.djgpp:2081 From: elmar DOT vogt AT rzmail DOT uni-erlangen DOT de (Elmar Vogt) Newsgroups: comp.os.msdos.djgpp Subject: Re: GIF routine under GRX20 Date: 20 Mar 1996 08:16:11 GMT Organization: LUR, University of Erlangen. Lines: 44 Message-ID: <4ioesb$3sr@rznews.rrze.uni-erlangen.de> References: <314F2D88 DOT 1389 AT ice DOT stx DOT com> NNTP-Posting-Host: faust207.lstm.uni-erlangen.de Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <314F2D88 DOT 1389 AT ice DOT stx DOT com>, beau AT ice DOT stx DOT com says... > >All: > > I have read the DJGPP FAQ and the very weird GRX20 documentation >and I can't seem to find any mention of a routine to load a GIF onto >the current context using DJGPP 2.0 and GRX20. If anyone has done this >please post their algorithm's! Using all 256 colors would be a plus as >well. > >Beau > It's not that simple, because GIF is a rather complicated format. IIRC, you can use 16, 256 or true color modes, include several pictures in one file, compress data, determine whether scan lines should be stored sequentially or somewhat scrambled (making for a possible overview when downloading on a slow connection, before all of the image has arrived- notice some GIFs on the Web), etc. But, if that helps, I've written a software bundle called bmp_conv, and uploaded it to x2ftp.oulu.fi in some djgppv2-directory. It converts BMP-files (which are by far easier to handle) for use with the XLib library, but it should be comparatively easy to port for GRX. You may want to give it a shot. If questions come up, feel free to e-mail me. Elmar -- -- /----------------------------------------------------------------\ | Elmar Vogt : MS->PhD | voice: (+49)9131/761-207; fax: ...-202 | | LUR, Schottkystr. 10 |http://www.rrze.uni-erlangen.de/~iwur08/ | |University of Erlangen| Elmar DOT Vogt AT rzmail DOT uni-erlangen DOT de | |91058 Erlangen-Germany| Vogt AT nt DOT e-technik DOT uni-erlangen DOT de | |-------- VIS VISCERIS, NON FERRO FERTUR (T. Doom) --------------| |SCA: Agilmar von Sevelingen; Fencing, Calligraphy, Jewelry, Food| \----------------------------------------------------------------/