home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
007A
/
GIFGAT21.ZIP
/
GIFGATE.DOC
< prev
next >
Wrap
Text File
|
1994-07-29
|
15KB
|
354 lines
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▌ ▐
▌ *>>> GIFGATE <<<* ▐
▌ ▐
▌ GIF Picture Tester for BBS Systems ▐
▌ ▐
▌ By Dan Drinnon ▐
▌ ▐
▌ Ver. 2.1 ▐
▌ ▐
▌ Copyright (c) 1993,1994 Daniel T. Drinnon ▐
▌ ▐
▌ All Right Reserved ▐
▌ ▐
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
What is GIFGATE?
----------------
GIFGATE provides testing of GIF pictures for BBS uploads. It uses command
line options which allow it to only test a GIF picture for desired properties.
GIFGATE is also capable of wildcard support and can be used offline to test
a group of GIFs as well. It is written entirely in 'C' and is quite fast.
You are FREE to TEST GIFGATE for a period of 1 month. After which you must
either REGISTER it or cease using it.
The cost for registration is very CHEAP - $10.00 and well worth it.
GIFGATE is NOT crippled in it's unregistered form. All features are enabled,
with the exception of 'quiet' mode. 'Quiet' mode is always disabled to
remind you that you have to register. There is no size limit or any other
limitations which will make GIFGATE not test a GIF.
FILES:
------
REGISTER DOC - GIFGATE REGISTRATION FORM
GIFGATE DOC - This Documentation
TGIF BAT - Sample BBS Batch File
RELAX BAT - Sample BBS Batch File
GIFGATE EXE - Generic GIFGATE program
GIFGATE 286 - 286+ GIFGATE program
(rename GIFGATE.286 to GIFGATE.EXE to use GIFGATE on a 286 or higher)
ADDITIONAL FILES YOU WILL/MAY NEED:
-----------------------------------
PROECHO COM - Or any BBS utility which will echo a message out the COM
port during GIF testing. Available at the Cellar Door
as P-T-Z.ZIP
IMPLEMENTATION:
---------------
There is no config file for GIFGATE. All options are specified on the
command line. GIFGATE's command line syntax is:
GIFGATE filename [option] [option]...
ex: GIFGATE PICTURE.GIF /w800 /h600 /c256 /t /g /lGIFGATE.LOG
By typing GIFGATE by itself at the DOS prompt, you can review all of GIFGATE's
options.
The filename may be any valid DOS file name with path if needed. Wildcards
are ok, however, with wildcard testing of GIFs, no ERRORLEVEL exit of GIFGATE
will occur as more than one GIF is being tested.
There are several OPTIONS available. Options may be in any order and must
always be prefixed with a "/", then the option letter, and finally the option
value to test for (if required). An option must be separated from another
option by a space. (see example above)
GIFGATE's Options Are:
/wxxx - minimum WIDTH to Pass ex: /w800
/hxxx - minimum HEIGHT to Pass ex: /h600
/cxxx - minimum COLORS to Pass ex: /c256
/yxxxx - earliest YEAR to Pass ex: /y1993 -or- /y93
/sxxx - minimum BYTES to Pass ex: /s100000
/g - Do not Pass GIFLite'd GIFS
All the above options are 'limiting' options. If you do not want to test a
GIF for any of the above, do not include the option in the command line.
/t - Trim off excess bytes from padded protocols transfers
/lNAME - Log all activity to filename ex: /lGIFGATE.LOG
/q - Quiet mode - display only program/input errors
/r - Relaxed Errorlevel Exits
/m - mono mode - turns off the color display while GifGate runs
/i - suppress integrity checking - test only the baics of a GIF
Indepth Description of GIFGATE's Options:
-----------------------------------------
/w Minimum Width - This is the minimum width to allow GIFGATE to Pass.
For clarity, if you specify /w800, that means do NOT pass a GIF that
is 799 pixels wide, but DO pass a GIF that is 800 pixels wide.
/h Minimum Height - This is the minimum height to allow GIFGATE to Pass.
For clarity, if you specify /h600, that means do NOT pass a GIF that
is 599 pixels in height, but DO pass a GIF that is 600 pixels wide.
/c Minimum Colors - This is the minimum amount of colors to allow
GIFGATE to pass. For clarity, if you specify /c256, that means do
NOT pass a GIF with 255 colors, but DO pass a GIF with 256 colors.
/y Minimum Year - This tells GIFGATE to pass a GIF only if it is dated
the year you specified or later. Note that a GIF upload via a
'dumb' protocol such as X-Modem will have the current date for the
year - this option is only effective when the GIF that has been
uploaded was uploaded with a protocol which keeps the file intact,
such as ZModem.
/s Minimum Size - This is the minimum size to allow GIFGATE to Pass.
For clarity, if you specify /s100000, that means do NOT pass a GIF
that is 99999 bytes in size, but DO pass a GIF that is 100000 bytes
in size. Note that the size must always be in bytes.
/g Check for GIFLite'd GIFs. If a GIFLite'd GIF is found, then GIFGATE
will not pass the GIF.
/t Trim - This option allows GIFGATE to trim off excess bytes which
usually are attached to the end of any file by an X-Modem type
protocol transfer. Note that if the GIF to test is padded and the
/t option is selected, the GIF's archive bit will be set high.
* A "trimmed" GIF will NOT cause a fail!
/q Quiet Mode - This forces GIFGATE to only print to the screen any
program or input errors. All testing activity is suppressed from
the screen. This option is disabled in the UNREGISTERED version!
/r Relaxed Mode - This tells GIFGATE to use 'relaxed' ERRORLEVEL exits.
Please see heading on ERRORLEVEL Exits for detailed information.
/m Mono Mode - GifGate defaults to using color for display of what it
is doing. If you do not want color, add /m to turn color off.
/i Suppressed Integrity Checking - GifGate defaults to do an entire
GIF test on a GIF file. When the /i option is used, GifGate will
not read through the entire GIF file looking for other errors such
as an unexpected end of file or other integrity errors.
/l Log - This option enables GIFGATE to log it's test results to a
log file of your choice. If the log file does not exist, GIFGATE
will create it. If the log file does exist, GIFGATE will APPEND to
it.
GIFGATE's Log file format is as follows:
FILENAME SIZE DATE X Y CLR FAIL-FLAGS
------------------------------------------------------------
FILENAME = name of GIF tested
SIZE = true size of GIF
DATE = date of GIF
X = width of GIF
Y = height of GIF
CLR = colors in GIF
FAIL-FLAGS = What GIF may have Failed for:
- W = failed /w
- H = failed /h
- C = failed /c
- S = failed /s
- Y = failed /y
- G = failed /g