📄 gif2herc.c
字号:
/*****************************************************************************
* "Gif-Lib" - Yet another gif library. *
* *
* Written by: Gershon Elber IBM PC Ver 0.1, Jul. 1989 *
******************************************************************************
* Program to display GIF file on hercules device *
* Options: *
* -d factor : use dithering of matrix of size factor by factor. *
* -z factor : zoom the pixels by the given factor. *
* -t level : set the threshold level of white in the result (0..100). *
* -m mapping : methods for mapping the 24bits colors into 1 BW bit. *
* -i : invert the image. *
* -b : beeps disabled. *
* -h : on line help. *
* *
* This program uses TC2.0 hercules graphic driver. *
* In this file Screen refers to GIF file screen, while Device to Hercules. *
******************************************************************************
* History: *
* 1 Jul 89 - Version 1.0 by Gershon Elber. *
*****************************************************************************/
#include <graphics.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <ctype.h>
#include <alloc.h>
#include <string.h>
#include <io.h>
#include <dos.h>
#include <bios.h>
#include <fcntl.h>
#include "gif_lib.h"
#include "getarg.h"
#define PROGRAM_NAME "Gif2Herc"
#define VERSION "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -