home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Der Mediaplex Sampler - Die 6 von Plex
/
6_v_plex.zip
/
6_v_plex
/
DISK2
/
MULTI_04
/
DOSGT.ZIP
/
GC.DOC
< prev
next >
Wrap
Text File
|
1991-12-15
|
3KB
|
96 lines
GC.DOC
1991-12-13
GC is a program for displaying, adding, and removing comments from
GIFs. The syntax is this:
gc [-commands] gfile [textfiles]
Where "gfile" is the name of the GIF you wish to look at or change.
The ".gif" extension will be added if it is not supplied.
[Commands] is an optional set of commands from the following set
preceded by a hyphen (-):
-s Show comments. If no command is given, this is the default.
-a Add comments. Any textfiles named on the command line are
added to the GIF as comments. The extension ".txt" is added
to the filename if not present. This can be overridden by
ending a filename with a single "."
-d Delete all comments from GIF. If both -a and -d are given,
textfiles are added as comments to GIF, then any previously
existing comments are deleted.
-v Verbose mode (can be mixed with any other command). Causes
GC to print the name of the file affected, the full text of
any comments added, and the number of comments acted upon.
-t Translate ASCII characters in comments to native character
set. This is not needed on most machines, but it will show
you any odd characters in the comment. Can be mixed with
any other command.
-h,-? Print usage information.
Sample (slightly edited) MSDOS session:
C>dir
WENDY GIF 106269 12-08-91 1:35a
C1.TXT 49 12-07-91 10:58p
C2 31 12-08-91 1:35a
C>type c1.txt
Photograph of Wendy Christine by Phillip Vullo.
C>type c2
(C) 1990 Playboy Enterprises.
C>gc wendy
C>gc -v wendy
WENDY.GIF: 640 x 480, 256 of 256k colors
No comments found.
C>gc -a wendy c1
C>gc wendy
Photograph of Wendy Christine by Phillip Vullo.
C>gc -adv wendy c2.
WENDY.GIF: 640 x 480, 256 of 256k colors
(C) 1990 Playboy Enterprises.
1 comment added.
1 comment deleted.
C>gc -dv wendy
WENDY.GIF: 640 x 480, 256 of 256k colors
1 comment deleted.
C>gc -v wendy
No comments found.
Added comments are placed between the global colormap and the first
image in the GIF stream. That way, they can be accessed more quickly
by directory programs. Programs like Piclab print comments as they
are found in GIFs, so comments in the GIF before the first image give
you something to read while the image is loading.
Send comments to:
Lee Daniel Crocker lee@mport.com (uunet!mport!lee)
5506 Camden Ave #D3 73407.2030@compuserve.com
San Jose, CA 95124