home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / ANSIREZ1.ZIP / ANSIREZ.DOC < prev    next >
Encoding:
Text File  |  1992-12-21  |  37.5 KB  |  1,108 lines

  1.  
  2.  
  3.  
  4.                ┌──────────────────────────────────────────┐
  5.                │ ANSIrez (tm) - Documentation Release 1.0 │
  6.                └──────────────────────────────────────────┘
  7.  
  8.                    "320x200x256 Graphics to ANSI code"
  9.  
  10.                             - Operation Manual - 
  11.  
  12.  
  13.         Copyright 1992  ∙  Fred Bertagnolli  ∙  All Rights Reserved
  14.  
  15.  
  16.                                ------------
  17.  
  18.  
  19.      PLEASE READ ALL THE DOCUMENTATION!   You will not understand the
  20.      program if you do not read this information.
  21.    
  22.      This program can ONLY be installed ONCE and will run for 50 times.
  23.      It will not run on a floppy drive or RAM drive.
  24.  
  25.                                ------------
  26.  
  27.      CD-ROM manufacturers/distributors and commercial shareware
  28.      distributors must contact the author before permission is
  29.      granted for distribution of ANSIrez on any media for a fee.
  30.      Use without permission violates the copyright held by Fred
  31.      Bertagnolli.
  32.                                ------------
  33.  
  34.      BBS Sysops may distribute ANSIrez as long as NO FEE is charged
  35.      for distribution of the ANSIrez ZIP archive.
  36.  
  37.  
  38.                                ------------
  39.  
  40.  
  41.      To register this program send $25 U.S. or $35 U.S. if overseas to:        
  42.                
  43.                             Fred Bertagnolli
  44.                             745 Maple St.
  45.                             Ogden, Utah  84403 
  46.  
  47.          Registration will be mailed to you within 3 working days.
  48.  
  49.          Registration removes all protection schemes from ANSIrez.
  50.          
  51.  
  52.  
  53.      This document contains extended ASCII chars and may not print
  54.      correctly on all printers.
  55.  
  56.  
  57.                                      -1-
  58.  
  59.  
  60.  
  61.  
  62.                            ┌────────────────────┐
  63.                            │  What is ANSIrez?  │  
  64.                            └────────────────────┘
  65.  
  66.    The program SCANS a 320x200x256 screen and creates an ANSI file.
  67.    
  68.    This program is intended for those who enjoy making ANSI color
  69.    text screens.  
  70.  
  71.    ANSIrez is a tool for ANSI artists and for those who like creating
  72.    unusual bulletin board screens.  I recommend you use TheDraw(tm)
  73.    to edit the AREZ.ANS output file.
  74.  
  75.    The program reduces up to 256 colors to 16 ANSI colors and uses a
  76.    limited pattern matching set.
  77.  
  78.    Don't expect miracles with ANSIrez.  ANSIrez does not replace talent.
  79.    Most ANSI screens created with ANSIrez can be improved by editting
  80.    with TheDraw.
  81.       
  82.    ANSIrez can also create some terrible messes.  It depends on how
  83.    you use the program and the type of image you are scanning.  The
  84.    best scans are made by scaling a portion of a GIF file.
  85.          
  86.    
  87.    
  88.    
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.                                      -2-
  103.  
  104.  
  105.  
  106.  
  107.              ┌────────────────────────────────────────────────┐
  108.              │ Introduction and Technical Overview of ANSIrez │
  109.              └────────────────────────────────────────────────┘
  110.         
  111.     ANSIrez attempts to convert 320x200x256 images to ANSI code format.
  112.     It uses pattern recognition techniques, color palette reduction, and
  113.     a variety of image processing techniques.  ANSIrez outputs a single 
  114.     file: AREZ.ANS  ( a 79 x 25 character ANSI color text file. )
  115.  
  116.     By using █ ▀ ▐ ▌ ▄ ■  as pattern matching characters, many GIF
  117.     or PCX graphics files can be converted to ANSI format with good
  118.     results.
  119.  
  120.     This particular pattern/color recognition technique may not work
  121.     well on all GIF images.  It is important you understand this.
  122.     
  123.     Use of the program requires a good "eye", and a bit of skill.
  124.     It requires experimentation on your part, for best results.
  125.  
  126.     ANSIrez output is completely different that ANSICVxx, a program
  127.     which inputs GIF files and outputs ANSI files using color blends of
  128.     the ▒ character.
  129.  
  130.     ANSIrez reduces the 256 color palette to the 16 available colors
  131.     for ANSI screens using a best-fit method.  A "Level" option lets you
  132.     boost the original RGB (Red/Green/Blue mixes) colors against the
  133.     ANSI colors, for pseudo coloring effects.  A monochrome coloring
  134.     option is also available.
  135.  
  136.     You are presented with a variety of tools for scaling, filtering,
  137.     color filling, lines, and block fills in an ordered menu sequence.
  138.     Mouse pointing and graphic pushbuttons make for easy operation.
  139.  
  140.     When ANSIrez scans an image, it tries to match color patterns with
  141.     what it "thinks" is the best available matching character, from the
  142.     pattern matching set.  I settled on this particular set by trial
  143.     and error methods.  This method generally works better on images
  144.     if they have been scaled.
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.                                      -3-
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.     AREZCAP.EXE ( a TSR ) is use to capture raw screens used by ANSIrez.
  162.     This TSR saves raw screen data and color palette data from any
  163.     program capable of displaying GIF or PCX files in 320x200x256
  164.     mode.  It will not work with any other graphic resolutions.
  165.      
  166.     You will need a program to view GIF or PCX files in 320x200x256 mode,
  167.     so AREZCAP can "capture" the image.  I recommend CSHOW or an image
  168.     processor called IMPROCES.
  169.  
  170.     The TSR method was chosen over direct translation of GIF or PCX
  171.     files because it was easier to write, and should support grabbing
  172.     image data in VGA 320x200x256 video mode, regardless of the original
  173.     image file format.
  174.  
  175.     A future version of ANSIrez may support direct translation of GIF
  176.     and PCX files.  For now, I like the TSR method.
  177.  
  178.  
  179.                  ┌────────────────────────────────────────┐
  180.                  │  Required IBM PC compatible equipment  │
  181.                  └────────────────────────────────────────┘
  182.  
  183.      1.   Microsoft Compatible Mouse.
  184.      2.   VGA Graphics Card. (VGA register compatible)
  185.      3.   Hard drive.
  186.      4.   Some interesting GIF or PCX files and a program that can
  187.           display them in 320x200x256 VGA mode. (a viewer, like CSHOW )
  188.      5.   DOS 3.0 or higher.  
  189.    
  190.  
  191.  
  192.  
  193.  
  194.   ┌─────────────────────────────────────────────────────────────────────┐ 
  195.   │                                                                     │
  196.   │ IMPORTANT: Do not change the name of any ANSIrez files.  The        │
  197.   │            program is hard coded to recognize only the original     │
  198.   │            file names contained in the ANSIrez ZIP archive          │
  199.   │            package.  Do not re-zip the files.  They are modified    │
  200.   │            when you run the program and will not run on other       │
  201.   │            computers after installation.                            │
  202.   │                                                                     │
  203.   └─────────────────────────────────────────────────────────────────────┘
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.                                      -4-
  212.  
  213.  
  214.  
  215.  
  216.  
  217.                             - Release History -
  218.  
  219.                                                                         
  220.      12-25-92   ANSIREZ1.ZIP    Posted on Salt Air BBS. 
  221.  
  222.      --------------------------------------------------------------------
  223.  
  224.  
  225.          ANSIrez1.ZIP   ARCHIVE should contain the following files:
  226.  
  227.          ANSIrez.EXE    The main program
  228.          ANSIrez.DOC    This document
  229.          AREZCAP.EXE    The TSR screen image capture utility.
  230.                         Read all the documentation before using
  231.                         AREZCAP.EXE
  232.                         
  233.          VGA256.BGI     The Borland Graphics Driver
  234.          ANSIrez.SCR    A sample 64000 byte raw screen image
  235.          ANSIrez.PAL    A sample 768 byte raw color palette
  236.          FILE_ID.DIZ    Description for BBS file listing.         
  237.          AREZ.ANS       The file ANSIREZ makes.
  238.          Several converted ANSI files created with ANSIrez.
  239.  
  240.      --------------------------------------------------------------------
  241.  
  242.  
  243.                            - Table of Contents -
  244.                                                        
  245.  
  246.              Distribution Policy ....................  1-7
  247.              What is ANSIrez?  ......................  2        
  248.              Technical Overview .....................  3-4  
  249.              Required Equipment .....................  4
  250.              Table of Contents ......................  5
  251.              Included Files .........................  5
  252.              Software License Agreement .............  6
  253.              Disclaimer .............................  7
  254.              ANSIrez 50 run limit ...................  8
  255.              Installation ...........................  9
  256.              Mouse Buttons ..........................  9
  257.              Color Menu .............................  10-11
  258.              Boost Menu .............................  10
  259.              Scale Menu .............................  12
  260.              Filter Menu ............................  13
  261.              Paint Menu .............................  14-15
  262.              Scan Menu ..............................  16
  263.              ANSIrez Pattern Recognition ............  17
  264.              AREZCAP TSR Screen Capture Utility .....  18-19
  265.          
  266.  
  267.   By using this software, you agree to and acknowledge all terms of
  268.   software license agreement, distribution policy, and disclaimer.
  269.  
  270.  
  271.  
  272.                                      -5-
  273.  
  274.  
  275.  
  276.  
  277.  
  278.                    ┌────────────────────────────────────┐
  279.                    │ ANSIrez Software License Agreement │
  280.                    └────────────────────────────────────┘
  281.  
  282.     By using ANSIrez for evaluation purposes or by making it available
  283.     on a Bulletin Board System, you agree to and acknowledge all of the
  284.     following terms, conditions and restrictions, including the
  285.     distribution policies and disclaimer clauses.
  286.  
  287.     ANSIrez is not a Public Domain program and as such is NOT "Freeware."
  288.  
  289.     ANSIrez is not a Public Domain program and as such is NOT "Shareware."
  290.  
  291.     This version of ANSIrez is a limited, 50 run version of the full
  292.     ANSIrez program.  It may be distributed for evaluation purposes by
  293.     BBS Sysops only, without a fee.  It is fully functional and is not
  294.     demo-ware or cripple-ware. I prefer the term "EVALUATION-WARE."
  295.  
  296.     ANSIrez(tm) is Copyright 1992 by Fred Bertagnolli, the sole author
  297.     and owner of the program, accompanying documentation, and scanning
  298.     methods/algorithms used by this program.
  299.        
  300.     Non-registered users of ANSIrez are granted limited use of the program.
  301.     You are granted a limited software license to run the program 50 times.
  302.     The program will currently run only 50 times, for evaluation purposes
  303.     only.  After 50 times, you must pay for the program by registration.
  304.     You are granted permission to install this program on only one machine,
  305.     and you may install it only once.  Commercial users must register.
  306.  
  307.     ANSIrez may NOT be modified in any respect, for any reason, including
  308.     but not limited to, de-compiling, disassembling, reverse engineering,
  309.     or changing text in the ANSIrez.EXE program, program files or 
  310.     any accompanying documentation.
  311.  
  312.     Use of this software is just like a book, in that the software
  313.     may be used only by one person at a time, provided there is no
  314.     possibility of two people using the software at the same time.
  315.        
  316.     Registered owners of the software license may make one backup
  317.     copy of ANSIrez for archival purposes only, and to protect your
  318.     investment from loss.
  319.  
  320.     Registered owners of the ANSIrez software license are forbidden
  321.     from sharing information or passwords which allow non-registered
  322.     users to upgrade the software.  Release of your registered password
  323.     shall be interpreted as a violation of U.S Copyright Laws, intent to
  324.     defraud the author of his copyright to the ANSIrez program, and
  325.     cancels your software license agreement.
  326.  
  327.     The software license is non-transferable.  The limited software
  328.     license is non-transferable.  You may not sell the software
  329.     license after registration.
  330.  
  331.  
  332.                                      -6-
  333.  
  334.  
  335.  
  336.  
  337.                            ┌─────────────────────┐
  338.                            │ Distribution Policy │
  339.                            └─────────────────────┘
  340.      BBS SYSOPS:
  341.  
  342.      BBS Sysops may distribute only the limited run version of ANSIrez,
  343.      provided  NO  DISTRIBUTION  FEES  of any kind are charged and also
  344.      provided the ANSIrez ZIP archive and files it contains have not
  345.      been altered in any way.  You may only distribute the original
  346.      ANSIrez ZIP archive.  Thank you for making it available to your
  347.      users.  BBS subscription fees are exempt from this clause.
  348.  
  349.  
  350.      CD-ROM manufacturers/distributors:     A T T E N T I O N
  351.  
  352.      Distribution of ANSIrez on CD-ROM media is forbidden, without a
  353.      written agreement between the distributor, CD-ROM maker and Fred
  354.      Bertagnolli.  The selling or distribution of CD-ROM media
  355.      containing this program violates the copyright of Fred Bertagnolli.
  356.        
  357.      Shareware distributors for profit:     A T T E N T I O N
  358.  
  359.      "Shareware" distribution firms or other commercial firms who
  360.      distribute programs for profit are expressly forbidden from
  361.      distributing ANSIrez on any media without a written agreement
  362.      between the shareware distributor and Fred Bertagnolli.
  363.  
  364.      The selling of any media containing this program violates the
  365.      copyright of Fred Bertagnolli.  Reason:  CD-ROMs and Shareware
  366.      are being distributed at a profit.  They are selling the work
  367.      of shareware authors, but do not compensate the authors who are
  368.      the source of the material they gather and sell.
  369.  
  370.  
  371.  
  372.                              ┌──────────────┐
  373.                              │  Disclaimer  │
  374.                              └──────────────┘
  375.  
  376.  
  377.      No warranties or guarantees of any kind are implied or given for
  378.      use of the ANSIrez program or the accuracy of this document.
  379.  
  380.                 ***   Use this program at your own risk.  ***
  381.  
  382.      Fred Bertagnolli disclaims all warranties, expressed or implied.
  383.      In no event will Fred Bertagnolli be liable for any loss of profit
  384.      or other commercial damage, including but not limited to special,
  385.      incidental, consequential or other damages.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.                                      -7-         
  393.  
  394.  
  395.  
  396.  
  397.       
  398.       I can not guarantee ANSIREZ will work on with your equipment,
  399.       since this program uses a Graphic User Interface and because
  400.       some VGA cards may not be compatible with the VGA256.BGI
  401.       Borland graphics driver.
  402.  
  403.       If you have a problem with ANSIrez, please contact the author via
  404.       mail and describe the situation.  Please read all the documentation
  405.       first.   Honest criticism and suggestions are welcomed.  Requests
  406.       for changes or feature enhancements from registered users will be
  407.       given first priority.
  408.  
  409.  
  410.  
  411.              --------------------------------------------    
  412.  
  413.                    ┌─────────────────────────────────┐
  414.                    │      ANSIrez 50 Run Limit       │
  415.                    └─────────────────────────────────┘
  416.  
  417.   Shareware policies are generally ignored by almost everyone.  I have
  418.   written dozens of shareware/freeware programs.  To those honest people
  419.   who support shareware authors, you have my thanks and respect.
  420.  
  421.   Unfortunately, the only way to protect my investment in time and
  422.   hard work is to limit how many times ANSIrez will run.  50 times
  423.   should be enough.  Thank you very much for evaluating the program.
  424.   I hope you have some fun with the program.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.   Copyright issues:  If you use a GIF someone else created, you may
  434.                      be in violation of their copyright.  Use only
  435.                      PUBLIC DOMAIN GIF/PCX files with ANSIrez.
  436.  
  437.                      The author disclaims all responsibility for
  438.                      copyright violations of ANSI pictures made with
  439.                      ANSIrez.
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.                                      -8-
  451.  
  452.  
  453.  
  454.    
  455.  
  456.                  ┌──────────────────────────────────────┐
  457.                  │ INSTALLATION and Beginning Operation │
  458.                  └──────────────────────────────────────┘
  459.  
  460.     Read these instructions CAREFULLY before you install ANSIrez!
  461.     You may only install ANSIrez ONCE.
  462.  
  463.     Unzip the ANSIREZ1.ZIP archive to its own directory.  The directory
  464.     name is not important.  
  465.  
  466.     i.e.  MD ANSIREZ  
  467.           CD ANSIREZ 
  468.           PKUNZIP ANSIREZ1.ZIP \ANSIREZ
  469.  
  470.     You will need about 200K of free disk space.
  471.  
  472.     Always run ANSIrez.EXE from its own directory.  The program
  473.     will not run correctly if you are not in the ANSIREZ.EXE directoy.
  474.     
  475.     The VGA256.BGI graphics driver must be in the ANSIREZ.EXE directory.
  476.  
  477.     Run ANSIrez.EXE and answer the questions.  Be sure to remember
  478.     your PASSWORD.  If you forget your password, there is no way to
  479.     retrieve it.   The questions are not repeated so type carefully,
  480.     and please use your real NAME.  You will have to see this NAME
  481.     again.  You will not be able to change this information.
  482.  
  483.     Type in your PASSWORD. Check the run counter.  It starts at 50.
  484.  
  485.     I have included a sample ANSIrez.SCR and ANSIrez.PAL file to get
  486.     you started.  You create your own ANSIrez.SCR and ANSIrez.PAL
  487.     using the TSR AREZCAP program and your GIF viewing program. 
  488.  
  489.     ANSIrez.SCR, 64000 bytes and ANSIrez.PAL, 768 bytes are the captured
  490.     screen image and palette in raw form. 
  491.  
  492.  
  493.                      ┌──────────────────────────┐
  494.                      │ USE of the MOUSE BUTTONS │
  495.                      └──────────────────────────┘
  496.  
  497.  
  498.     Press the LEFT  MOUSE BUTTON to activate a graphic pushbutton.
  499.  
  500.     Press the RIGHT MOUSE BUTTON to CANCEL or RETURN to a menu, in
  501.     ALL cases requiring the mouse arrow. 
  502.  
  503.     The LEFT BUTTON is always used for selecting a graphic pushbutton
  504.     or for pointing and dragging.
  505.  
  506.  
  507.  
  508.                                     -9-
  509.  
  510.  
  511.  
  512.  
  513.  
  514.                          ┌──────────────────┐
  515.                          │  THE COLOR MENU  │
  516.                          └──────────────────┘
  517.  
  518.     On startup, the screen is drawn and you see:
  519.  
  520.    ┌─────────┬───────┬────────┬──────┬──────┐
  521.    │  COLOR  │ Level │ Thresh │ Mono │ Next │
  522.    └─────────┴───────┴────────┴──────┴──────┘
  523.     
  524.     Press the LEVEL BUTTON first.
  525.  
  526. THE LEVEL BUTTON:
  527.  
  528.     Push the LEVEL BUTTON and the color BOOST menu appears.  Here you
  529.     may adjust the color level of ANSI colors.
  530.  
  531.     You are adjusting the original colors remapped to 16 ANSI colors.
  532.  
  533.     You should ALWAYS check the color Level before moving on.
  534.  
  535.                         ┌──────────────────┐
  536.                         │  THE BOOST MENU  │
  537.                         └──────────────────┘
  538.  
  539.     The following menu appears briefly, to remind you which keys to
  540.     press.  This portion of the program requires key pressing and does
  541.     not use the mouse.  Pushbutton colors would conflict with the
  542.     on-screen color mapping.
  543.  
  544.     As soon as you push  A a  R r  G g  or B b the menu disappears.
  545.  
  546.     Any other key returns to the COLOR menu.
  547.  
  548.    ┌───────────┬────────────────────────────┐
  549.    │  Boost +- │   Aa    Rr   Gg   Bb       │
  550.    └───────────┴────────────────────────────┘
  551.  
  552.    A  key boosts intensity of ALL RGB colors in 5% increments
  553.    a  key lowers intensity of aLL RGB colors in 5% decrements
  554.  
  555.    R  boosts only the Red portion of the RGB colors in 5% increments
  556.    r  lowers only the red portion of the RGB colors in 5% decrements      
  557.  
  558.    G  boosts only the Green portion of the RGB colors in 5% increments
  559.    g  lowers only the green portion of the RGB colors in 5% decrements
  560.  
  561.    B  boosts only the Blue portion of the RGB colors in 5% increments
  562.    b  lowers only the blue portion of the RGB colors in 5% decrements      
  563.  
  564.    You may have to press these keys many times to see any changes.
  565.  
  566.  
  567.                                      -10-       
  568.    
  569.  
  570.  
  571.  
  572.    Experiment with BOOSTing by pressing the 'A' or 'a' key, many times.
  573.    You can saturate the screen to almost all white or remove colors
  574.    until the screen is black.  You are looking for the best "BREAK"
  575.    point, that is appealing to you.  "PSEUDO COLORING" (false coloring)
  576.    is possible.  Do not over saturate the image with color.  Scans are
  577.    improved by using low intensity ANSI colors.
  578.  
  579.  
  580.    BOOSTING is an ADDITIVE and SUBTRACTIVE process.  Trying adding a lot
  581.    of Blue with 'B' and subtracting rED with 'r'.  You can come back to
  582.    the original colors by pressing the 'a' to remove all the color, then
  583.    press the 'A' key to bring the color levels back up.
  584.  
  585.    All BOOSTING is based on the RGB color model, by remapping the
  586.    original 256 GIF palette to the 16 available ANSI colors.
  587.  
  588.    After you have adjusted the colors, press any other key to return
  589.    to the COLORS menu.  You can come back again to check the level.
  590.  
  591.    REMEMBER: The colors on screen will not appear as TRUE ANSI colors,
  592.              until you have pressed Aa Rr Gg or Bb, because menu buttons
  593.              temporarily reset some of the colors.
  594.  
  595.  
  596. THE THRESH BUTTON:
  597.  
  598.    You may only press this button once.  It stands for THRESHOLD.
  599.    Thresholding makes bright colors brighter and dark colors darker.
  600.    It can improve the ANSI color contrast of an image.  Press the
  601.    THRESH button, then the LEVEL button followed by Aa Rr Gg Bb to
  602.    see the results of THRESHOLDING and adjust the colors some more.
  603.  
  604.    Thresholding seems to bring out FLESH tones a little better on
  605.    images I tried.  After thresholding, the range of possible color
  606.    adjustment is considerably lessened.
  607.  
  608. THE MONO BUTTON:
  609.  
  610.    You may only press this button once.  It converts the palette to
  611.    MONOCHROME shades of ANSI colors...  Press the LEVEL BUTTON followed
  612.    by Aa Rr Gg Bb to see the results.  You can still boost the colors
  613.    to be more red, green, or blue.
  614.  
  615. THE NEXT BUTTON:
  616.  
  617.     This is your only option to continue. It brings up the SCALE menu. 
  618.     You will see a line drawn from top to bottom.  ANSIrez is remapping
  619.     the screen colors to be ANSI colors.
  620.  
  621.     You will see a NEXT button in all the menus.
  622.     
  623.     Pressing NEXT always skips to the next operation.
  624.  
  625.  
  626.                                      -11-
  627.  
  628.  
  629.  
  630.  
  631.  
  632.                            ┌─────────────────┐
  633.                            │ THE SCALE MENU  │
  634.                            └─────────────────┘
  635.  
  636.   ┌────────┬────┬────┬────┬─────┬──────┐
  637.   │ SCALE  │ 2x │ 3x │ 4x │ Box │ Next │
  638.   └────────┴────┴────┴────┴─────┴──────┘
  639.  
  640. 2x  3x and 4x BUTTONS:
  641.  
  642.    These bring up a single box that can be dragged to the area you want
  643.    to scale by 2 times, 3 times or 4 times.  Drag the box and push
  644.    the LEFT mouse button to scale the enclosed area or push the RIGHT
  645.    mouse button to abort/cancel.
  646.  
  647.    4x makes big fat pixels, (4x4 to be exact) The scanner does a good
  648.    job of converting exact 4x images, and will then only use ▄ ▀ in the
  649.    scan.
  650.  
  651.    The scanner has a little more trouble converting exact 3x and 2x
  652.    scaling.   Some images can be converted without any scaling.   It is
  653.    best to make the area of interest as large as possible.
  654.  
  655. BOX BUTTON:
  656.  
  657.    This is a dynamic scaling command.  Pick two opposite box corners,
  658.    then pick two more opposite box corners.   The first box will be
  659.    scaled into the second box.  Experiment with this.  You may press
  660.    the RIGHT mouse button to abort.
  661.  
  662.    BOX scaling can distort the image, so it is a good idea to keep both
  663.    pick boxes relatively rectangular. (same proportions as the screen)
  664.    BOX scaling can also be used to make the area of interest wider, which
  665.    may improve the scan.
  666.  
  667.  
  668.    Example:  Draw the first box around a portion of the image, then
  669.              draw the second box at full screen size, for zooming.
  670.  
  671.  
  672.    SCANNER HINT:  "THINK BIG"   Always make the area of interest as
  673.                   large as possible for better scans.
  674.  
  675.  
  676.    SCANNER HINT:  Exact 4x scaling works the BEST when scanned, giving
  677.                   a near perfect scan, but at the expense of horizontal
  678.                   resolution.  The FILTERS (next operation) will not
  679.                   do anything if the image is exactly scaled to 2x or 4x.
  680.  
  681.    
  682. THE NEXT BUTTON: takes you to the FILTER menu.
  683.    
  684.  
  685.  
  686.                                      -12-
  687.  
  688.  
  689.  
  690.  
  691.                            ┌───────────────┐
  692.                            │  FILTER MENU  │
  693.                            └───────────────┘
  694.  
  695.   Filtering is optional.   Using it effectively requires some
  696.   experimenting.  Filtering can remove noise or enhance thin lines.
  697.   Only ONE type of filtering option can be applied to the image,
  698.   because it sets the pixels in 2x2 blocks or 4x4 blocks of color.
  699.  
  700.   A "KEEP CHANGES" menu appears after applying a filter.
  701.  
  702.   Tech note: The term FILTER here, is not a typical image processing
  703.   3x3 KERNEL, if you are familiar with that term.  It is similar but
  704.   works on a 2x2 block of pixels.  This filtering was determined by
  705.   experimentation to give the best results when scanned and to help
  706.   the pattern recognition routines.
  707.  
  708.  
  709.   SCANNER HINT:  Filtering will NOT change an image already scaled
  710.                  exactly to 2x or 4x, since the pixels are already
  711.                  grouped as 2x2 blocks.
  712.                  
  713.  
  714.   SCANNER HINT:  Filtering may help on unscaled screens, 3x screens,
  715.                  and BOX scaled screens.  I recommend using a filter
  716.                  after using an exact 3x scale or after using BOX
  717.                  scaling.  
  718.  
  719.   ┌────────┬─────────┬───────┬───────┬─────┬──────┐
  720.   │ FILTER │  Median │ Blend │ Brite │ 4x4 │ Next │
  721.   └────────┴─────────┴───────┴───────┴─────┴──────┘
  722.  
  723. MEDIAN FILTER BUTTON:   Averages 2x2 blocks.  Tends to remove spot noise
  724.                         from the image.  Useful for REMOVING thin lines
  725.                         lines from the image.
  726.                        
  727.  
  728. BLEND  FILTER BUTTON:   Blends or Mixes the pixels into 2x2 blocks,
  729.                         like an artist mixes paint.  This filter     
  730.                         can add shading on some images. 
  731.  
  732.  
  733. BRITE  FILTER BUTTON:   Uses the highest intensity pixel in a 2x2 area
  734.                         and sets the 2x2 block.  Tends to remove noise
  735.                         but also fills in.  Very useful for ENLARGING
  736.                         thin lines on dark backgrounds. 
  737.  
  738. 4x4    FILTER BUTTON:   Not really a filter.  It scales the image to be
  739.                         fat 4x4 pixels.  If you are viewing an exact 4x
  740.                         scale, nothing happens.
  741.  
  742.  
  743. The NEXT BUTTON brings up the PAINT menu.
  744.  
  745.                                      -13-
  746.  
  747.  
  748.  
  749.  
  750.                               ┌────────────────┐
  751.                               │ THE PAINT MENU │
  752.                               └────────────────┘
  753.  
  754.   ┌─────────┬───────┬────────┬─────┬──────┐    ┌──────┐
  755.   │  PAINT  │ Color │  Fill  │ Box │ Line │ ██ │ Next │
  756.   └─────────┴───────┴────────┴─────┴──────┘    └──────┘
  757.  
  758. THE COLOR BUTTON:
  759.  
  760.     Allows you to select the current painting color.  The current
  761.     painting color is shown in the ██ box and is used by
  762.     Fill, Box, and Line commands.
  763.  
  764.     Press COLOR and 16 color buttons are drawn.
  765.  
  766.     LOW   shows the low  intensity ANSI colors.
  767.     HIGH  shows the high intensity ANSI colors.
  768.  
  769.     Press the LEFT mouse button to select the color.  The current
  770.     color is shown as a "pressed-in" button.
  771.  
  772.  NOTE: HIGH and LOW color intensities.
  773.  
  774.     HIGH and LOW are shown, since you need to be aware the program
  775.     cannot make an ANSI color match with HIGH color attributes
  776.     set for both foreground and background.
  777.  
  778.     This means, if the pattern the program finds is a ▄ and both
  779.     the foreground and background colors are of HIGH intensity,
  780.     that pattern cannot be created, since IBM computers do not
  781.     allow this HIGH/HIGH combination in text mode.  SEE SCAN for
  782.     more explanation.
  783.  
  784.     Images with mostly low intensity colors seem to scan better.
  785.     Low intensity backgrounds made with Fill improve the scan quality,
  786.     and reduces reduces HIGH intensity conflicts.
  787.  
  788.     SEE SCAN for more explanation.
  789.      
  790. THE FILL BUTTON:
  791.  
  792.     This button allows FLOOD FILLING of pixels with the current
  793.     painting color.  Pick the color you want to change on screen
  794.     with the LEFT mouse button.  The RIGHT mouse button cancels the
  795.     fill command.
  796.  
  797.     Flood filling is intensive.  Be careful.  It is best to draw
  798.     a black line around the area to filled first, to separate that
  799.     area from the rest of the image.  Experiment.  Use the line command
  800.     for small areas.
  801.  
  802.     Flood filling is especially useful for changing background
  803.     colors to a low intensity color.   A "KEEP CHANGES" menu allows
  804.     you to undo the fill if you make a mistake.
  805.  
  806.  
  807.                                      -14-    
  808.  
  809.  
  810.  
  811.  
  812. THE BOX BUTTON:
  813.  
  814.     This command allows filling in a rectangle with the current
  815.     painting color.  Pick two box corners and the rectangular area
  816.     will be filled in with the current painting color.
  817.  
  818.     SCANNER HINT:  BOX filling is useful for erasing large areas
  819.                    of the screen with BLACK.
  820.  
  821. THE LINE BUTTON:
  822.  
  823.      This button allows drawing multiple connected lines with the
  824.      current painting color.  The lines are thick, to help the
  825.      scanner recognize them.
  826.  
  827.      SCANNER HINT:   The thicker the line, the better chance the
  828.      scanner has of recognizing it.  Diagonal lines are not scanned
  829.      with great quality, but LINES are useful for separating/outlining
  830.      areas of interest from the background color. 
  831.  
  832.      Press the LEFT mouse button to start and end a line.   Press
  833.      the RIGHT mouse button to move to a different location, then
  834.      press the LEFT mouse button again to continue drawing lines.
  835.      Press the RIGHT mouse button twice to cancel/abort to the
  836.      paint menu.
  837.  
  838.      SCANNER HINT:  Simple ANSI drawings can be created by first
  839.      erasing the whole screen with the BOX fill command, then drawing
  840.      lines, then filling the areas in with color.  Try drawing a house
  841.      or something simple, just for fun.  You will get a better idea
  842.      of how ANSIrez works.
  843.  
  844.  
  845.  ██  Indicates the current painting color used by FILL, BOX, and
  846.      LINE buttons.  This is not a pushbutton.
  847.  
  848.  
  849. THE NEXT BUTTON brings up the SCAN menu.
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.                                      -15-
  867.  
  868.  
  869.  
  870.  
  871.                             ┌────────────────┐
  872.                             │ THE SCAN MENU  │
  873.                             └────────────────┘
  874.  
  875.   ┌─────────┬─────────┬────────┐          ┌──────┐
  876.   │  SCAN   │    ▒    │   ▄▀   │          │ Quit │
  877.   └─────────┴─────────┴────────┘          └──────┘
  878.  
  879. THE  ▒  BUTTON:
  880.  
  881.   This button starts the pattern recognition scanning and creates
  882.   AREZ.ANS.  This option here is for using the ▒  character when HIGH
  883.   foreground and HIGH background intensity conflicts occur.
  884.   (also mentioned in the painting menu)
  885.  
  886.   Normally, use this button for best results.
  887.  
  888.   If the scanner sees HIGH/HIGH colors it will replace the pattern it
  889.   finds with the ▒ character as a HIGH/LOW color attribute. 
  890.  
  891.   When finished, (about a minute, be patient) the AREZ.ANS scan is
  892.   TYPED.   You should have ANSI.SYS installed to see AREZ.ANS.
  893.  
  894.   AREZ.ANS is overwritten each time you make a scan.  You may need
  895.   to scan an image several times with different settings to get the
  896.   best effect.  THINK BIG for best results.
  897.  
  898.  
  899. THE  ▄▀  BUTTON:
  900.  
  901.    This button starts the pattern recognition scanning and creates
  902.    AREZ.ANS.  It ignores HIGH/HIGH conflicts and sets the color to
  903.    HIGH/LOW if an intensity conflict occurs.  Try this command if
  904.    you do not like the scan made with the ▒ button.
  905.  
  906.    Example... 
  907.  
  908.    ANSIrez finds a HIGH INTENSITY YELLOW on a HIGH INTENSITY RED pattern.
  909.    It will use either BROWN on HIGH INTENSITY RED or YELLOW on LOW
  910.    INTENSITY RED, depending on the pattern it finds.  IBM equipment
  911.    will not display HIGH foreground/HIGH background character attributes.
  912.  
  913.    When finished, (about a minute, be patient) the AREZ.ANS scan is
  914.    TYPED.  You should have ANSI.SYS installed to see AREZ.ANS.
  915.    
  916.  
  917.  
  918.  
  919.  
  920. THE QUIT BUTTON:   Exits the scanner without making AREZ.ANS.   The run
  921. counter on the unregistered 50 run version will always be reduced by one.     
  922.  
  923.  
  924.  
  925.                                      -16-
  926.   
  927.  
  928.  
  929.  
  930.  
  931.                      ┌─────────────────────────────┐
  932.                      │ ANSIrez PATTERN RECOGNITION │
  933.                      └─────────────────────────────┘
  934.  
  935.  ANSIrez scans the image in 4 horizontal x 8 vertical pixel blocks.
  936.  Shown:  4x8 block with ASCII patterns used by ANSIrez.
  937.  
  938.   4 x 8 Grid     220       223       221     254      22        32
  939.    ┌─┬─┬─┬─┐  ▄▄▄▄▄▄▄▄             ▄▄▄▄  
  940.    ├─┼─┼─┼─┤  ████████             ████ 
  941.    ├─┼─┼─┼─┤  ████████             ████     ████
  942.    ├─┼─┼─┼─┤  ▀▀▀▀▀▀▀▀  ▄▄▄▄▄▄▄▄   ████     ████   
  943.    ├─┼─┼─┼─┤            ████████   ████     ████    █████
  944.    ├─┼─┼─┼─┤            ████████   ████             █████
  945.    ├─┼─┼─┼─┤            ████████   ████               
  946.    └─┴─┴─┴─┘            ▀▀▀▀▀▀▀▀   ▀▀▀▀
  947.  
  948.  A 320x200 image can then have 80 characters horizontally and 25 chars
  949.  vertically.  ANSIrez uses █ ▄ ▀ ▌▐ ■  as pattern matching characters
  950.  that fit into the 4x8 pixel group.
  951.  
  952.  It scans each 4x8 block many times trying to find the best match by
  953.  determining the number of colors that best fits the fore and background
  954.  pattern.
  955.  
  956.  If it cannot find a pattern, it will use the space character or █
  957.  character and the most common color in the 4x8 area.
  958.  
  959.  Please understand this is a limited pattern set.  It is too bad IBM did
  960.  not include more block type characters in the extended ASCII set.  They
  961.  would be extremely useful in scanning.  As it is, we are stuck with
  962.  the current set.  Yes, it is possible to use custom character sets
  963.  in EGA and VGA cards, but this is not universally available.  Testing
  964.  showed poor results with other characters, such as the line drawing
  965.  extended ASCII set.
  966.  
  967.  All things considered, scanning images to ANSI with this program requires
  968.  a good image to start with, a good eye, some skill, and some luck.
  969.  
  970.  If you don't like the output, try scanning again at a different
  971.  scale or with lower intensity colors.  You can always edit
  972.  small details with TheDraw.  Some images will not scan well at all,
  973.  so try to be practical.
  974.  
  975.  Use TheDraw 4.51 to edit the AREZ.ANS file.  Most scans can be 
  976.  improved with a little touching up.
  977.  
  978.  PCBOARD BBS SYSOPs:  Get TDXL-3.ZIP (by me) for converting ANSI to
  979.  PCBoard @X codes.  Couldn't resist the plug!
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.                                      -17-
  988.  
  989.  
  990.  
  991.       ┌──────────────────────────────────────────────────────────┐
  992.       │  Using the AREZCAP.EXE TSR Screen Image Capture Utility  │
  993.       └──────────────────────────────────────────────────────────┘
  994.  
  995.  1. ALWAYS install AREZCAP from the DOS command line, and NEVER from a
  996.     DOS shell.
  997.  
  998.  2. Install AREZCAP when you want to capture a GIF or PCX from a
  999.     viewer for ANSIrez processing.
  1000.  
  1001.  3. Install AREZCAP.EXE from the ANSIrez directory.  AREZCAP will
  1002.     save ANSIREZ.SCR and ANSIREZ.PAL to the drive and directory it
  1003.     was loaded from, automatically.  
  1004.  
  1005.  4. Do not have any other TSR's loaded while using AREZCAP.  Other TSRs
  1006.     can cause problems.
  1007.  
  1008.  5. After loading AREZCAP.EXE it will tell you to press CTRL-T, when
  1009.     viewing a GIF or PCX file, in 320x200x256 mode, with your GIF viewer.
  1010.     Press CTRL-T, after the image has been drawn, and AREZCAP will save
  1011.     the raw screen image and color palette to ANSIrez directory.  
  1012.  
  1013.  6. Hard disk activity (the drive light goes on) is the only indication
  1014.     AREZCAP is saving the information.
  1015.  
  1016.  7. Exit your viewer and run ANSIREZ.EXE to scan the image to ANSI.
  1017.  
  1018.  8. You may remove AREZCAP from memory by typing...  AREZCAP QUIT 
  1019.     from the DOS command line, and never from a DOS shell.
  1020.  
  1021.  I recommend a viewing program called CSHOW  (CSHOW option 8) but
  1022.  there are many other viewing programs available.  In CSHOW, select
  1023.  option 8 for viewing in 320x200x256 mode, let the image come up,
  1024.  then press CTRL-T to save it.  Hold the CONTROL KEY DOWN and press
  1025.  the T key at the same time.
  1026.  
  1027.  If your viewing utility will not display other GIF/PCX resolutions in
  1028.  320x200x256 mode, there are utilities which convert them to smaller
  1029.  resolutions.  SQZGIF comes to mind.
  1030.  
  1031.  AREZCAP checks to see if you are viewing in VGA Video Mode 13 Hex
  1032.  before it will save ANSIrez.SCR and ANSIrez.PAL.  If your card uses
  1033.  Mode 13 Hex for other purposes, be sure you are viewing at 320x200x256,
  1034.  before pressing CTRL-T, or you may save information that is meaningless
  1035.  to ANSIrez. 
  1036.  
  1037.  If AREZCAP will not work with a particular viewing utility for some
  1038.  reason, try a different GIF viewing program. 
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.                                      -18-  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  The TSR method of saving screens eliminates the problem of writing GIF
  1051.  and PCX conversion routines. 
  1052.  
  1053.  It keeps the program smaller and gives you more variety in the types of
  1054.  320x200x256 graphic files you can process with ANSIrez.
  1055.  
  1056.  ANSIrez and AREZCAP are not compatible with Windows, DesqView, and
  1057.  networked machines.
  1058.  
  1059.  Brands and product names mentioned in this document are trademarks or
  1060.  registered trademarks of their respective holders or companies.  The
  1061.  author is not affiliated with any of these companies.
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  End of Document
  1071.  
  1072.  ANSIrez(tm) Copyright 1992     Fred Bertagnolli     All Rights Reserved
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.                                      -19-
  1105.  
  1106.  
  1107.  
  1108.