home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / graphics / gif-util.zip / HERC2GIF.C < prev    next >
C/C++ Source or Header  |  1989-08-01  |  1KB  |  27 lines

  1. /*****************************************************************************
  2. *   "Gif-Lib" - Yet another gif library.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber            IBM PC Ver 0.1,    Jun. 1989    *
  5. ******************************************************************************
  6. * Program to dump the hercules graphic screen into a GIF file             *
  7. ******************************************************************************
  8. * History:                                     *
  9. * 26 Jun 89 - Version 1.0 by Gershon Elber.                     *
  10. *****************************************************************************/
  11.  
  12. #include <graphics.h>
  13. #include "gif_lib.h"
  14.  
  15. #define DEFAULT_NAME    "hercules.gif"
  16.  
  17. /******************************************************************************
  18. * Simple - isnt it?                                  *
  19. ******************************************************************************/
  20. void main(int argc, char **argv)
  21. {
  22.     if (argc == 2)
  23.     DumpScreen(argv[1], HERCMONO, HERCMONOHI);
  24.     else
  25.     DumpScreen(DEFAULT_NAME, HERCMONO, HERCMONOHI);
  26. }
  27.