SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other XITE-3.3-3.i386.rpm

MKIMG

Section: User Commands (1)
Updated: 16 Mar 1998
Index

 

NAME

mkImg - make an image with specified size, pixel type and value

 

SYNTAX


 mkImg [-xsize <xsize>] [-ysize <ysize>] \
       [-xstart <xstart>] [-ystart <ystart>] \
       [-nbands <nbands>] [-title <title>] \
       [-pt <pt>] [-pv <pv>] [-impv <impv>] <outimage>

 

DESCRIPTION

mkImgcreates an image of any size, pixel type andvalue, specified by the switches. <outimage> is thename of the new image.


   Switches:           Meaning:        Default value:
 -----------------------------------------------------
 -xsize <xsize>     Horizontal size        512
 -ysize <ysize>     Vertical size          512
 -xstart <xstart>   xstart                 1
 -ystart <ystart>   ystart                 1
 -nbands <nbands>   number of bands        1
 -title <title>     image title            "new image"
 -pt <pt>           pixel type             unsigned byte
 -pv <pv>           pixel value            0
 -impv <impv>       imaginary pixel value  0

If the title contains more than one word, surround itwith "double quotes". The pixel type may be given aspixel number or short name, according to the following table:


   Pixel number:    Short name:    Pixel type:
 -------------------------------------------------
        3               ub         unsigned byte
        4               sb         signed byte
        5               us         unsigned short
        6               ss         signed short
        7                i         integer
        8           r or f         real (float)
        9                c         complex
       10                d         double
       11               dc         double complex

The -impv switch is only meaningful in case of complexand double complex pixels, where the "-pv" switch isused to specify real part, and "-impv" the imaginarypart.

 

SEE ALSO

ascii2biff(1), raw2biff(1)

 

DIAGNOSTICS

Usage 1: Bad number of argumentsError 2: Unknown pixel typeError 3: Malloc failed

 

RETURN VALUE

0 if ok, otherwise Error number, see diagnostics.

 

AUTHOR

Tor L|nnestad, BLAB, ifi, UiO

 

EXAMPLES


 mkImg black.img
 mkImg -xsize 256 -ysize 256 -pt c -pv 1.0 -impv 1.0 \
   cmplx.img

 

ID

$Id: mkImg.c,v 1.28 1997/03/24 10:14:37 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
SEE ALSO
DIAGNOSTICS
RETURN VALUE
AUTHOR
EXAMPLES
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector