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
TV_GRAB_NA_ICONS(1p) User Contributed Perl Documentation TV_GRAB_NA_ICONS(1p)NAME
tv_grab_na_icons - Grab channel icon images or links from zap2it.com
SYNOPSIS
tv_grab_na_icons [--debug] [--links] [--share dir]
tv_grab_na_icons --help
tv_grab_na_icons --version
DESCRIPTIONS
This script goes to the zap2it web site and downloads icon links or images to the share/icons directory.
It was designed to allow icons to be added by tv_grab_na_dd, but there is no reason it can't be used for other purposes.
To minimize the load on zap2it.com, downloaded icons are recommended. Links are available for those applications that need it.
Also to reduce the load on zap2it.com, this script should be run sparingly. There is really no need to run it frequently, new networks or
icons don't show up that often. To emphasize that point, there is no --configure mode, the questions need to be answered each run.
OPTIONS --links
Store imge URLs in *.url files instead of downloading images.
--share SHAREDIR
Icons are stored in SHAREDIR/icons. The share directory is set at install time, but there may be times when it needs to be specified.
(for example: no write access to the default share directory)
--debug
Turns on debugging mode. The grabber will be more verbose, and saves some extra debugging data with the icons.
--version
Show the version of the grabber.
--help
Print a help message and exit.
SEE ALSO
xmltv.
AUTHOR
Robert Eden
perl v5.14.2 2012-06-30 TV_GRAB_NA_ICONS(1p)
any idea.....
If i want to run the scripts in unix...can it be done ..just by clicking icons on a windows machine ( connectivity exists between the windows & unix machine ) (1 Reply)
Discussion started by: bishweshwar
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Can you add hover texts (alt-texts) to icons? It is not always obvious what each of them mean just by looking at them. Sometimes it is clear from the url it points to, but for accessibility reasons alone it would be good to have alt-texts as a standard. (1 Reply)
Hey,
Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right.
I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)