resample man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

RESAMPLE(1)							   RESAMPLE(1)

NAME
       resample - resample a picture

SYNOPSIS
       resample [ -x size ] [ -y size ] [ file ]

DESCRIPTION
       Resample	 resamples  its	 input image (default standard input) to a new
       size.  The image is decimated or interpolated using a Kaiser window.

       The size of the resampled image can be specified with  the  -x  and  -y
       options.	  An  unadorned value sets the number of pixels of that dimen‐
       sion; a suffixed percent sign specifies a percentage.  If only  one  of
       -x or -y is given, the other dimension is scaled to preserve the aspect
       ratio of the original image.  Thus, -x50% will reduce the image to half
       its original dimension in both x and y.

       The  input  should  be a Plan 9 image as described in image(6), and the
       output will be a compressed 24-bit r8g8b8  image.   To  uncompress  the
       image or change the pixel format, use iconv (see crop(1)).

SOURCE
       /sys/src/cmd/resample.c

SEE ALSO
       crop(1), image(6)

BUGS
       Faster  algorithms exist, but this implementation produces correct pic‐
       tures.

								   RESAMPLE(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net