home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR5 / DISP_145.ZIP / READ.ME < prev    next >
Text File  |  1993-07-20  |  12KB  |  324 lines

  1. ******   You may distribute this program freely for non-commercial use.
  2. ******   There is no warranty. The author is not responsible for any
  3.          damage caused by this program.
  4.  
  5.  
  6. (1) Introduction:
  7.   This program can let you READ, WRITE and DISPLAY images/movies with different
  8.     formats. It also let you do some special effects(rotation, dithering ...)
  9.     on image. 
  10.   Features:
  11.     Include simple file management system.
  12.     Support 'slide show'.
  13.     Support 'batch conversion'.
  14.     There is NO LIMIT on image size.
  15.     This program supports 8, 15, 16, 24 bits display.
  16. +   Support movie files(DL,FLI/FLC,RAW).
  17.  
  18.  
  19. (2) Hardware Requirement:
  20.   PC 386 or better. MSDOS 3.3 or higher.
  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 (Although go32 support DMPI. DISPLAY can't run under 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.  
  46. + *** Please replace old GO32.EXE with NEW GO32.EXE(dated 7-20-93).
  47. + *** Please remove VESA.GRN. Use VESANEW.GRN.
  48.  
  49.   Video drivers, emu387 and go32.exe are borrowed from DJGPP.
  50. + This go32.exe(from DJGPP 1.10) is a modified version.
  51.  
  52.   *** If this go32.exe is not compatible with other DJGPP program
  53.       in your system, DON'T put go32.exe within search path.
  54.  
  55.   *** Please read runme.bat for how to run this program.
  56.  
  57.   If you choose xxxxx.grn as video driver, add 'nc 256' to environment GO32.
  58.     For example, go32=driver x:/xxxxx/xxxxx.grn nc 256
  59.  
  60.   If you don't have 80x87, add 'emu x:/xxxxx/emu387' to environment GO32.
  61.     For example, go32=driver x:/xxxxx/xxxxx.grd emu x:/xxxxx/emu387
  62.  
  63. + If you use VESANEW.GRN, there are three options for you :(These three
  64.        options have no effect on other video drivers)
  65. +    'real' : Do bank switching in real mode (Recommended).
  66. +    'prot' : Do bank switching in protected mode.
  67. +    'none' : Let DISPLAY do bank switching for you (Always work).
  68.  
  69. +   For example, go32=real driver ............
  70.  
  71. + If your memory manager supports DPMI, then you must add 'nodpmi' to GO32.
  72.  
  73.   Notes: 
  74. +   1. I only test tr8900.grn, et4000.grn and vesanew.grn.
  75.        Other drivers are not tested.
  76.     2. I have modified et4000.grn to support 8, 15, 16, 24 bits
  77.        display. You don't need to use vesa driver.
  78.        If et4000.grn doesn't work, please try vesanew.grn.
  79.     3. For those who want to use HiColor or TrueColor display,
  80.        please use vesanew.grn(except et4000 users).
  81.        You can find vesa BIOS driver from :
  82.          wuarchive.wustl.edu: /mirrors/msdos/graphics
  83.          godzilla.cgl.rmit.oz.au: /kjb/MGL
  84.  
  85.  
  86. (4) Command Line Switch:
  87.  
  88.     Usage : display [-d|--display initial_display_type]
  89.                     [-s|--sort sort_method]
  90. +                   [-f config_file]
  91. +            [-a]
  92. +                   [-n l|g]
  93.                     [-h|-?]
  94.  
  95.     Display type: 8(SVGA,default), 15, 16(HiColor), 24(TrueColor)
  96.     Sort method: 'name', 'ext'
  97. +   -a: Always set to highest display type
  98. +   -f: Read user specified config file only.
  99. +   -n: Don't read Local or Global config file.
  100.  
  101.  
  102. (5) Function Key:
  103.  
  104. +   F9 : For those who can't remember all commands of DISPLAY.
  105.  
  106.     F2 : Change disk drive.
  107.  
  108.     CTRL-A -- CTRL-Z : change disk drive.
  109.  
  110.     F3 : Change filename mask. (See match.doc)
  111.  
  112.     F4 : Change parameters.
  113.  
  114.     F5 : Some effects on picture, eg. flip, rotate ....
  115.  
  116.     F7 : Make Directory.
  117.  
  118. +   t : Tag file.(Can untag tagged files)
  119.  
  120.     + : Tag group files. (See match.doc)
  121.  
  122.     T : Tag all files.
  123.  
  124.     u : Untag file.
  125.  
  126.     - : Untag group files. (See match.doc)
  127.  
  128.     U : Untag all files.
  129.  
  130.     Ins : Change display type (8,15,16,24) in 'read' & 'screen' menu.
  131.  
  132.     F6,m,M : Move file(s).
  133.  
  134.     ALT-M : Move single file(ignore tag).
  135.  
  136.     F8,d,D : Delete file(s).
  137.  
  138.     ALT-D : Delete single file(ignore tag).
  139.  
  140.     r,R : Rename file.
  141.  
  142.     c,C : Copy File(s).
  143.  
  144.     ALT-C : Copy single file(ignore tag).
  145.  
  146.     z,Z : Display first 10 bytes in Ascii, Hex and Dec modes.
  147.  
  148.     f,F : Display disk free space.
  149.  
  150.     Page Up/Down : Move one page.
  151.  
  152.     TAB : Change processing target.
  153.  
  154.     Arrow keys, Home, End, Page Up, Page Down: Scroll image.
  155.       Home: Left Most.
  156.       End: Right Most.
  157.       Page Up: Top Most.
  158.       Page Down: Bottom Most.
  159.       in 'screen' & 'effect' menu :
  160.         Left,Right arrow: Change display type(8, 15, 16, 24 bits).
  161.  
  162.     CTRL-Arrow keys : Crop image by one line(in graphics mode).
  163.  
  164.     s,S : Slide Show(show tagged files). ESCAPE to terminate.
  165.  
  166.     b,B : Batch conversion(convert tagged files to single format).
  167. +         You can perform up to 8 special operations.
  168. +         Each is independent of others.
  169.  
  170.     w,W : Wait/Pause in slide show.
  171.  
  172. +   q,Q : Accumulation color quantization.
  173. +           Find a best palette set for group of files.
  174. +           Very useful for producing animation pictures.
  175.  
  176. +   l,L : List available graphic modes.
  177.  
  178.     ALT-X : Quit program without prompting.
  179.  
  180.     ALT-A : Reread directory.
  181.  
  182.     Escape : Abort function and return.
  183.  
  184.  
  185. (6) Support Format:
  186.  
  187.   Read: GIF(.gif), Japan MAG(.mag), Japan PIC(.pic), Sun Raster(.ras),
  188.         Jpeg(.jpg), XBM(.xbm), Utah RLE(.rle), PBM(.pbm), PGM(.pgm),
  189.         PPM(.ppm), PM(.pm), PCX(.pcx), Japan MKI(.mki), Tiff(.tif),
  190.         Targa(.tga), XPM(.xpm), Mac Paint(.mac), GEM/IMG(.img),
  191.         IFF/ILBM(.lbm), Window BMP(.bmp), QRT ray tracing(.qrt),
  192.         Mac PICT(.pct), VIS(.vis), PDS(.pds), VIKING(.vik), VICAR(.vic),
  193.         FITS(.fit), Usenix FACE(.fac), IRIS(.sgi).
  194.  
  195. +       DL(.dl), FLI(.fli), FLC(.flc), RAW(.raw, produced by DMPEG).
  196.  
  197.         the extensions in () are standard extensions.
  198.  
  199.   Write: GIF, Sun Raster, Jpeg, XBM, PBM, PGM, PPM, PM, Tiff, Targa,
  200.          XPM, Mac Paint, Ascii, Laser Jet, IFF/ILBM, Window BMP,
  201.          Mac PICT, VIS, FITS, FACE, PCX, GEM/IMG, IRIS.
  202.  
  203.   All Read/Write support full color(8 bits), grey scale, b/w dither,
  204.       and 24 bits image, if allowed for that format.
  205.  
  206.  
  207. (7) Detail:
  208.  
  209.    Initialization:
  210.       Set default display type to highest display type.
  211.       Find allowable screen resolution(for .grn video driver only).
  212. +     Read configuration file(Global and Local).
  213. +       Global: where DISPLAY.EXE stays. Local: Where you are.
  214. +     Process command line options.
  215.  
  216.    1. When you run this program, you will enter 'read' menu. Whthin this
  217.       menu you can press any function key. If you move or copy
  218.       files, you will enter 'write' menu. the 'write' menu is much like
  219.       'read' menu, but only allow you to change directory.
  220.       The header line in 'read' menu includes "(d:xx,f:xx,t:xx)".
  221.         d : display type. f: number of files. t: number of tagged files.
  222.       pressing SPACE in 'read' menu will let you select which format to use
  223.         for reading current file.
  224.       pressing RETURN in 'read' menu will let you reading current file. This
  225.         program will automatically determine which format this file is.
  226.         The procedure is: First, check magic number. If fail, check
  227.         standard extension. Still fail, report error.
  228.       pressing s or S in 'read' menu will do 'Slide Show'.
  229.         If delay time is 0, program will wait until you hit a key
  230.           (except ESCAPE).
  231.         If any error occurs, program will make a beep.
  232.         'w' or 'W' to pause, any key to continue.
  233.         ESCAPE to terminate.
  234.       pressing b or B to do 'Batch Conversion'.
  235.       pressing Ins in 'read' menu will change display type.
  236.       pressing ALT-X in 'read' menu will quit program without prompting.
  237.       pressing F5 will turn on 'effect' menu.
  238.  
  239.    2. Once image file is successfully read, you will enter 'screen' menu.
  240.       You can do special effect on image.
  241.  
  242. +     If you select a movie file, commands are the followings:
  243. +       SPACE : pause playing. If you press 'w' or 'W', this program will
  244. +         write current frame to file. After writing, screen will pause
  245. +         at next frame. You can't write FLI/FLC frame to file.
  246. +       ESCAPE : Terminate playing.
  247.  
  248.       pressing RETURN: show image.
  249.         in graphic mode, press RETURN, SPACE or ESCAPE to return to text
  250.         mode.
  251.       pressing TAB: change processing target. This program allows you to do
  252.         special effects on 8-bit or 24-bit image.
  253.       pressing Left,Right arrow: change display type. 8, 15, 16, 24 bits.
  254.       pressing SPACE: save current image to file.
  255.         B/W Dither: save as black/white image(1 bit).
  256.         Grey Scale: save as grey image(8 bits).
  257.         Full Color: save as color image(8 bits).
  258.         True Color: save as 24-bit image.
  259.  
  260.         This program will ask you some questions if you want to write image
  261.         to file. Some questions are format-dependent. Finally This program
  262.         will prompt you a filename. If you want to save file under another
  263.         directory other than current directory, please press SPACE. after
  264.         pressing SPACE, you will enter 'write2' menu. You can change
  265.         directory to what you want. Then,
  266.  
  267.         pressing SPACE: this program will prompt you 'original' filename.
  268.         pressing RETURN: this program will prompt you 'selected' filename
  269.                       (filename under bar).
  270.  
  271.  
  272.   3. This program supports 8, 15, 16, 24 bits display.
  273.  
  274.   4. This Program is MEMORY GREEDY. If you don't have enough memory,
  275.      the performance is poor.
  276.  
  277.   5. If you want to save 8 bits image :
  278.        try GIF then TIFF(LZW) then TARGA then Sun Raster then BMP then ...
  279.  
  280.      If you want to save 24 bits image (lossless):
  281.        try TIFF(LZW) or TARGA or ILBM or Sun Raster
  282.        (No one is better for true 24bits image)
  283.  
  284.   6. I recommend Jpeg for storing 24 bits images, even 8 bits images.
  285.  
  286.   7. Not all subroutines are fully tested
  287.  
  288.   8. This document is not well written. If you have any PROBLEM, SUGGESTION,
  289.      COMMENT about this program,
  290.      Please send to u7711501@bicmos.ee.nctu.edu.tw (140.113.11.13).
  291.      I need your suggestion to improve this program.
  292.      (There is NO anonymous ftp on this site)
  293.  
  294.  
  295. (8) Tech. information:
  296.   Program (user interface and some subroutines) written by Jih-Shin Ho.
  297.   Some subroutines are borrowed from XV(2.21) and PBMPLUS(dec 91).
  298.   JPEG is bsed on the library by Independent JPEG Group.
  299.   Tiff(V3.2) reading/writing are through public domain libraries.
  300.   DL subroutine is based on xdl.c.
  301.   FLI/FLC is based on the article in DDJ (Mar. 1993).
  302.   Compiled with DJGPP.
  303.   You can get whole DJGPP package from SIMTEL20 or mirror sites.
  304.     For example, wuarchive.wustl.edu: /mirrors/msdos/djgpp
  305.  
  306.  
  307. (9) For Thoese who want to modify video driver:
  308.    1. get GRX source code from SIMTEL20 or mirror sites.
  309.    2. For HiColor and TrueColor:
  310.         15 bits : # of colors is set to 32768.
  311.         16 bits : # of colors is set to 0xc010.
  312.         24 bits : # of colors is set to 0xc018.
  313.  
  314.  
  315. Acknowledgment:
  316.   I would like to thank the authors of XV and PBMPLUS for their permission
  317.     to let me use their subroutines.
  318.   Also I will thank the authors who write Tiff and Jpeg libraries.
  319.   Thank DJ. Without DJGPP I can't do any thing on PC.
  320.  
  321.  
  322.                                             Jih-Shin Ho
  323.                                    u7711501@bicmos.ee.nctu.edu.tw
  324.