home *** CD-ROM | disk | FTP | other *** search
/ GRIPS 2: Government Rast…rocessing Software & Data / GRIPS_2.cdr / dos / adrg / winadrg / winadrg.rmf < prev   
Encoding:
Text File  |  1991-02-21  |  5.6 KB  |  110 lines

  1. Installing WinADRG
  2.   You can run WinADRG from CD-ROM or your hard disk.  To copy WinADRG
  3. to your hard disk type:
  4.  
  5.     COPY X:\DOS\ADRG\WINADRG\WINADRG.EXE C:\WINDOWS\WINADRG.EXE
  6.     (Where X is the letter of your CD-ROM drive)
  7.  
  8.     From within Windows 3.0 choose the "run..." option under the "File" menu
  9. item in the Program Manager.  When the dialog box comes up type:
  10.     X:\winadrg\WinADRG.exe
  11.     (Where X is either the letter of your CD-ROM drive or the letter of
  12.      your hard disk, depending on where you want to run the application from.)
  13.  
  14.  
  15. Purpose of WinADRG
  16.     WinADRG is a Windows 3.0 program that will convert a portion of a DMA
  17. ADRG CD ROM map to a bitmap about the size of a VGA screen.  The overview
  18. image on each ADRG CD ROM can also be converted to a windows bitmap and then
  19. used to "Zoom in" on the area of interest.  The image created by a "Zoom in"
  20. is placed in a file named IMAGE.BMP.  This image can be manipulated further if
  21. desired by PC Paintbrush. The bitmap can also be copied to the Clipboard using
  22. the Alt-Shift-PrintScrn key combination.  From the Clipboard the image can be
  23. pasted into other programs such as Word For Windows.  WinADRG can also print
  24. the bitmap to a Windows supported printer.
  25.  
  26.  
  27. Using WinADRG
  28.  
  29. Setup
  30.     After starting WinADRG choose the "Setup" menu item.  Type in the CD ROM 
  31. drive letter and whether or not your graphics board can use 16 or 256 colors.
  32. (Although the 256 color bitmaps look bad on a 16 color display, they can still
  33. be printed out in 256 colors on an appropriate printer such as the HP Paint
  34. Jet.)  
  35.  
  36. Create Overview
  37.     Choose "Create Overview" under "Overview Maps" and WinADRG will create a 
  38. bitmap from the overview image on the CD ROM.  It takes a couple of minutes
  39. and the result is a 328 K file on the hard drive named OVERVIEW.BMP.  Because
  40. it takes so long to pull the overview bitmap off the CD ROM, WinADRG allows
  41. the user to "install" the overview bitmap on a disk.   This process creates a
  42. table in a file named ADRGINFO.DAT, which associates an overview map with a
  43. CD ROM (by stock number) and with a menu name supplied by the user.  The
  44. OVERVIEW.BMP file is renamed to OVER#.BMP where # is a number.  When WinADRG
  45. starts up, the table is scanned and the overview map names are put into the
  46. main menu.   The user can quickly display any of the installed overview images
  47. by choosing the overview image name from the menu.  If the user chooses not
  48. to install the overview it is left on the disk as OVERVIEW.BMP, and not
  49. renamed.
  50.  
  51. Install Overview
  52.     If the user chooses not to install an overview when it is created the
  53. overview image is saved on the disk as OVERVIEW.BMP.  The image can still be
  54. installed later by opening OVERVIEW.BMP and then choosing "Install Overview".
  55.  
  56. Remove Overview
  57.     After selecting an installed overview image you can choose "Remove Overview" 
  58. to delete the bitmap file from the disk and remove the entry in ADRGINFO.DAT.
  59.  
  60. Zoom
  61.     Choose  menu item "Zoom", to create an image from the CD ROM.  Click the 
  62. mouse at the point of the overview where you want to zoom in.  Because the
  63. CD ROM is slow and the data must be converted into the Windows format it takes
  64. a couple of minutes to create the image.  This image is put into a file named
  65. IMAGE.BMP and each time you zoom in the file is overwritten with the new image.
  66. If a CD ROM is in the drive that does not contain the image for the displayed
  67. overview image, the user is prompted to put in the correct CD ROM.  After the
  68. image is displayed you can go back to the overview image by choosing the menu
  69. item "CD ROM Overview" under "Overview Maps".  If you want to save an image
  70. choose the "save" option under the "File" menu item, and type in the file name
  71. you want.  At this point you can also change the format of the saved file.  For
  72. example, "rle 8" is run length encoded for 256 color bitmaps.  The advantage of
  73. a "run length encoded" file is that it takes up less room on the disk.  The
  74. disadvantage is that it takes longer to display.   I've also noticed that PC 
  75. Paintbrush can't read the run length encoded files.
  76.  
  77. Reduce 4 to 1
  78.     Choosing "Reduce 4 to 1" from the "ADRG" menu items sets WinADRG into a mode 
  79. that will average four pixels to one pixel when creating the bitmap image.
  80. This allows four times as much of the map to be displayed on the screen but
  81. takes almost four times as long to pull the image off the CD ROM.
  82.  
  83. CD ROM info
  84.     Choose "CD ROM info" to get information about the CD ROM currently in the 
  85. CD ROM drive.
  86.  
  87. LIMITATIONS
  88.     WinADRG is a demo program I put together quickly and is only 
  89. a preliminary version.  One limitation is that the overview image is always 
  90. created from the lower left corner.   This can be annoying when the lower left corner 
  91. doesn't have any thing of interest.  The next version of WinADRG will have a
  92. solution to that problem.  The machine I used to develop WinADRG has four 
  93. megabytes of memory.  A machine with less memory may get "cannot create bitmap"
  94. errors.  Another limitation is that it currently is not possible to adjust the
  95. color translation algorithm used to go from 24 bit colors to 256.  The next 
  96. version of WinADRG will allow the user to "fine tune" the color conversion 
  97. algorithm to accommodate the various scanning parameters.  The next version 
  98. of WinADRG will process the entire CD ROM and store the resulting bitmaps on 
  99. the disk so the user can quickly pan around the map.
  100.     Please feel free to give this program to any one who wants it.
  101.  
  102.  
  103.                         Edward  Anderson
  104.                         ITAC
  105.                         1875 Campus Commons Drive
  106.                         Suite 300
  107.                         Reston,  VA 22091-1533
  108.                         (703) 391 8822
  109.  
  110.