home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / graphics / disp130.zip / READ.ME < prev    next >
Text File  |  1993-04-13  |  9KB  |  249 lines

  1. ******   You may distribute this program freely for non-commercial use
  2.          if no fee is gained.
  3. ******   There is no warranty. The author is not responsible for any
  4.          damage caused by this program.
  5.  
  6.  
  7. (1) Introduction:
  8.   This program can let you READ, WRITE and DISPLAY images with different
  9.   formats. It also let you do some special effects(ROTATION, DITHERING ....) 
  10.   on image. Its main purpose is to let you convert image among different 
  11.   formts.
  12.   There is NO LIMIT on image size.
  13.   Currently this program supports 8, 15, 16, 24 bits display.
  14.   If you want to use HiColor or TrueColor, you must have VESA driver.
  15.   If you want to modify video driver, please read section (8).
  16.  
  17.  
  18. (2) Hardware Requirement:
  19.   PC 386 or better. MSDOS 3.3 or higher.
  20.   min amount of ram is 4M bytes(Maybe less memory will also work).
  21.   (I recommend min 8M bytes for better performance).
  22.   Hard disk for swapping(virtual memory).
  23.  
  24.   The following description is borrowed from DJGPP.
  25.  
  26.   Supported Wares:
  27.  
  28.   * Up to 128M of extended memory (expanded under VCPI)
  29.   * Up to 128M of disk space used for swapping
  30.   * SuperVGA 256-color mode up to 1024x768
  31.   * 80387
  32.   * XMS & VDISK memory allocation strategies
  33.   * VCPI programs, such as QEMM, DESQview, and 386MAX
  34.  
  35.   Unsupported:
  36.  
  37.   * DPMI
  38.   * Microsoft Windows
  39.  
  40.   Features: 80387 emulator, 32-bit unix-ish environment, flat memory
  41.   model, SVGA graphics.
  42.  
  43.  
  44. (3) Installation:
  45.   Please read runme.bat for more information.
  46.   Video drivers, emu387 and go32.exe are borrowed from DJGPP.
  47.   (This GO32.EXE is a modified version for vesa and is COMPLETELY compatible
  48.    with old version)
  49.  
  50.   If you choose xxxxx.grn as video driver, add 'nc 256' to environment
  51.     GO32.
  52.  
  53.   For example, go32=driver x:/xxxxx/xxxxx.grn nc 256
  54.  
  55.   If you don't have 80x87, add 'emu x:/xxxxx/emu387' to environment GO32.
  56.  
  57.   For example, go32=driver x:/xxxxx/xxxxx.grd emu x:/xxxxx/emu387
  58.  
  59.   **** Notes: 1. I only test tr8900.grn and et4000.grn. Other drivers are
  60.                  not tested.
  61.               2. I have modified et4000.grn to support 8, 15, 16, 24 bits
  62.                  display. You don't need to use vesa driver.
  63.                  If et4000.grn doesn't work, please try vesa.grn.
  64.               3. For those who want to use HiColor or TrueColor display,
  65.                  please use vesa.grn(except et4000 users).
  66.                  You can find vesa driver from :
  67.                    wuarchive.wustl.edu: /mirrors/msdos/graphics
  68.                    godzilla.cgl.rmit.oz.au: /kjb/MGL
  69.  
  70.  
  71. (4) Command Line Switch:
  72.     
  73.     Usage : display [-d initial_display_type] [-h|-?]
  74.  
  75.     Currently support 8(SVGA,default), 15, 16(HiColor), 24(TrueColor)
  76.  
  77.  
  78. (5) Function Key:
  79.  
  80.     F2 : Change driver
  81.  
  82.     F3 : Change filename mask (See match.doc)
  83.  
  84.     F4 : Change parameter
  85.  
  86.     F5 : Some effects on picture, eg. flip, rotate ....
  87.  
  88.     F7 : Make Directory
  89.  
  90.     t : Tag file
  91.  
  92. +   + : Tag group files (See match.doc)
  93.  
  94.     T : Tag all files
  95.  
  96.     u : Untag file
  97.  
  98. +   - : Untag group files (See match.doc)
  99.  
  100.     U : Untag all files
  101.  
  102. +   Ins : Change display type (8,15,16,24) in 'read' & 'screen' menu.
  103.  
  104.     F6,m,M : Move file(s)
  105.  
  106.     F8,d,D : Delete file(s)
  107.  
  108.     r,R : Rename file
  109.  
  110.     c,C : Copy File(s)
  111.  
  112.     z,Z : Display first 10 bytes in Ascii, Hex and Dec modes.
  113.  
  114.     Page Up/Down : Move one page
  115.  
  116.     TAB : Change processing target.
  117.  
  118.     Arrow keys, Home, End, Page Up, Page Down: Scroll image.
  119.       Home: Left Most.
  120.       End: Right Most.
  121.       Page Up: Top Most.
  122.       Page Down: Bottom Most.
  123. +     in 'screen' & 'effect' menu :
  124. +       Left,Right arrow: Change display type(8, 15, 16, 24 bits)
  125.  
  126. +   s,S : Slide Show. ESCAPE to terminate.
  127.  
  128. +   ALT-X : Quit program without prompting.
  129.  
  130.     Escape : Abort function and return.
  131.  
  132.  
  133. (6) Support Format:
  134.  
  135.   Read: GIF(.gif), Japan MAG(.mag), Japan PIC(.pic), Sun Raster(.ras),
  136.         Jpeg(.jpg), XBM(.xbm), Utah RLE(.rle), PBM(.pbm), PGM(.pgm),
  137.         PPM(.ppm), PM(.pm), PCX(.pcx), Japan MKI(.mki), Tiff(.tif),
  138.         Targa(.tga), XPM(.xpm), Mac Paint(.mac), GEM/IMG(.img),
  139.         IFF/ILBM(.lbm), Window BMP(.bmp), QRT ray tracing(.qrt),
  140.         Mac PICT(.pct), VIS(.vis), PDS(.pds), VIKING(.vik), VICAR(.vic).
  141.  
  142.         the extensions in () are standard extensions.
  143.  
  144.   Write: GIF, Sun Raster, Jpeg, XBM, PBM, PGM, PPM, PM, Tiff, Targa,
  145.          XPM, Mac Paint, Ascii, Laser Jet, IFF/ILBM, Window BMP,
  146.          Mac PICT, VIS.
  147.  
  148.   All Read/Write support full color(8 bits), grey scale, b/w dither,
  149.       and 24 bits image, if allowed for that format.
  150.  
  151.  
  152. (7) Detail:
  153.  
  154. +  Initialization:
  155. +     Set default display type to highest display type.
  156. +     Find allowable screen resolution(for .grn video driver only).
  157.  
  158.    1. When you run this program, you will enter 'read' menu. Whthin this
  159.       menu you can press any function key except F5. If you move or copy
  160.       files, you will enter 'write' menu. the 'write' menu is much like
  161.       'read' menu, but only allow you to change directory.
  162.       pressing SPACE in 'read' menu will let you select which format to use
  163.         for reading current file.
  164.       pressing RETURN in 'read' menu will let you reading current file. This
  165.         program will automatically determine which format this file is.
  166.         The procedure is: First, check magic number. If fail, check
  167.         standard extension. Still fail, report error.
  168. +     pressing s or S in 'read' menu will do 'Slide Show'.
  169. +       If delay time is 0, program will wait until you hit a key
  170. +         (except ESCAPE).
  171. +       If any error occurs, program will make a beep.
  172. +       ESCAPE to terminate.
  173. +     pressing Ins in 'read' menu will change display type.
  174. +     pressing ALT-X in 'read' menu will quit program without prompting.
  175.  
  176.    2. Once image file is successfully read, you will enter 'screen' menu.
  177.       Within this menu F5 is turn on. You can do special effect on image.
  178.       pressing RETURN: show image.
  179. +       in graphic mode, press RETURN, SPACE or ESCAPE to return to text
  180. +       mode.
  181.       pressing TAB: change processing target. This program allows you to do
  182.         special effects on 8-bit or 24-bit image.
  183.       pressing Left,Right arrow: change display type. 8, 15, 16, 24 bits.
  184.       pressing SPACE: save current image to file.
  185.         B/W Dither: save as black/white image(1 bit).
  186.         Grey Scale: save as grey image(8 bits).
  187.         Full Color: save as color image(8 bits).
  188.         True Color: save as 24-bit image.
  189.       
  190.         This program will ask you some questions if you want to write image
  191.         to file. Some questions are format-dependent. Finally This program
  192.         will prompt you a filename. If you want to save file under another
  193.         directory other than current directory, please press SPACE. after
  194.         pressing SPACE, you will enter 'write2' menu. You can change
  195.         directory to what you want. Then,
  196.  
  197.         pressing SPACE: this program will prompt you 'original' filename.
  198.         pressing RETURN: this program will prompt you 'selected' filename
  199.                       (filename under bar).
  200.  
  201.  
  202.   3. This program supports 8, 15, 16, 24 bits display.
  203.  
  204.   4. This Program is MEMORY GREEDY. If you don't have enough memory,
  205.      the performance is poor.
  206.  
  207.   5. If you want to save 8 bits image :
  208.        try GIF then TIFF(LZW) then TARGA then Sun Raster then BMP then ...
  209.  
  210.      If you want to save 24 bits image (lossless):
  211.        try TIFF(LZW) or TARGA or ILBM or Sun Raster
  212.        (No one is better for true 24bits image)
  213.  
  214.   6. I recommend Jpeg for storing 24 bits images, even 8 bits images.
  215.  
  216.   7. Not all subroutines are fully tested
  217.  
  218.   8. This document is not well written. If you have any PROBLEM, SUGGESTION,
  219.      COMMENT or image format document,
  220.      Please send to u7711501@bicmos.ee.nctu.edu.tw (140.113.11.13).
  221.  
  222.  
  223. (8) Tech. information:
  224.   Program (user interface and some subroutines) written by Jih-Shin Ho.
  225.   Some subroutines are borrowed from XV(2.21) and PBMPLUS(dec 91).
  226.   Tiff(V3.2) and Jpeg(V4) read/write are through public domain libraries.
  227.   Compiled with DJGPP.
  228.   You can get whole DJGPP package from SIMTEL20 or mirror sites.
  229.     For example, wuarchive.wustl.edu: /mirrors/msdos/djgpp
  230.  
  231.  
  232. (9) For Thoese who want to modify video driver:
  233.    1. get GRX source code from SIMTEL20 or mirror sites.
  234.    2. For HiColor and TrueColor:
  235.         15 bits : # of colors is set to 32768.
  236.         16 bits : # of colors is set to 0xc010.  
  237.         24 bits : # of colors is set to 0xc018.
  238.  
  239.  
  240. Acknowledgment:
  241.   I would like to thank the authors of XV and PBMPLUS for their permission
  242.     to let me use their subroutines.
  243.   Also I will thank the authors who write Tiff and Jpeg libraries.
  244.   Thank DJ. Without DJGPP I can't do any thing on PC.
  245.  
  246.  
  247.                                             Jih-Shin Ho
  248.                                    u7711501@bicmos.ee.nctu.edu.tw
  249.