BIT -- Database Bitmap Window

Prints a window of bitmap data stored on a database bitmap segment.

See Also: NUM

PARAMETERS

BIT is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILE     Database File Name                      1-64      Char
DBIB     Database Input Bitmap                   1-1024    Int
DBIW     Database Input Window                   1-4       Int
ONOF     Bitmap On/Off Symbols                   0-2       Char
REPORT   Report Mode: TERM/OFF/filename          0-64      Char

FILE

Specifies the name of the PCIDSK file containing bitmap segments.

 EASI>FILE="filespec"

DBIB

Specifies the bitmap segments for which a report is desired.

 EASI>DBIB=i,j,...,p

DBIW

Specifies the rectangular window of the bitmap to be reported.

EASI>DBIW=Xoffset,Yoffset,Xsize,Ysize

ONOF

Specifies the bitmap window ON and OFF symbols. The ON symbol is the first character of ONOF, and the OFF symbol is the second character of ONOF.

 EASI>ONOF="OP"         | ON="O", OFF="P"
 EASI>ONOF=             | defaults to ON="X", OFF=" "

REPORT

Specifies the file to which to append the generated report.

 EASI>REPORT="filename"
 EASI>REPORT=           | defaults to terminal output
The following names have special meaning:

 EASI>REPORT="TERM"     | generates reports on your terminal
 EASI>REPORT="DISK"     | generates reports on file "IMPRPT.LST"
 EASI>REPORT="OFF"      | usually cancels report generation, but
                        | BIT forces REPORT to terminal output

DETAILS

BIT prints bitmap data stored on selected database bitmap segments (DBIB). Rectangular windows (DBIW) can be printed on a selected report device (REPORT).

Each pixel in a bitmap has two possible states: ON (1) or OFF (0). Each state is represented by a different character symbol on the bitmap window printout. By default, "X" represents ON and " " (blank) represents OFF. You may specify your own ON and OFF symbols by setting the first character of ONOF to the ON symbol and the second character to the OFF symbol.

EXAMPLE

Print a 55 by 30 bitmap window of bitmap data contained in database segment 1 on the database file toronto.pix.

 EASI>FILE="toronto.pix"        | specify database file name
 EASI>DBIB=1                    | specify bitmap segment number
 EASI>DBIW=530,95,55,30         | specify window offset and size
 EASI>ONOF="X "                 | specify bitmap on/off symbols
 EASI>REPORT="TERM"             | specify report device to be terminal
 EASI>RUN BIT                   | print bitmap report
 BIT  Database Bitmap Window        EASI/PACE V5.0  10:03 27-MAR-90

 toronto.pix                      [S  3PIC  1024P  1024L] 10-JAN-89
 1:PCI   Type:101 [Bitmap          ]   Last Update: 13:21 10-JAN-89
 Contents: Location of PCI offices
 Sectional Bitmap Printout:

 Offset: (  530,   95)  Size: (   55,   30)

     5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
     3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 6 6 6 6 6 7 7 7 7 7 8 8 8
     1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5
    +-------------------------------------------------------
  96|
  97|
  98|   XXXXXXXXXXXXXXXXXX               XXXXXXXXXXXX
  99|   XXXXXXXXXXXXXXXXXX               XXXXXXXXXXXX
 100|   XXXXXXXXXXXXXXXXXX               XXXXXXXXXXXX
 101|      XXX            XXX         XXX            XXX
 102|      XXX            XXX         XXX            XXX
 103|      XXX            XXX         XXX            XXX
 104|      XXX            XXX      XXX
 105|      XXX            XXX      XXX
 106|      XXX            XXX      XXX
 107|      XXX            XXX      XXX
 108|      XXX            XXX      XXX
 109|      XXX            XXX      XXX
 110|      XXXXXXXXXXXXXXX         XXX
 111|      XXXXXXXXXXXXXXX         XXX
 112|      XXXXXXXXXXXXXXX         XXX
 113|      XXX                     XXX
 114|      XXX                     XXX
 115|      XXX                     XXX
 116|      XXX                     XXX
 117|      XXX                     XXX
 118|      XXX                     XXX
 119|      XXX                        XXX            XXX
 120|      XXX                        XXX            XXX
 121|      XXX                        XXX            XXX
 122|      XXX                           XXXXXXXXXXXX
 123|      XXX                           XXXXXXXXXXXX
 124|      XXX                           XXXXXXXXXXXX
 125|

About PCI Help Gateway