Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gifcompose(1) [debian man page]

gifcompose(1)						      General Commands Manual						     gifcompose(1)

NAME
gifcompose - The gifcompose program uses the GIFLIB utility tools to support a minilanguage for describing GIF pasteup sequences. USAGE
gifcompose [-v] <specfile Specification Syntax The gifcompose tool takes a series of text lines and interprets them as commands to do pasteup operations. The commands are: Generators gif <name> Paste in <name>.gif raw <name> <width> <height> Paste in the given raw-format file (no suffix supplied). Raw format is a stream of 8-bit indices into the EGA color map. Accord- ingly, the width and height must be specified, and the source must be exactly width times height bytes long. rgb <name> <width> <height> Paste in the given RGB-format file (no suffix supplied). Raw format is a stream of 24-bit color values. Accordingly, the width and height must be specified, and the source must be exactly 3 times width times height bytes long. rle <name> Paste in the given RLE-format file (no suffix supplied). This converts the Utah Raster Kit format to GIF. text <text> [foreground <index>] [color <r> <g> <b>] Copy 8x8 monospace font, with transparent background and index 1 as foreground. If the text string contains whitespaces, they must be escaped or the string must be quoted (shell conventions). The optional suffix `foreground <n>' sets the foreground color index. The optional suffix `color <r> <g> <b>' sets the RGB color to be used for the foreground index. Each generator operation may be followed by any combination of the following suffixes: Modifiers at <x> <y> Place the image at the given (upper-left-hand-corner) coordinates in the pasted-up result. clip <name> <top-x> <top-y> <bottom-x> <bottom-y> Clip image using the given rectange, paste it onto. xflip Flip the image around the X axis before placing it. yflip Flip the image around the Y axis before placing it. left Rotate the image 90 degrees counterclockwise before placing it. right Rotate the image 90 degrees clockwise before placing it. Target Operations screen size <x-size> <y-size> Set the global screen size of the final image. screen position <x> <y> Set the global screen position of the final image. Comments Comments or comment lines may be preceded with `#' and will be ignored. MEMORY REQUIRED
Proportional to the size of the largest pasted image. OPTIONS
[-v] Emit a report on each composition action to stderr as it happens. BUGS
The suffix sequence `left left' sometimes mysteriously fails to work, probably due to some restriction in <a href="gifflip.html">gifflip No support for resizing or odd-angle rotations yet. The `color' suffix of text is a no-op, because the present version of <a href="gifovly.html">gifovly Error checking is rudimentary. AUTHOR
Eric S. Raymond <esr@snark.thyrsus.com> Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools gifcompose(1)

Check Out this Related Man Page

gif2bgi(1)						      General Commands Manual							gif2bgi(1)

NAME
gif2epsn - A program to dump images saved as GIF files on Epson type printers. USAGE
gif2epsn [-q] [-d dither] [-t bw] [-m map] [-i] [-n] [-p printer] [-h] gif-file If no gif-file is given, Gif2Epsn will try to read a GIF file from stdin. MEMORY REQUIRED
Screen. OPTIONS
[-q] Quiet mode. Default off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. [-d dither] Sets size of dithering matrix, where DitherSize can be 2,3 or 4 only (for 2x2, 3x3 and 4x4 dithering matrices). Default is 2. Note image will be displayed in this mode only if the mapping option (see -m) selected this mode. [-t bw] Sets threshold level for B&W mapping in percent. This threshold level is used in the different mappings as selected via -m. Default is 19%. [-m map] Select method to map colors to B&W. Mapping can be: 0 Every none background color is considered foreground (white color but is drawn as black by printer, unless -i is specified). 1 If 0.3 * RED 0.59 * GREEN 0.11 * YELLOW > BW the pixel is considered white color. 2 Colors are mapped as in 1, and use dithering of size as defined using -d option. BWthreshold is used here as scaler. The default is option 0. [-i] Invert the image, i.e. black -> white, white -> black. [-n] Nicer image. Uses double-density feature of Epson printer. This takes more time (and kills your ink cartridge faster...) but results are usually better. [-p printer] Under Unix, output goes to stdout by default; under DOS, the default is LPT1:. With this switch you can specify the output target. [-h] print one line of command line help, similar to Usage above. NOTES
The output has an aspect ratio of 1, so a square image will be square in hardcopy as well. The widest image can be printed is 640 pixels, on 8 inch paper. You probably will need to flip wider images, if height is less than that: `<a href="gifflip.html">gifflip -r x29.gif | gif2epsn'. Wider images will be clipped. AUTHOR
Gershon Elber Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools gif2bgi(1)
Man Page