home *** CD-ROM | disk | FTP | other *** search
- Program dgifer;
-
- { Steve Enns Feb.26 1989
- Copyright 1989 Steve Enns All rights reserved.
- Synergrafix - Graphical and Numerical Software
- 2425 Haultain Ave. Saskatoon, Sask. Canada S7J 1R2
-
- GIF DEcoding for BGI graphics ( Demo Program )
-
- This software is provided for unlimited use and
- distribution EXCEPT for the following conditions:
- - No fee is to be charged for the use or distribution
- of this software, including any works which include
- the source code or compiled form of this software.
- - Any derived software or software which uses the source
- code or compiled versions of this software must include
- the source code of the derived software, and this notice.
- - This software is to be distributed in the original
- archived form, with the SAME name, GIFPASSE,
- i.e. GIFPASSE.ZIP, GIFPASSE.ARC.
-
- This software is provided without warranty of any kind,
- express or implied. YOU, the user assume complete
- responsibility for any and all incidental or consequential
- damages arising out of the use of this program. Use
- at your own risk.
-
- This license is intended to encourage the distribution of
- programs which include source code!
-
- 'GIF' and 'Graphics Interchange Format' are trademarks
- of Compuserve, Inc., an H&R Block Company. }
-
- uses dos,graph,dgif;
-
- var gr,grm :integer;
-
- begin
-
- if paramcount<>1 then
- begin
- writeln('DGIFER: Usage: DGIFER giffile');
- halt(1)
- end;
-
- gr:=detect;
- initgraph(gr,grm,getenv('BGIDIR'));
-
- if not degif(paramstr(1),0,0) then
- begin
- closegraph;
- writeln('DGIFER: Error: Not GIF file or error during read');
- halt(1)
- end;
-
- readln;
-
- closegraph
-
- end.