Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mugs(9) [plan9 man page]

MUGS(9.1)																 MUGS(9.1)

NAME
mugs - make face icons from pictures SYNOPSIS
mugs [ -a ] [ -1 ] [ -2 ] [ file ] DESCRIPTION
Mugs interactively converts grey-scale images in the form of picfile(9.6) into 48x48 icons. It is designed to run in a pipe, reading the picture from standard input unless a single file is given on the call. Mugs displays a large approximation to the original picture and a matrix of 48x48 icons of varying contrast and brightness. Button 1 selects one of the icons. Button 2 offers the menu entries: in Zoom in to a finer contrast/brightness range around the selected icon. Repeated ins will zoom in farther. out Opposite of in. reset Set the brightness/contrast range to the maximum. Both in and out preserve the brightness/contrast values in the selected icon. Button 3 presents a menu with entries: window Select a square window in the large picture using button 3. Touch down at the top and center of the square and slide around to adjust its size. Appropriately cropped icons will be displayed. depth Toggle between 1- and 2-bit deep icons. write Write the selected icon to standard output. Each write produces 48 lines of text suitable for initializing an array in C. 1-bit deep icons produce three shorts per line; 2-bit depths are written as three longs per line. abort Terminate mugs with a non-blank error return. finish Terminate with a null status return. Option -a indicates that picture files have non-square pixels with aspect ratio 1.25, as produced by some frame grabbers. Normally pixels are assumed to be square. -1 and -2 select the initial depth of the icons. -2 is default. SOURCE
/sys/src/cmd/mugs.c SEE ALSO
picfile(9.6) MUGS(9.1)

Check Out this Related Man Page

WM-ICONS-CONFIG(1)					      General Commands Manual						WM-ICONS-CONFIG(1)

NAME
wm-icons-config - show and set configuration for wm-icons SYNOPSIS
wm-icons-config [options] NAME [ICON_SET] ... DESCRIPTION
This show wm-icons package configuration, and the list of installed icon sets. It also is used to set aliases to icon-sets in system or user space. In the synopsis above, NAME is icon alias name, ICON_SET is icon set directory (for example: mini 16x16-default). If NAME already exists as an alias, it is not overwritten, unless the --force option is given. Explicit NAMEs override --defaults. Just the alias names are given for --which and --remove options. OPTIONS
Informational options: display info and exit --help Print a short usage message --version Show version number and exit --inst-dir Show wm-icons installed icon directory and exit --user-dir Show wm-icons user icon directory and exit --show-defaults Show default aliases and exit --show-aliases Show the aliases currently present. One of --global, --personal, --user-dir must be given --show-sets Show a list of installed icon sets Directory selection options: precisely one of these must be given --global Set up global (system-wide) links in the base dir --personal Set up personal links in ~/.wm-icons --user-dir=USER_DIR Set up links in USER_DIR Choice of links: at least one of these must be given --defaults Set up default aliases, as shown by --show-defaults Extra options --remove Remove the symlinks rather than creating them, return (0, 1) --which Show the icon set for the given alias(es), return (0, 1) --quiet Do not output results of alias manipulating to stdout --force Force overwriting of existing symlinks BUGS
None known. AUTHORS
Mikhael Goikhman <migo (at) cpan.org> and others (see file AUTHORS). This manual page was initially written by Manoj Srivastava <srivasta@debian.org>, for the Debian GNU/Linux system. 09-Apr-2006 WM-ICONS-CONFIG(1)
Man Page