                         Kapture/6000 Version 8.6
            AIX Screen Capture and Image Conversion Utility
 
 
1. Description
 
  Kapture/6000 is the Motif User Interface to a set of image capture
  and display utility commands developed by IBM.
  These commands enable the capture of colour images from a variety
  of RISC System/6000 graphics adapters and Xstations. The captured image
  may then be stored, redisplayed and output in various image formats for
  use as picture inserts in documents or for hard-copy purposes.
 
2. Specified Operating Environment
 
  2.1 Machine Requirements
 
 IBM RISC 6000 systems and PowerSeries equipped to run AIXwindows or
 an IBM Xstation running AIXwindows. Kapture/6000 may require
 specific adapters and features to fully utilize all available
 function. See application documentation for specific details,
 limitations, and recommendations.
 
  2.2 Programming Requirements
 
  AIX Operating system version 3.2.5             (5756-030)
    and
  AIXwindows                                     (5601-257)
    or
  AIX Operating system  version 4.1              (5756-393)
 
 
3. Installing

  3.1. Download the install image file kapture.install.bin

  3.2 As root issue the following command:
   
           installp -aXd kapture.install.bin  kapture

       The install process will display the terms of the license
       agreement and prompt for acceptance/rejection. If you 
       agree to the terms enter 'y' to continue. If you do not
       agree to the terms hit 'n' to abort.

3. Availabilty 

   The latest version of Kapture can be obtained via anonymous FTP 
   from service.software.ibm.com. The complete url is:

   ftp://service.software.ibm.com/aix/tools/graphics/kapture
   
---------------------------------------------------------------------------


			 Kapture (V8.6) helpText
			 -----------------------
Image capture and display utilities                    3rd  February 1996
-----------------------------------                    -------------------

  User written Shell Scripts
  --------------------------
  The facility is provided for Export output files to be routed directly to
  printer queues via the User Interface using User written Shell Scripts.
  Place these scripts in the directory /usr/lpp/kapture/scripts (see below). 
  
*****************************************************************************

  Using the Kapture User Interface
  --------------------------------
  The following functions are initiated from buttons on the Kapture panel:

  Grab
  ----
     Function: To grab an image from an X-window and save as a
	       compressed image file.

     Selection Method:
	Window - Grab complete window contents.

	Region - Grab part of the screen. Indicate the selected area
		 by use of a rubber band box using the mouse.

     Image File:
	Filename displayed as Selection is the name of compressed image file
	to be created.

	Press OK to execute utility with chosen options.
	Further dialogue (eg window/region selection) is prompted.

  View
  ----
     Function: To view an image from a compressed image file in an X-window.
               The image is rendered in a window with the same depth as the
               root window. The colour resolution is reduced by software
	       dithering if necessary.

     Render:
	Colour    - Render the image in colour
	Greyscale - Render the image in greyscales

     Background/Colour Substitution:
	None      - no background substitution
	Blue      - substitute pale blue for background colour
	White     - substitute white for background colour
        Wire      - substitute white for background colour and
                    substitute black for any other colour
                    (useful for some wireframe drawings)
        SwapBW    - swap black and white colours              

     Image File:
	Filename displayed as Selection is name of compressed image file
	to be read.

	Press OK to execute utility with chosen options.

     Interaction:                                                       
        The window and its image may be resized, and pan and zoom 
        operations performed within the window:
           zoom       use mouse button 1 to rubberband an area of image 
                      use mouse button 2 to zoom in at given point     
                      use mouse button 3 to zoom out at given point   
           pan        use arrow keys to move scaled image            

  Export
  ------
     Function: Processes the given compressed image file and produces
	       a PostScript or TIFF or HP PCL image file.

     Background/Colour Substitution:
	The background colour of many windows is black, which may be
	poor for publishing purposes.

	None      - no background substitution
	Blue      - substitute pale blue for background colour
	White     - substitute white for background colour
        Wire      - substitute white for background colour and
                    substitute black for any other colour
                    This option is useful for some engineering drawings
                    with multi-colour text and dimensions that would not
                    otherwise be clearly visible.
        SwapBW    - swap black and white colours              
                    This option may be useful for saving printer toner.

     Scale:
	scale value (+ve)
           PostScript:    
              The image is scaled and/or rotated using the PostScript
              scale operator to suit the PostScript Format below.
              If the requested scale exceeds the paper size then the
              image is automatically scaled to fit on the paper without
              changing the aspect ratio.

              Default pixel size: 1/72 inch

           TIFF:
              The image is scaled by adjusting the number of pixels output.
	      TIFF output is not compressed.

           HP PCL:
              The image is scaled by adjusting the number of pixels output.

              Default pixel size: 1/150 inch (2 x 2 dots) (Wire option)
                                  1/75  inch (4 x 4 dots)

              Max image size: A4 (image scaled to A4 if larger size requested)

     PostScript - Format:
	A4 / A3 / Letter / Tabloid 
             - the image is centred on the page size specified and 
	       and rotated if necessary to match largest image dimension
               with largest paper dimension.
        EPS  - the image is scaled as above, but not rotated or
               centred on the page. The Adobe guidelines for
               Encapsulated PostScript are followed.

     PostScript - Colour Method:
	No PostScript    - PostScript output suppressed
	4  bit Greyscale - 4 bits/pixel (max 16 grey levels)
	8  bit Colour    - 8 bits/pixel (max 256 colours)
	24 bit Colour    - 24 bits/pixel (max 16.7m colours)

     TIFF - Colour Method:
	No TIFF           - TIFF output suppressed
	4  bit Greyscale  - 4 bits/pixel (max 16 grey levels)
	8  bit Colour     - 8 bits/pixel (max 256 colours)
	24 bit Colour     - 24 bits/pixel (max 16.7m colours)

     HP PCL:
        No PCL            - No PCL output produced
        Colour            - Colour PCL 3 output at 300 dpi
        Greyscale         - Greyscale PCL output at 300 dpi

     Image File:
	Press Image File button to get file selection panel.
	Filename displayed as Selection is name of compressed image file
	to be read.

     Output File:
	Press Output File button to get file selection panel.
	Filename displayed as Selection is either:
 
        1. If Filename begins with string 'prt' then the standard
           output is piped through a user-written shell script.
           User written shell scripts should be stored in the directory
           /usr/lpp/kapture/scripts under the corresponding name 'prt....'

           These shell scripts enable the user to place output
           directly on a printer queue, using the qprt or similar command.

        2. Name of PostScript or TIFF or HP PCL output file

	Press OK to execute utility with chosen options.

*****************************************************************************

  Using the Image Capture and Display Utility Commands
  ----------------------------------------------------
  To run the commands as shown below then the following should be added to
  the PATH environment variable for the user when Kapture has been installed:

    /usr/lpp/kapture/bin 

  These commands can be run independently of the Kapture User Interface:

  kgrab: Image Capture Utility Command
  ------------------------------------
  Usage: kgrab [-region] ImageFile ...
                                                            
  Description:                                               
     The kgrab utility enables the user to grab a colour image
     from an X-window and save the image on disc in a compressed form.
     The user is prompted to identify the window containing the image
     to be captured.                                               
                                                                
     Use the kview utility to view saved images in an X-Window.  
     Use the kexport utility to produce PostScript, TIFF or HP PCL output.
                                                                      
  Options:                                                             
     -region      rubber-band box can be used to indicate area of        
                  screen to be saved rather than select window.          
                                                                        
  kview: Image Display Utility Command
  ------------------------------------
  Usage: kview [-grey] [-blue] [-white] [-wire] [-swap] [-bright]
               ImageFile..

  Description:
     The kview utility displays the compressed image from the file
     indicated in a new window. The image may be displayed on any
     2D or 3D graphics adapter or Xstation (using X) which has at
     least an 8-bit frame buffer.The image data is dithered if the
     colour resolution has to be reduced for an 8-bit frame buffer.

     Use the kgrab utility to grab and save images to file.
     Use the kexport utility to produce PostScript,TIFF or HP PCL output.

  Options:
     -grey        greyscale display
     -blue        substitute pale blue for background colour
     -white       substitute white for background colour
     -wire        substitute white for background colour and
                  substitute black for any other colour
                  (useful for some wireframe drawings)
     -swap        swaps black and white colours
     -bright      brightens the image

  Interaction:                                                       
     The window and its image may be resized, and pan and zoom 
     operations performed within the window:
       zoom       use mouse button 1 to rubberband an area of image 
                  use mouse button 2 to zoom in at given point     
                  use mouse button 3 to zoom out at given point   
       pan        use arrow keys to move scaled image            


  kexport: Image PostScript/TIFF/HP PCL Utility Command
  -----------------------------------------------------
  Usage: kexport [-p2] [-p4] [-p6] [-p8] [-p12] [-p24]
	         [-eps] [-a3] [-a4] [-lt] [-tb]
	         [-t1] [-t4] [-t8] [-t24] 
                 [-pcl300] [-pcl600] [-grey]
	         [-blue] [-white] [-wire] [-swap] [-bright] [-scale <value>]
	         ImageFile PostScriptFile...

  Description:
     The kexport utility processes the given compressed image file and
     produces an 'industry standard' image file in one of the forms:
                                                            
          .PostScript  (colour or greyscales)
          .TIFF        (colour or greyscales)
          .HP PCL      (greyscales)

     The default PostScript image output has 24 bit colour
     resolution and is centred on the given paper size.
     Various colour resolutionis are available by options which
     significantly affect the size of the output file.

     NOTE: 8 bit colour option requires full Level 2 PostScript support.

     The TIFF file output is produced according to TIFF Revision 6.0.
     The TIFF image data is not compressed.

     Use the kgrab utility to grab and save images to file.
     Use the kview utility to preview an image on the screen.

  PostScript Options:
     -p2           greyscales PostScript output ( 2 bits/pixel)
     -p4           greyscales PostScript output ( 4 bits/pixel)
     -p8           colour PostScript output     ( 8 bits/pixel)
     -p6           colour PostScript output     ( 6 bits/pixel)
     -p12          colour PostScript output     (12 bits/pixel)
     -p24(default) colour PostScript output     (24 bits/pixel)
     -eps          EPS (Encapsulated PostScript File output)
                    - suitable for picture input to Publishing Software
	            - image is not centred on the paper
     -a3           specifies centre a3 size output
     -a4 (default) specifies centre a4 size output
     -lt           specifies centre letter size output
     -tb           specifies centre tabloid size output

     Default pixel size: 1/72 inch

  TIFF Options:
     -t1           Bilevel TIFF output        ( 1 bit /pixel)
     -t4           Grayscale TIFF output      ( 4 bits/pixel)
     -t8           Palette-color TIFF output  ( 8 bits/pixel)
     -t24          RGB Full Color TIFF output (24 bits/pixel)

  HP PCL Options:
     -pcl300       specifies 300 dpi PCL output 
     -pcl600       specifies 600 dpi PCL output
     -grey         specifies greyscales output (default PCL 3 colour)

      Default pixel size: 2 dots for wire option, otherwise 4 dots
      Max image size: A4 (scaled to A4 if larger size requested)  

  General Options:
     -blue         substitute pale blue for background colour
     -white        substitute white for background colour
     -wire         substitute white for background colour
                   and black for any other colour
                   (useful for some wireframe drawings)
     -swap         swaps black and white colours
     -bright       brightens the image
     -scale value  indicates scaling to be applied (default 1.0)

*****************************************************************************

  Using Image Utility Filters
  ---------------------------
  These underlying filters use standard input and/or output and may 
  be more convenient to call from application programs or Shell programs.
  The options are similar to those for the Image Utility Commands.

  eg: to grab an image from the screen, process to PostScript and file:

	 kgrabX | kexportPOSTSCRIPT -blue -a4 -p24 > temp.ps


  Image Grab Utility Filters
  --------------------------
    kgrabX [-region]

  Image View Utility Filters
  --------------------------
    kviewX [-grey] [-blue] [-white] [-wire] [-swap] [-bright]

  Image Export Filters
  --------------------
    kexportTIFF [-t0] [-t1] [-t4] [-t8] [-t24]
                [-blue] [-white] [-wire] [-swap] 
                [-bright] [-scale <value>]

    kexportHPPCL [-pcl300] [-pcl600] [-grey]
                 [-blue] [-white] [-wire] [-swap] 
                 [-bright] [-scale <value>]

    kexportPOSTSCRIPT [-p2] [-p4] [-p6] [-p8] [-p12] [-p24]
                      [-blue] [-white] [-wire] [-swap] 
                      [-bright] [-scale <value>]

*****************************************************************************

Bugs Fixed in this release:

1. Window grabs on gxt150 family of adapters now uses correct color
   maps.

2. Now longer hangs when grabbing multiple depth windows on GTO.

3. 8 and 12 bit direct and true color visuals now work properly on all
   adapters, (OpenGL grabs corrected).

4. Perforamance is improved for direct and true color visuals. 
 
*****************************************************************************

Known Bugs:

1. Multiple depths window grabs return incorrect colors for 24 bit
   windows on the GTO. 
