home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
GIFLIB12.ZIP
/
UTIL
/
GIFDEBUG.DSK
(
.txt
)
< prev
next >
Wrap
Turbo C Context File
|
1991-08-03
|
4KB
|
143 lines
Turbo C Context File
..\LIB\GIF_LIBL.LIB
GIFRSIZE.C
C:\TC\MYLINCLUDE\*.H
C:\TC\MYINCLUDE\*.H
TCSET
E:EPSF.
..\LIB\*.H
MAKE*.*
GIF2RGB.C
..\LIB\EGIF*.C
F:\INCLUDE\MATH.H
..\LIB\GETARG.C
..\LIB\EGIF_LIB.C
\gif\dragon.gif
-d c:\tc\bgi \gif\dragon.gif
-u c:\tc\bgi\vga256.0 \gif\dragon.gif
-u c:\tc\bgi\ati\vga256.0 ..\s.gif
-u e:\cbgi\cbgisrc\ati\ati.2 e:\c.gif
\gif\porsche.gif
-1 -s 41 101 po-rgb
-s 320 200 earth
-a 45 p.gif
-a 45 -s 640 480 p.gif
-s 5 p.gif
-x 5 p.gif
-s 0.5 p.gif
-S 640 480 p.gif
sall.gif
void *.c
struct *.c
struct *.h
ViewFlag *.c
NULL *.c
for *.c
else *.c
printf *.c
EXIT *.c
MESSAGE *.c
IBM *.c
void *.c
VERSION *.c
GraphMode
GetRecord
static
ProgramName
ERROR
Angle
Height
malloc
Failed
NumRead
float
PROGRAM_NAME
GIF2BGI.C
..\LIB\GIF_LIBL.LIB
GIFHN.C
GIFFIX.C
GIF2RGB.C
RGB2GIF.C
GIFROTAT.C
GIFRSIZE.C
TMP.C
LineOut[638],x
LineOut[639],x
&LineOut[639],p
LineOut
LineOut,p
LineIn
*LineIn
*LineIn,p
*LineIn,x
last_iy
YSize
Private
Private -> PixelCount,x
Private -> PixelCount
last_iy > 197
D:\C\GIF\UTIL\RAW2GIF.C
D:\C\GIF\UTIL\GIF2EPSN.C
D:\C\GIF\UTIL\RGB2GIF.C
D:\C\GIF\LIB\EGIF_LIB.C
D:\C\GIF\UTIL\RGB2GIF.C
D:\C\GIF\UTIL\GIF2RGB.C
D:\C\GIF\UTIL\RGB2GIF.C
D:\C\GIF\UTIL\GIF2BGI.C
D:\C\GIF\UTIL\GIFROTAT.C
D:\C\GIF\UTIL\TMP.C
D:\C\GIF\UTIL\TMP.C
D:\C\GIF\UTIL\TMP.C
D:\C\GIF\UTIL\TMP.C
D:\C\GIF\UTIL\GIFRSIZE.C
D:\C\GIF\UTIL\TMP.C
* -s Width Height : specifies size of raw image. *
#ifdef __MSDOS__
setmode(0, O_BINARY);
#endif /* __MSDOS__ */
if ((GifFile = DGifOpenFileHandle(0)) == NULL) {
PrintGifError();
exit(-1);
if (FileName != NULL) {
char OneFileName[80];
if (OneFileFlag) {
if ((f[0] = fopen(FileName, "r")) == NULL)
GIF_EXIT("Can't open input file name.");
else {
static char *Postfixes[] = { ".R", ".G", ".B" };
for (i = 0; i < 3; i++) {
strcpy(OneFileName, FileName);
strcat(OneFileName, Postfixes[i]);
if ((f[i] = fopen(FileName, "r")) == NULL)
GIF_EXIT("Can't open input file name.");
}
}
else {
OneFileFlag = TRUE;
#ifdef __MSDOS__
setmode(0, O_BINARY);
#endif /* __MSDOS__ */
f[0] = stdin;
}
#ifdef __MSDOS__
setmode(FileHandle, O_BINARY); /* Make sure it is in binary mode. */
f = fdopen(FileHandle, "wb"); /* Make it into a stream: */
setvbuf(f, NULL, _IOFBF, GIF_FILE_BUFFER_SIZE); /* And inc. stream buffer. */
#else
f = fdopen(FileHandle, "w"); /* Make it into a stream: */
#endif /* __MSDOS__ */
#ifdef __MSDOS__
if ((f[0] = fopen(FileName, "wb")) == NULL)
#else
if ((f[0] = fopen(FileName, "w")) == NULL)
#endif /* __MSDOS__ */
fclose(f[0]);
fclose(f[1]);
fclose(f[2]);
GifRecordType RecordType;
InterlacedOffset[] = { 0, 4, 2, 1 }, /* The way Interlaced image should. */
InterlacedJumps[] = { 8, 8, 4, 2 }; /* be read - offsets and jumps... */
GifByteType *Extension;
#define M_PI 3.14159265358979323846
GifQprintf("\b\b\b\b%-4d", last_iy + 1);