home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / graf / vpic.zip / VPIC.DOC < prev    next >
Text File  |  1990-11-24  |  46KB  |  931 lines

  1.                          VPIC USERS MANUAL
  2.                A Picture File Viewing/Conversion Program
  3.         (C) Copyright 1990 Bob Montgomery, All Rights Reserved
  4.                         by Bob Montgomery
  5.                           CIS 73357,3140
  6.  
  7. INTRODUCTION
  8. Background
  9.  
  10. The original program was called VGIF, reflecting its ability to view only GIF
  11. files. When the program evolved to include other paint file formats, its name
  12. was changed to VPIC. A configuration program (CVPIC.EXE) is also supplied to
  13. configure VPIC to your VGA board. See the revision history in Appendix A for
  14. latest additions and bug fixes.
  15.  
  16. Print VPIC.TXT at 17 chars/inch and 8 lines/inch for a handy reference card.
  17. Look at the section titled 'How Vpic Operates' for an explanation of the
  18. differences between VPIC and other viewers, and the advantages and
  19. disadvantages of both types.
  20.  
  21. IMPORTANT: VPIC requires DOS 2.0 or up to run from current directory, or DOS 3.0
  22. up to run from anywhere. You must configure VPIC for your graphics board using
  23. CVPIC or CONFIG (unless you have an Orchid Designer VGA with 512 K).
  24.  
  25. The Graphics Interchange Format (GIF) is a Service Mark owned by Compuserve
  26. Incorporated. For further information, please contact:
  27.     Compuserve incorporated, Graphics Technology Department,
  28.     5000 Arlington Center Boulevard, Columbus, Ohio 43220, USA
  29.  
  30. GENERAL FEATURES
  31. VPIC is a file viewer for EGA, MCGA, VGA and SuperVGA, and has the following
  32. features:
  33.   *  Views the following file formats in EGA, MCGA, VGA, or SuperVGA:
  34.      1. Dr. Halo CUT files (with PAL if present). Not Dr. Halo PIC files.
  35.      2. GIF files.
  36.      3. Deluxe Paint LBM (or IFF) files, regular and enhanced.
  37.      4. MAC files.
  38.      5. Pictor/PC Paint PIC files.
  39.      6. ZSoft PCX files (including 256 color files).
  40.      7. ColorRIX/EGA Paint SCx files.
  41.      8. Targa 8 thru 32 TGA files, comressed or uncompressed.
  42.      9. Binary Image Files (BIF) from B&W image capture boards.
  43.  
  44.   *  Saves current image to any of the above formats (except MAC, FRA, BIF, and
  45.      IFF) in the current mode (EGA, MCGA, or VGA). Also uncompresses TGA files.
  46.  
  47.   *  Saves current image to GIF in regular, interlaced, inverted, mirrored,
  48.      or rotated 90 degrees CW or CCW. Great for scans.
  49.  
  50.   *  Configurable for display boards using Tseng3000 and Tseng4000, Paradise,
  51.      Everex, ATI, Trident, C&T, Video 7, Genoa, Zymos, or Ahead (B) VGA chips
  52.      (see configuring VPIC below); the Ahead A chip used on some early boards is
  53.      not supported. Configuration program automates the configuration process.
  54.  
  55.   *  /R option allows an application program to show a file and regain control
  56.      without changing the screen mode.
  57.  
  58.   *  Viewing mode can be manually selected or auto selected from menu.
  59.  
  60.   *  Allows you to specifiy a new path from the menu with the [F9] key. Also
  61.      updates menu when files are added or deleted.
  62.  
  63.   *  Very fast GIF decoding.
  64.  
  65.   MENU FEATURES:
  66.   *  Mark/unmark files for viewing with [SPACEBAR].
  67.   *  Menu text color setable in configuration file.
  68.   *  [F1] gives help.
  69.   *  [F2] shows marked files like a slideshow.
  70.   *  [F3] gives file size and colors.
  71.   *  [F4] toggles between EGA and VGA mode.
  72.   *  [F5/F6] decrease/increase default resolution.
  73.   *  [F7] Locks current resolution, or selects auto resolution mode.
  74.   *  [F8] Makes multiple GIF images pause for a keypress.
  75.   *  [F9] prompts for new path.
  76.   *  [F10] shows current path for files.
  77.   *  Shows marked files singly or like a slide show.
  78.   *  Handles up to 500 files.
  79. ==============================================================================
  80.   VIEWING FEATURES
  81.   *  Help while viewing with / or ? key.
  82.   *  Shows filename while decoding, and [ESC] aborts decoding.
  83.   *  Allows deleting a file (with query) with the [Alt-X] key.
  84.   *  Allows adjustment of picture color and VGA contrast and brightness.
  85.   *  Allows saving the current image as a GIF (many options), PC Paint or
  86.      Pictor, ZSoft PCX, ColoRIX or EGA Paint, Targa 16, Dr. Halo CUT, and
  87.      Deluxe Paint II formats in EGA, MCGA, or VGA.
  88. =============================================================================
  89. RUNNING VPIC
  90. Command Format: vpic [[path]filespec][/a][/e][/r][/c][/w][/?].
  91.   *  The default path is the current directory, and the default extensions are
  92.      CUT, GIF, IFF, LBM, MAC, PIC, PCX, SCx, and TGA.
  93.   *  The /a option starts VPIC in Auto resolution select mode.
  94.   *  The /b option causes VPIC to beep after displaying a file except in slide
  95.      mode or /r.
  96.   *  The /c option gives the current configuration; see 6 below.
  97.   *  The /e option forces EGA mode, to use extended 16 color modes; see 5 below.
  98.   *  The /h option allows the viewing of hidden files.
  99.   *  The /r option returns control to a calling program; see 4 below.
  100.   *  The /w option wait for a keypress after each image in a multi_image GIF
  101.      file.
  102.   *  The /? option gives a help screen.
  103.   *  If filespec is a filename, the single file will be shown (the default
  104.      extension is GIF).
  105.   *  If path\filespec is a directory, a menu of all viewable files in that
  106.      directory will appear. Otherwise all files meeting the filespec will
  107.      appear. For example, [vpic d:\pics\*.pcx] would give a menu of all PCX
  108.      files in the PICS directory of drive D, while [vpic d:\pics] would give a
  109.      menu of all viewable files in the PICS directory of drive D.
  110.   *  Options and filespec may be entered in any order.
  111.  
  112. EXAMPLES OF VPIC COMMANDS
  113.     1. VPIC [path\]filename[.ext] shows the file specified. The default path is
  114.        the current directory, and the default extension is GIF.
  115.  
  116.     2. VPIC [path\][filespec] to get a menu of all files in the specified path
  117.        meeting filespec (may contain wildcards). The default path is the current
  118.        directory, and the default filespec is any of the viewable files; just
  119.        entering VPIC will give a menu of all viewable files in the current
  120.        directory. Shows whether VGA or EGA and modes supported in upper left
  121.        corner. If Path contains . or .., a filespec must be given (may contain
  122.        wildcards). Thus ..\*.* would give a menu of all viewable files in the
  123.        parent of the current directory.
  124.  
  125.     3. VPIC /@[path\]slidefile[.ext]  to do a slide show from commands in a
  126.        slidefile. The default path is the current directory, and the default
  127.        slidefile extension is SLD. The commands are placed on seperate lines,
  128.        and consist of either:
  129.        a. A filename (GIF extension assumed) and optional:
  130.           1. Display mode (number) and/or
  131.           2. Animate command (a followed by optional number with no spaces).
  132.        b. A delay (viewing time) spec of the form  d n (space required) where n
  133.           is the desired viewing time in seconds.
  134.  
  135.        The maximum number of files is 100. The number following the optional 'a'
  136.        is the number of vertical retraces between animation steps. The default
  137.        value is 8 (if no number follows the 'a'). The mode is explained below.
  138.  
  139.        The default viewing time is 5 seconds if no delay spec is given; a delay
  140.        spec applies to all files following in the slide file until changed. The
  141.        first slide is not delayed the first time it is shown. The default
  142.        viewing mode is whatever would look best.
  143.  
  144.        VPIC understands comments preceded by a semicolon, blank or comment
  145.        lines, and extra spaces. For example, the following slide file contents
  146.        are understood by VPIC, but not recommended:
  147.  
  148.        d 20         ;Delay for file1.gif & file2.pcx is 20 seconds.
  149.        file1  1     ;First file in slideshow. File1.gif using mode 1.
  150.           file2.pcx ;This is a ZSoft filename with leading spaces.
  151.           ;This is a comment line with leading spaces, next is a blank line.
  152.  
  153.        d 10         ;File3 is delayed 10 seconds.
  154.        file3 a30    ;Show file 3, animate at 1 shift every 30 vertical retraces.
  155.           d      15 ;15 second delay file4.gif. Has leading & separator spaces.
  156.        file4        ;Show file4.gif, then do a 20 second delay for file1.gif.
  157.  
  158.        To end a slide show after the current picture, press any key. [ESC] ends
  159.        it immediately.
  160.  
  161.        The mode requires a little further explanation. In the above slide file,
  162.        it says to use mode 1 with file1. Modes 1 thru 10 are the VGA (256 color)
  163.        modes, and modes 11 thru 20 are EGA (16 color) modes called out in the
  164.        configuration file. Most display boards only have a few of each type. The
  165.        Orchid Designer has 4 VGA modes and 4 EGA modes in the configuration file.
  166.  
  167.        The VGA modes are                  ║ The EGA modes are
  168.         1. 320x200x256     2. 640x350x256 ║ 11. 640x350x16     12. 640x480x16
  169.         3. 640x480x256     4. 800x600x256 ║ 13. 800x600x16     14. 1024x768x16
  170.  
  171.        Thus, the slide file says to show file1 in the 320x200x256 mode, and show
  172.        all the others in the default modes (whatever looks best). The CONFIG
  173.        program lists the modes and their corresponding mode numbers for you if
  174.        you highlight the configuration file for your board.
  175.  
  176.     4. VPIC /r shows the file and then returns to DOS (or a calling application
  177.        program) with the picture still on the screen in EGA/VGA. It is not
  178.        necessary to change the video mode between viewing each file, but it is
  179.        up to the calling program to reset text mode (mode 3) after all viewing
  180.        is done. The /e and /a switches are valid in this mode.
  181.  
  182.     5. VPIC /e forces and EGA display with VGA to use extended EGA modes.
  183.  
  184.     6. VPIC /c prints the current configuration of vpic. You can configure VPIC
  185.        to your display board using the CVPIC program and a text configuration
  186.        file describing your board.
  187.  
  188.     7. VPIC /a starts VPIC in auto resolution mode.
  189.  
  190.     8. VPIV /b causes VPIC to beep after a file has been fully decoded. Lets you
  191.        know when the viewing options are available. Doesn't beep in slide mode
  192.        or when using the /r option.
  193.  
  194.     9. VPIC /h allows VPIC to find and display hidden files. Great for those
  195.        R or X rated files you don't want to be normally accessible. This option
  196.        doesn't appear on the help screen.
  197.  
  198.     10. VPIC /?  gives a help screen.
  199.  
  200. CONFIGURING VPIC
  201. VPIC must be configured to run correctly with your display board. The
  202. configuration process tells VPIC:
  203.     1. The title you want for the menu.
  204.     2. What VGA chip you have, so it can use the proper bank switching routine.
  205.     3. How much memory you have (in 64K banks).
  206.     4. The menu color you want.
  207.     5. How to set the various modes you want to use.
  208.  
  209. There are numerous configuration files which come with VPIC, but there are so
  210. many boards out there that I can't list all of them. If a configuration file for
  211. your board isn't supplied, copy the closest one to a new filename (with
  212. extension .cfg) and use a text editor to modify it for your board. To configure
  213. VPIC, make sure that VPIC, CVPIC, CONFIG, and all the .CFG files are in the
  214. current directory.
  215.  
  216. If you aren't sure which VGA chip your board uses, you can remove the display
  217. board and look at the label on the large chip with leads coming out all for
  218. sides. Sometimes, you can tell without removing the board by using DEBUG (or
  219. Turbo Debugger, Codeview, or any debugger) and 'dumping' the contents of display
  220. BIOS. To do this, enter DEBUG at the DOS prompt and you will get a - prompt.
  221. Then enter d C000:0 to display the first part of display BIOS. You may recognize
  222. the chip manufacturers name here, such as Trident, Tseng, Paradise, etc. To exit
  223. DEBUG, just enter q.
  224.  
  225. MENU CONFIGURATION
  226. By running the CONFIG program, VPIC can be configured from a menu. CONFIG lists
  227. all the configuration files (with a .cfg extension) in the current directory,
  228. and shows you the contents of each as you move around the list using the cursor
  229. keys. ESCape aborts the CONFIG program without changing VPIC, and ENTER
  230. configures VPIC for the highlighted file. Pressing a letter key jumps to next
  231. filename starting with that letter (or number).
  232.  
  233. MANUAL CONFIGURATION
  234. You can use CVPIC to configure VPIC manually by entering
  235.          CVPIC [config_file[.ext]]
  236.     where the default configuration file is VPIC.CFG (which is for the Orchid
  237.     Designer VGA board with white menu text color) and the default extension is
  238.     .CFG.
  239.  
  240. THE CONFIGURATION FILES
  241. The default configuration of VPIC is for the Orchid Designer VGA card with
  242. 512K of display memory. If you have just EGA, you should use the EGA.CFG
  243. file. If you have plain vanilla VGA (ps/2 and model 50 with modes 10h, 12h, and
  244. 13h), use VGA.CFG. The meaning of each field is given in the various
  245. configuration files. You can make your own custom config file, or use one of the
  246. configuration files supplied. VPIC supports most of the popular boards using the
  247. Tseng (ET3000 and ET4000), Paradise, Everex, ATI, Trident (TVGA 8800 and
  248. TVGA 8900), C_T, Video 7, Ahead (B chip), Zymos (TVGA 8900), or Genoa VGA chips.
  249.  
  250. CONFIGURATION FILE (.CFG) FORMAT
  251. CVPIC ignores leading spaces in the file, and all characters after a semicolon
  252. are considered comments and ignored. The .CFG file contains the following lines,
  253. which can be up to 150 characters in length each:
  254.  
  255.     1. Board name, which will appear in the VPIC menu. This is user defineable,
  256.        and could be something like 'Joe's VGA Board'.
  257.  
  258.     2. VGA CHIP set, and should be TSENG, TSENG4, PARADISE, EVEREX, ATI, C_T,
  259.        VIDEO7, TRIDENT, AHEADB, GENOA, ZYMOS, or GENERIC presently; upper or
  260.        lower case is OK.
  261.  
  262.        TSENG - The TSENG is for the ET3000 chip and the TSENG4 is for the ET4000
  263.        chip from Tseng Labs.
  264.  
  265.        TRIDENT - The ZYMOS chip is really a Trident 8900, and you should use
  266.        this chip name in the config file if you have the Trident 8900 chip in
  267.        your VGA board and want to use normal 64 bank switching. The TRIDENT VGA
  268.        chip in the config file tells VPIC to use the older 128K bank switching
  269.        for the 8800 Trident chip. Either should work for the Trident 8900 chip.
  270.  
  271.     3. The number of 64K banks of display ram usable for pictures (1 for
  272.        standard VGA, 4 for 256K, 8 for 512K, 16 for 1M).
  273.  
  274.     4. Menu text color; 0 thru 7 corresponds to black, blue, green, aqua, red,
  275.        violet, brown, and white. For example, 4 would be red text.
  276.  
  277.     5 thru n. The following lines describe the modes supported by the board.
  278.       Each line is of the form: F1 F2 AX BX CX DX W H C  where:
  279.         *  F1 = VGA (256 color) mode flag.
  280.         *  F2 = 256K colors to choose from (as in mode 12h, 640x480x16) flag.
  281.         *  AX,BX,CX,DX  register values used to set this mode. Preceeding the
  282.            numbers by 0x indicates hex; ie., 0x10 = 16.
  283.         *  W, H, C  are width, height, colors in this mode.
  284.       All the VGA (256 color) modes should be grouped first, followed by the EGA
  285.       (16 color) modes.
  286.  
  287. COMMANDS IN MENU MODE
  288. Keyboard Commands in Menu Mode
  289.  
  290. 1.  The [up], [down], [right], and [left] arrow keys move the cursor around the
  291.     menu of files. [PgDn/PgUp] goto next/previous page. Pressing a key goes to
  292.     next file starting with this character.
  293.  
  294. 2.  Pressing the [SPACEBAR] marks a file for viewing or slides, and moves to the
  295.     next file; it will also unmark a previously marked file.
  296.  
  297. 3.  Pressing [ENTER] will display the marked files in the order they were
  298.     marked. If no files were marked, pressing enter displays the file at the
  299.     cursor.
  300.  
  301. 4.  Pressing [F1] will bring up the help screen; any key will return to the
  302.     menu.
  303.  
  304. 5.  Pressing [F2] will do a slide show of marked files until a key is pressed.
  305.  
  306. 6.  Pressing [F3] will display the file size and colors on the next to last
  307.     line.
  308.  
  309. 7.  Pressing [F4] will toggle between VGA and EGA modes.
  310.  
  311. 8.  Pressing [F5/F6] will decrease/increase the default resolution for files
  312.     larger than 320x200 in VGA.
  313.  
  314. 9.  Pressing [F7] goes to LOCK, which forces the default resolution (above) no
  315.     matter what the file size. Pressing F7 again goes to AUTO, which
  316.     automatically selects the resolution to display the picture. Pressing F7
  317.     again goes back to to the normal default mode.
  318.  
  319. 10. Pressing [F8] toggles the wait mode, where VPIC waits for a keypress between
  320.     multiple images in a GIF file.
  321.  
  322. 11. [F9] prompts for a new path\filespec, and displays a menu of the files in
  323.     the new path meeting the filespec.
  324.  
  325.  
  326. 12. [Alt_X] prompts if you want to delete the file at the cursor. [Y] deletes
  327.     it, [N] or ESC doesn't, and all other keys are ignored.
  328.  
  329. 13. Pressing [ESC] ends the program and returns to DOS.
  330.  
  331. 14. Pressing [Ctrl-Break] or [Ctrl-C] will get you directly to DOS.
  332.  
  333. All other keys are ignored. If errors are encountered, an error message appears
  334. on the next to last line, and disappears when the cursor is moved. The menu
  335. title is the search spec.
  336.  
  337. KEYBOARD COMMANDS IN VIEWING MODE (except in slide mode)
  338.  
  339. 1.  The up/down arrow keys will scroll the picture if longer than the screen,
  340.     provided you have sufficient display memory. The [PgUp] and [PgDn] keys will
  341.     scroll by 10 lines. The Video 7 extended VGA boards do not supported writing
  342.     to non-displayed memory or scrolling pics larger than the screen, so this
  343.     function is disabled for these boards.
  344.  
  345. 2.  If the picture size is <= 1/2 the screen width, pressing [2] will give a
  346.     double size image (which may be scrollable) and pressing [1] will give the
  347.     normal size again. For VGA, the picture will be changed only in the
  348.     horizontal direction; this will unsquash some 320x400 pics so the aspect
  349.     ratio is correct.
  350.  
  351. 3.  Pressing [+] will increase the resolution (320x200 to 640x480, etc).
  352.  
  353. 4.  Pressing [-] will decrease the resolution; useful if 800x600 rolls.
  354.  
  355. 5.  Pressing [/] or [?] gives a help screen of commands available while viewing.
  356.  
  357.     Note: All the following conversion options check if the default filename is
  358.     present, and prompt for a new name if it is. They create a file on the
  359.     current drive and directory with the same dimensions as the file being
  360.     viewed, and let you know what is happening while the conversion proceeds. If
  361.     you screw up at the new filename prompt, hit [Ctrl-C] to escape immediately
  362.     to DOS; this will usually preserve a file you don't want to write over. The
  363.     safest bet is to view files in another directory, since the new file is
  364.     saved to the default directory, which is the drive and directory you ran
  365.     VPIC from. I put VPIC in my UTIL directory, and have my PATH set to include
  366.     UTIL, so I can run VPIC from any drive or directory.
  367.  
  368. 12. Pressing [A] will 'animate' a picture by rotating the palette periodically.
  369.     This is especially effective on fractals, where large areas tend to be the
  370.     same color. Pressing [SPACEBAR] will pause the palette rotation, and
  371.     pressing [ENTER] will terminate it and return to the command mode. Thus, by
  372.     waiting for an especially nice pattern and then pressing [ENTER], the
  373.     pattern can be written to a file using the above file save commands.
  374.     Pressing [ESC] will return to the menu. The rate of palette rotation can be
  375.     increased/decresed with the up/down (slow) or PgUp/PgDn (fast) arrow keys.
  376.  
  377. 11. Pressing [C] will create a Dr. Halo CUT file with the same filename and
  378.     extension CUT. A palette file (.PAL) will also be created.
  379.  
  380. 10. Pressing [E] will expand a Run Length Encoded (RLE) compressed Targa file. If
  381.     the file is not a Targa or is already uncompressed, this key does nothing.
  382.  
  383. 7.  Pressing [G, I, M, U, <, or >] will create a GIF file on the default drive,
  384.     and prompt for a new filename-the default extension is GIF. [G] is for
  385.     non-interlaced, and [I] is for interlaced, [M] is for mirror image, [U] is
  386.     for upside down (inverted), [<] is rotate image 90 degrees CCW, and [>] is
  387.     rotate image 90 degrees CW.
  388.  
  389. 6.  Pressing [P] will create a PC Paint or Pictor file. The default extension is
  390.     PIC, and for EGA it prompts for a PC Paint or Pictor file.
  391.  
  392. 8.  Pressing [R] will create a ColoRix file with the same filename and extension
  393.     SCx where x is a function of the screen size. If in EGA, will prompt if you
  394.     want an EGA Paint or ColoRix file.
  395.  
  396. 9.  Pressing [T] will create a Targa 16 file with the same filename and
  397.     extension TGA.
  398.  
  399. 5.  Pressing [Z] will create a ZSoft (PC Paintbrush) file with the same filename
  400.     and extension PCX. The file will be in whatever mode you are currently using
  401.     (EGA or VGA). The VGA palette will be correct for the latest version of PC
  402.     Paintbrush, which saves a VGA palette in the file.
  403.  
  404. 13. [Alt_F] displays current filename momentarily.
  405.  
  406. 14. Pressing [Alt-X] will prompt you to delete the current file. If you answer
  407.     [y] it will be deleted, [n] or ESC it won't, and all other keys are ignored.
  408.  
  409. 15. Pressing [ENTER] will return to menu or DOS, or show next file for marked
  410.     menu mode.
  411.  
  412. 16. Pressing [ESC] will end the display and return to the menu.
  413.  
  414. 17. The following keys control the picture tone as follows:
  415.     [F1]       Decrease red content of picture.
  416.     [F2]       Increase red content of picture.
  417.     [F3]       Decrease green content of picture.
  418.     [F4]       Increase green content of picture.
  419.     [F5]       Decrease blue content of picture.
  420.     [F6]       Increase blue content of picture.
  421.     [F7]       Decrease contrast of picture (VGA only).
  422.     [F8]       Increase contrast of picture (VGA only).
  423.     [F9]       Decrease brightness of picture (VGA only).
  424.     [F10]      Increase brightness of picture (VGA only).
  425.     [Alt-F10]  Restore original palette after you thoroughly mess up the colors.
  426.     [V]        Reverses the current palette (16/64 EGA only); interesting effect
  427.                especially for black & white images.
  428.  
  429.     After a little experimenting, a 'washed out' VGA picture can be greatly
  430.     improved by using [F1-F10] , and you can always start over by using
  431.     [Alt-F10]. To retain a black background in a VGA picture, the brightness
  432.     should be decreased when the contrast is decreased. If you have really
  433.     improved the picture, you can then save it any of the supported formats.
  434.     VPIC will prompt you if the file exists in the default directory, and you
  435.     have the option of overwriting it or giving a new filename. This works
  436.     really well with images created on the Sharp, Howtec or Targa scanners.
  437.  
  438. All other keys are ignored. Pressing [Ctrl-Break] or [Ctrl-C] will go to DOS.
  439.  
  440. DECODING OTHER FILE FORMATS
  441.  
  442. The file decoding works in whatever mode you are presently using (VGA or EGA)
  443. and at the resolution you are viewing with. This way, if you choose to save to
  444. another file format, it will be in the same mode you are viewing with (EGA,
  445. MCGA, VGA, or SuperVGA). The decoding for other than GIF is not as fast as could
  446. be done, but the added versatility more than compensates for this. For example,
  447. EGA PCX files can be very quickly decoded to EGA, but are in the wrong format
  448. for VGA, and considerable manipulation is required to produce a VGA image. For
  449. all formats except GIF, the method of viewing is to decode to a buffer for a
  450. single line at 1 byte/pixel, then copy this line to the display in whatever mode
  451. you are using. This is a compromise for most file formats, since they are geared
  452. to EGA or VGA, and display time suffers, but it makes the code much simpler.
  453. Besides, the other formats are supported mainly to allow easy conversion to GIF,
  454. which is the preferred format for storage, since it gives the smallest file
  455. size. This will also make EGA <-> VGA conversions possible, which is not
  456. supported by most paint programs.
  457.  
  458. The TARGA viewing uses a fixed palette to speed up the decoding, so the picture
  459. does not have what could be called good color. It is mainly there to verify that
  460. an image is present. Use Image Tools TGAPIC to get an equivalent GIF picture
  461. with excellent color rendition.
  462.  
  463. ADDED FEATURES
  464.  
  465. VPIC is meant to fill a void not covered by paint programs, and to allow very
  466. convenient file viewing and conversion between file formats. It is not meant to
  467. compete with the paint programs, and in general if a paint program does
  468. something well (such as resize a picture to fill the screen or cut out a portion
  469. of the picture), VPIC will not attempt to do it. On the other hand, if you think
  470. of a feature which would enhance VPIC, please let me know, and I will consider
  471. adding it to the program.
  472.  
  473. KNOWN PROBLEMS
  474. 1. The ATI 1024x768x16 mode uses 2 pixels/byte, unlike any other VGA or EGA
  475.    mode. It is supported for most viewing and conversions, but will not view or
  476.    convert to EGA Paint files, ColoRIX EGA files, or Pictor EGA files, since
  477.    these are on an EGA plane basis.
  478.  
  479. 2. If you have a board with the Trident TVGA 8900 VGA chip, do not run MAMODE
  480.    before running VPIC, or rum MAMODE 64 if you were in a 128K bank mode.
  481.  
  482. IMPORTANT: Support for boards with other VGA chips: VPIC will support other VGA
  483. boards with extended VGA modes if the owners will write me with the details of
  484. how to set the various modes, and how to bank switch the display memory. Of
  485. course, if you also register VPIC I will give the problem more consideration.
  486.  
  487. The bank switching Info for some of the 'not so common' VGA boards is hard to
  488. come by, and is needed if VPIC is to support extended VGA modes for these
  489. boards. A VGA board needs to bank switch for extended modes because there is
  490. only a 64K window in the PC address space for graphics memory (from A000 to
  491. AFFF), and extended modes require more than 64K of memory; 640x480x256 requires
  492. 307200 bytes of memory, or about 4.7 'banks of 64K'. Bank switching is a means
  493. of mapping the (A000 to AFFF) graphics address space into 64K chunks of actual
  494. display memory. The method of bank switching is determined by the VGA chip used
  495. on the display board, and what I need is info on how to switch banks and how to
  496. set the various modes the board supports. The use of a display board would also
  497. help, since it will allow me to test the program with that display board instead
  498. of 'programming blind'.
  499.  
  500. HOW VPIC OPERATES - VPIC decodes a picture file directly to screen memory on
  501.     your  display card. The other technique is to decode to CPU (normal) memory
  502.     and then copy the picture (or a portion of it) to screen memory. Both ways
  503.     have their advantages and disadvantages.
  504.  
  505. DECODING DIRECTLY TO SCREEN MEMORY (LIKE VPIC).
  506.  
  507. ADVANTAGES -  This method offers the best speed, since it doesn't  have  to  go
  508.     thru the intermediate step of decoding to  CPU  memory first.  It will also
  509.     always decode large pictures,  even above  the  maximum display size. The
  510.     CPU method  usually  doesn't  have  sufficient memory for large pics, like
  511.     1024x768x256, or even  800x600x256 if you have any TSR's in memory; these
  512.     pics require 1 byte/pixel.
  513.  
  514.     The file conversion options uses the current palette data and the current
  515.     data in display memory to make the new file.  Thus,  what you see is what
  516.     you get in a new file format,  in  whatever  mode you are viewing (256 or 16
  517.     color).
  518.  
  519. DISADVANTAGES - Because the picture is decoded  directly to  screen  memory,
  520.     any picture data beyond the right edge of the screen is thrown  away. For
  521.     this reason, you can't  scroll  left  and  right.  VPIC  will continue to
  522.     decode to display memory beyond  the  bottom  of  the screen until:
  523.  
  524.         1.  It runs out of memory, set by BANKS in the  configuration file.
  525.  
  526.         2.  If the card does not  wrap  this  memory  back  onto  the displayed
  527.             screen, like  the Video 7 cards.
  528.  
  529.     Thus, if your display card meets the above criteria,  you will be able to
  530.     scroll up and down.
  531.  
  532.     If the screen doesn't display the whole  picture,  any  converted file will
  533.     be truncated on the right edge to the screen size.
  534.  
  535.     In the SLIDE mode of VPIC, the next picture  is  decoded  to  CPU memory
  536.     while you view the current picture, and then copied to the screen when the
  537.     delay time is up.  If you don't have  enough  CPU memory, you get the  `Not
  538.     enough memory'  message on the  screen, and that picture is skipped.
  539.  
  540. DECODING TO CPU MEMORY FIRST
  541.  
  542. ADVANTAGES - If there is sufficient CPU memory to hold the whole picture (at 1
  543.     byte/pixel), a rectangular area equal to the screen  size  can be copied to
  544.     display memory,  which allows you to scroll around  the picture in all
  545.     directions.
  546.  
  547. DISADVANTAGES - If there is not sufficient CPU memory, most of the programs
  548.     will refuse to display the picture.  There is also the wait while  the
  549.     picture is decoded to CPU memory before you get to see it.
  550.  
  551. SHAREWARE
  552.            
  553. VPIC is user supported software for the IBM PC.  VPIC is made available for a
  554. free ten day trial period.  If you find this program useful,  you may license
  555. the program for non-commercial use on one machine by sending $15.00 to:
  556.  
  557.      Bob Montgomery
  558.      543 Via Fontana #203
  559.      Altamonte Springs, FL 32714
  560.  
  561. You may use all updates free once you have registered VPIC. If you are already
  562. registered for VGIF (any version) you may use VPIC for an additional $5. I do
  563. not send updates, but they are available on most graphics oriented BBS's, and at
  564. Compuserve in DL3 of the PICS forum. As an alternative, you can get VPIC from me
  565. by sending:
  566.     1. $15 VPIC registration fee
  567.     2. $5 for upgrading VGIF to VPIC.
  568.     3. $0 for updates of VPIC.
  569. Please include $5 ($10 outside the USA and Canada) for materials, postage, and
  570. handling on all orders. Thus, 1 = $20/$25, 2 = $10/$15, and 3 = $5/$10 for
  571. domestic/foreign orders. As a bonus; I will fill the rest of the disk with good
  572. pictures. Please specify 360K or 1.2Meg disk (I don't have 3.5" disks) and EGA,
  573. VGA, or SuperVGA (640x480x256, etc) so I'll know what pictures to send. For
  574. foreign orders, please send an International or Postal Money Order, since the
  575. banks here charge $25 collection fee for foreign checks.
  576.  
  577. VPIC may be licensed for commercial use on up to 10 computers at a single site
  578. or set of sites for $75.00. A commercial site is defined as a business or
  579. individual using VPIC as part of his business activities.
  580.  
  581. Clubs, schools,  universities and other organizations may license VPIC for
  582. $45.00 per 6 copies.
  583.  
  584. If you use VPIC as part of a commercial demo or as a utility for another
  585. application you must obtain a license from Bob Montgomery, and pay a $1/copy
  586. royalty for each copy shipped.
  587.  
  588. VPIC is copyrighted software, and all rights are reserved.
  589.  
  590. VPIC may not be changed or modified in any way  except by the author.  VPIC may
  591. be freely distributed for the ten day trial period as long as it remains in its
  592. complete form. Regardless of how the copy is obtained, it is requested that
  593. all users comply with the licensing agreement.
  594.  
  595. All warranties are disclaimed, including damage to hardware and/or software from
  596. use of this product. In no event will I be liable to you for any damages,
  597. including lost profits, lost savings or other incidental or consequential
  598. damages arising out of your use or inability to use the program, or any other
  599. claim by any other party.
  600.  
  601. Contact Bob Montgomery for:
  602.     1. Special versions of VPIC tailored to your application.
  603.     2. Other graphics oriented applications (file conversion, etc).
  604.  
  605. Any suggestions or comments should be mailed directly to me. The following are
  606. graphics oriented BBS's:
  607.  
  608. Compuserve PICS Forum (My ID is 73357,3140)
  609. Tsunami BBS, Half Moon Bay, Calif. (415) 726-2726
  610. PC Rockland, S. Nyack, NY (914) 353-2538 [Freeboard] 1.6 Gbyte Online
  611. Megabyte Image Center     (918) 492-0087 1200/2400/9600 baud USR HST
  612. Event Horizons, Portland OR  (503) 777-1578
  613.  
  614.                 APPENDIX A - REVISION HISTORY
  615.  
  616. History of the original VGIF program.
  617.  
  618. VGIF ver 1.1   1-13-88
  619.     *  Added test for EGA adapter.
  620.     *  Fixed menu colors.
  621.     *  Allow [ESC]ape from marked file viewing.
  622.     *  Added [Ctrl-Break] or [Ctrl-C] exit to DOS anywhere.
  623.     *  Added 'disk full' notification when creating picture file.
  624.     *  Added critical error handler for 'drive not ready' errors.
  625.  
  626. VGIF ver 1.2   1-15-88
  627.     *  Changed name to VGIF.
  628.     *  Slide mode now ignores the end of file mark in slide file, and any key
  629.        will now end slide mode.
  630.     *  Added slides to menu mode if [S] pressed-shows marked files as slides
  631.        until a key is pressed.
  632.  
  633. VGIF ver 1.3   1-21-88
  634.     *  Added better error checking to GIF file decoding. Notifies if bad GIF
  635.        file.
  636.     *  Fixed error reporting bug in single file mode.
  637.  
  638. VGIF ver 1.4   2-9-88
  639.     *  Added instantaneous screen update in slide mode from menu or command
  640.        (SLD) file.
  641.     *  Added the /r option which allows an application program to call VGIF
  642.        to view a file and then regain control.
  643.  
  644. VGIF ver 1.5   3-2-88
  645.     *  Added [PgUp] and [PgDn] keys to scroll by 10 lines at a time.
  646.     *  Added a max pic height of 819 lines so EGA buffer would not overflow.
  647.     *  Greatly improved color reproduction for 'problem' pictures (such as FROG,
  648.        ARCHIT, PUFFIN, VEGTABLE, etc). These pictures typically have more than
  649.        16 colors. Selected colors on basis of frequency of use where possible.
  650.     *  Fixed following bugs:
  651.        1.  Line buffer would overflow into other variables if pic width was
  652.            > 640 pixels, causing strange results.
  653.        2.  Didn't recognize the end of image marker correctly. This would
  654.            cause the palette to change when the image was done.
  655.  
  656. VGIF ver 1.6   3-11-88
  657.     *  Fixed a bug in handling multiple images. First noticed when viewing
  658.        WHIMMI.GIF.
  659.     *  Use same palette for multiple images, and get best color match.
  660.     *  Added [L] and [S] commands while viewing a picture. These allow you to
  661.        create full size paint program files.
  662.  
  663. VGIF ver 2.0   3-26-88
  664.     *  Added the ability to view long GIF files ( > 819 lines) without
  665.        wrapping the display.
  666.     *  Added the [C] and [H] (Dr. Halo) file creation option while viewing.
  667.     *  Added the [L] and [S] prefixes to paint program file creation commands
  668.        while viewing to save long pic files.
  669.     *  Added the Info and Help commands in menu mode.
  670.     *  Deleted the # requirement to specify a directory from the command line.
  671.        The program now looks for a directory which meets the spec on the command
  672.        line. If none is found, it assumes the spec is for a single file.
  673.     *  Added [F1 - F10], and [V] palette control keys while viewing a file.
  674.  
  675. VGIF ver 3.0   5-2-88
  676.     *  Added VGA capability, and support for Tseng extended VGA modes
  677.        (640x480x256 and 800x600x256).
  678.     *  Determines and displays available modes for your system.
  679.  
  680. VGIF ver 3.1   5-11-88
  681.     *  Fixed a bug in dir/file spec from command line. Now accepts
  682.        VGIF d:\dir\*.gif or VGIF d:*.gif, although the [\]*.gif is not required,
  683.        since this is the default filespec.
  684.  
  685.     *  Fixed a bug in forced EGA when doing slides, where an interlaced pic
  686.        displayed at double size would have a 'venetian blind' effect.
  687.  
  688.     *  Changed so pics larger than 320x200 are shown in 640x480 VGA; can get
  689.        800x600 by pressing + key.
  690.  
  691.     *  Note that EGA mode on the Orchid VGA card appears squashed vertically.
  692.        This is normal, and cannot be corrected without reprograming the
  693.        parameters for mode 16, which would change the vertical retrace
  694.        frequency, and probably cause your monitor to roll.
  695.  
  696. VGIF ver 3.2   5-26-88
  697.     *  Added 500 file menu, and assy language text screen updating; now
  698.        super fast.
  699.     *  Fixed a bug which caused the Vega VGA card to hang up.
  700.  
  701. VGIF ver 3.3   6-9-88
  702.     *  Added user spec of video mode for non-Orchid VGA boards.
  703.     *  Added GIF and Pictor save of current screen for VGA/EGA pics.
  704.     *  Added prompts to screen for conversion to other formats.
  705.     *  Removed conversion starting at first visible row-now does whole pic.
  706.  
  707. VGIF ver 3.4   6-23-88
  708.     *  Fixed a bug in the GIF save routine.
  709.     *  Added color, contrast, and brightness adjustment in VGA.
  710.     *  Fixed a bug in menu mode for marked files.
  711.     *  Added /n command line option to stay in 640x480x256 for VGA pics.
  712.  
  713. VGIF ver 3.5   7-14-88
  714.     *  Fixed some misc minor bugs.
  715.     *  Added increase/decrease resolution command while viewing 16 color VGA
  716.        pics (using the /e option).
  717.     *  Added slide mode for VGA.
  718.     *  Added lock mode option to start pics from the menu in a desired mode.
  719.  
  720. VGIF ver 3.6   8-8-88
  721.     *  Fixed some bugs.
  722.     *  Fixed EGA slide show.
  723.  
  724. VGIF ver 3.6A  9-10-88
  725.     *  Fixed 1024x768x16 mode.
  726.  
  727. VGIF ver 4.0   10-20-89
  728.     *  This was a beta test version which got out. It had lots of bugs, which
  729.        were fixed in VPIC.
  730.  
  731. History of VPIC
  732.  
  733. VPIC ver 1.0 & 1.1 12-27-88
  734.     *     Beta test versions.
  735.  
  736. VPIC ver 1.2   12-27-88
  737.     *  Added configuration option for various display boards.
  738.     *  Added VGA file conversion for all previous Paint programs supported.
  739.     *  Added Deluxe Paint 2 conversion.
  740.     *  Added Targa 16 file conversion.
  741.     *  Added EGA/VGA toggle from menu.
  742.     *  Added default resolution select, and Mode Lock key from menu.
  743.     *  Added WAIT option to pause between images of multi-image files.
  744.     *  Added MAC, PCX, & Colorix file viewing capability. Others will be
  745.        added in later versions.
  746.     *  Added 'animate' while viewing.
  747.     *  Fixed VGA 16 color palette.
  748.  
  749. VPIC ver 1.2A   1-4-89
  750.     *  Fixed MAC -> GIF conversion
  751.     *  Fixed CVPIC for ^Z as EOF char.
  752.     *  Fixed 16 color palette for other file formats if VGA 16 colors.
  753.  
  754. VPIC ver 1.3    2-2-89
  755.     *  Fixed cursor in menu.
  756.     *  Fixed 'lock up' if GIF header size wrong (640x350 labeled 350x640).
  757.     *  Now pauses pic if file error and waits for key press-can see partial
  758.        pics in bad files this way.
  759.     *  Shows GIFs with MAC headers (1st 128 bytes are not GIF standard);
  760.        if F3 (info) pressed shows if file has a MAC header.
  761.     *  Fixed so views and saves new ZSoft VGA PCX files which include
  762.        palette at end of file. Still doesn't load PAL files.
  763.     *  Fixed ZSoft file displays and saves.
  764.     *  Added Wait toggle (F8) which pauses between images in multi-image
  765.        GIFs, and allows conversion to other filetypes.
  766.     *  Made MACs black on bright white instead of gray.
  767.  
  768. VPIC ver 1.4   3-15-89
  769.     *  Added printout of filename while decoding except in slide mode.
  770.     *  Added help while viewing a picture; press [?] or [/].
  771.     *  Added delete a file option [X] (with query) while viewing.
  772.     *  Added hit [ESC] while decoding to abort picture.
  773.  
  774. VPIC ver 1.5   3-23-89
  775.     *  Fixed bug in 'Escape while decoding' which would hang system.
  776.     *  Fixed EGA x2 display for interlaced files.
  777.     *  Fixed problem with saving a pic after scrolling.
  778.     *  Fixed palette in animate, so save will use current palette.
  779.     *  Fixed problem with bad files in slide mode that would hang computer.
  780.     *  Fixed error display in /@ slide mode and single file mode.
  781.  
  782. VPIC ver 1.6   4-5-89
  783.     *  Fixed bugs in slide show from command file. Added comments.
  784.     *  Added resolution option for each picture in slide command file.
  785.     *  Fixed miscellaneous minor bugs.
  786.     *  Added configurable menu color.
  787.  
  788. VPIC ver 1.7   6-13-89
  789.     *  Added Trident chip set support (for Maxxon and Logix VGA boards
  790.        and maybe the ATI board).
  791.     *  Fixed a few bugs concerned with putting & getting lines from the
  792.        display screen.
  793.     *  Fixed problem with Ctrl Z at end of slide definition file.
  794.  
  795. VPIC ver 1.8  6-28-89
  796.     *  Added EGA Paint viewing/conversion.
  797.     *  Fixed conversion to 800x600 ColoRIX file.
  798.     *  Fixed other minor bugs.
  799.  
  800. VPIC ver 1.9  7-19-89
  801.     *  Added inverted, mirrored, and rotated GIF saves.
  802.     *  Fixed a bug in the Dr Halo CUT file creation.
  803.     *  Added menu updating after file creation or deletion.
  804.     *  Added new path spec feature from menu with [F9] key.
  805.  
  806. VPIC ver 2.0  8-6-89
  807.     *  Added Pictor/PC Paint PIC, Dr. Halo CUT, Deluxe Paint LBM, and
  808.        Targa 16 or 24 file viewing capability.
  809.     *  Fixed a bug in the palette selection for EGA.
  810.     *  Fixed a bug which would not show VGA for the plain vanilla VGA config.
  811.     *  Fixed a bug in the ZSoft PCX display for extended EGA modes.
  812.     *  Added Auto resolution option and switch from the menu [F7].
  813.     *  Made cursor stay fixed when files are created or deleted.
  814.     *  Added Chips & Technology support. (VPIC 2.0A)
  815.     *  Fixed ZSoft save at higher screen resolution than pic. (VPIC 2.0B)
  816.  
  817. VPIC ver 2.1   9-5-89
  818.     *  Fixed a bug in LBM viewing
  819.     *  Added ColoRIX 16 color SCR and SCP view/create.
  820.     *  Speeded up GIF decoding about 50%.
  821.  
  822. VPIC ver 2.1A  9-10-89
  823.     *  Fixed a memory allocation problem for slides.
  824.     *  Made small increase in speed.
  825.     *  Fixed directory callout (*.PIC, etc).
  826.     *  Re-enabled [ESC] for GIF viewing.
  827.     *  Fixed Chip & Tech bank switching routine.
  828.     *  Fixed Deluxe Paint II (LBM) file creation.
  829.  
  830. VPIC ver 2.2  10-23-89
  831.     *  Fixed problem in new path command ([F9] from menu).
  832.     *  Fixed intermittent GIF decode problem.
  833.     *  Program now tells if GIF image and screen sizes conflict.
  834.     *  Menu now correctly displays file sizes larger than 1 Mbyte.
  835.     *  Now lists & displays Electronic Arts IFF files (same as LBM).
  836.  
  837. VPIC ver 2.3  12-13-89
  838.     *  Fixed C_T bank switching.
  839.     *  Added Everex 678, Ahead (B chip), and Genoa 6400 support.
  840.     *  Fixed bugs in GIF and Pictor decoder.
  841.  
  842. VPIC ver 2.4  12-28-89
  843.     * Fixed bug in GIF decoder for very wide pics.
  844.     * Fixed palette for many file types.
  845.     * Fixed slide mode from menu.
  846.  
  847. VPIC ver 2.5  1-28-90
  848.     * Fixed single file and /r modes.
  849.     * Fixed Pictor viewing for B&W pics.
  850.     * Fixed MAC header interpertation problem.
  851.     * Fixed memory clearing for pictures longer than the screen.
  852.     * Added F10 to menu to display current path. Menu no longer shows
  853.       complete path (only filespec) to avoid clutter with long paths.
  854.     * Deleted path from filename display when showing picture.
  855.     * Added SCY conversion for ColoRIX.
  856.     * Added Zymos VGA chip support.
  857.     * Corrected CVPIC to allow more than 9 banks in config file.
  858.  
  859. VPIC ver 2.6  1-28-90
  860.     * Fixed palette for 2 color GIFs.
  861.     * Fixed SCU display in 1024x768x16 mode.
  862.     * Fixed Pictor EGA and ColoRIX EGA slide viewing.
  863.  
  864. VPIC ver 2.7  3-17-90
  865.     * Fixed GIF bug and palette for files with local color maps.
  866.     * Added /b command line option to beep after a picture is decoded except
  867.       in slide modes.
  868.     * Added Alt_F command while viewing a picture to momentarily display the
  869.       file name.
  870.     * Fixed Targa viewing for all sizes; now handles RLE images too.
  871.  
  872. VPIC ver 2.8  3-27-90
  873.     * Added /h command line option to find hidden files.
  874.     * Changed menu display to allow up to 8 modes for VGA or EGA.
  875.     * Fixed palette in Dr. Halo CUT files.
  876.     * Added Tseng 4000 chip support.
  877.  
  878. VPIC ver 2.9  5-23-90
  879.     * Fixed Targa module to handle all 8 thru 32 bits/pixel formats.
  880.     * Added copyright messages.
  881.     * Fixed PCX viewing for gray scale files.
  882.  
  883. VPIC ver 2.9A 7-1-90
  884.    *  Fixed Targa module for files which don't follow the compression rules
  885.       of 'don't overrun lines'. Added TGA expand option [E] while viewing a
  886.       RLE compressed Targa file.
  887.    *  Fixed conversion routines so they save the pictures size. This was a bug
  888.       that crept into ver 2.9.
  889.    *  Added ESC to abort deleting a file with [Alt_X].
  890.    *  Added file types (where applicable) to the info command [F3] from the
  891.       menu.
  892.    *  Added uncompressed ColoRIX SCO file (1024x768x256) support.
  893.    *  Fixed a bug in CVPIC.
  894.    *  Fixed a bug which prevented working with DOS 4.x.
  895.    *  Added Deluxe Paint II enhanced viewing and save capability.
  896.    *  Fixed a color bug in Targa 32 viewing.
  897.  
  898. VPIC ver 3.0  9-15-90
  899.    *  Added capability to view the new GIF89a files, and FRA fractal files.
  900.       Added delay and user response features of GIF89a.
  901.    *  Fixed a bug which would hang the computer if you deleted the last
  902.       viewable file from a directory.
  903.    *  Added prompt for a file conversion, allowing you to escape.
  904.    *  Added C&T, as well as the previous C_T, which VPIC will accept as the
  905.       Chips & Technologies VGA chip in the config file.
  906.    *  Fixed memory allocation bug in PCX creation for 1024x768x256 images.
  907.  
  908. VPIC ver 3.1  9-25-90
  909.    *  Added flexibility to slide mode. Always decodes to memory and can change
  910.       delay for files; see the section on 'vpic /@slidesfile`.
  911.  
  912. VPIC ver 3.2  10-29-90
  913.    *  Fixed the bank switching for the Trident 8800 chip.
  914.    *  Fixed a palette problem when viewing Targa files.
  915.  
  916. VPIC ver 3.3  11-5-90
  917.    *  Fixed problem with lines on VGA pics in slide mode.
  918.    *  Added animate command in slide command file, and speed control for
  919.       animation.
  920.    *  Fixed MCGA 16 color palette.
  921.    *  Fixed ATI 1024x768x256 slide mode.
  922.  
  923. VPIC ver 3.4  11-21-90
  924.    *  Fixed most conversion routines so they work in ATI 1024x768x16 mode;
  925.       can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  926.    *  Fixed most viewing routines so they work in ATI 1024x768x16 mode;
  927.       can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  928.    *  Fixed bugs in conversion for pics less than screen width wide.
  929.    *  Cleaned up numerous small bugs.
  930.    *  Added BIF Binary Image File from B&W image capture boards.
  931.