home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Animation & Sound / SOS-ANIM_SOUND.ISO / best_50 / disp152.zip / READ.ME < prev    next >
Text File  |  1993-08-20  |  13KB  |  360 lines

  1. ******   You can 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,MPEG).
  17.     Support mouse.
  18.     Support contact sheet making.
  19.  
  20.  
  21. (2) Hardware Requirement:
  22.   PC 386 or better. MSDOS 3.3 or higher.
  23.   I recommend min 8M bytes for better performance.
  24.   Hard disk for swapping(virtual memory).
  25.  
  26.   The following description is borrowed from DJGPP.
  27.  
  28.   Supported Wares:
  29.  
  30.   * Up to 128M of extended memory (expanded under VCPI)
  31.   * Up to 128M of disk space used for swapping
  32.   * SuperVGA 256-color mode up to 1024x768
  33.   * 80387
  34.   * XMS & VDISK memory allocation strategies
  35.   * VCPI programs, such as QEMM, DESQview, and 386MAX
  36.  
  37.   Unsupported:
  38.  
  39.   * DPMI (Although go32 support DMPI. DISPLAY can't run under DPMI)
  40.   * Microsoft Windows
  41.  
  42.   Features: 80387 emulator, 32-bit unix-ish environment, flat memory
  43.   model, SVGA graphics.
  44.  
  45.  
  46. (3) Installation:
  47.  
  48.   Video drivers, emu387 and go32.exe are borrowed from DJGPP.
  49.   This go32.exe(from DJGPP 1.10) is a modified version.
  50.  
  51.   *** If this go32.exe is not compatible with other DJGPP program
  52.       in your system, DON'T put go32.exe within search path.
  53.  
  54.   *** Please read runme.bat for how to run this program.
  55.  
  56.   If you choose xxxxx.grn as video driver, add 'nc 256' to environment GO32.
  57.     For example, go32=driver x:/xxxxx/xxxxx.grn nc 256
  58.  
  59.   If you don't have 80x87, add 'emu x:/xxxxx/emu387' to environment GO32.
  60.     For example, go32=driver x:/xxxxx/xxxxx.grd emu x:/xxxxx/emu387
  61.  
  62.   If you use VESANEW.GRN, there are three options for you :(These three
  63.        options have no effect on other video drivers)
  64.     'real' : Do bank switching in real mode (Recommended).
  65.     'prot' : Do bank switching in protected mode.
  66.     'none' : Let DISPLAY do bank switching for you (Always work).
  67.  
  68.     For example, go32=real driver ............
  69.  
  70.   If your memory manager supports DPMI, then you must add 'nodpmi' to GO32.
  71.  
  72.   Notes: 
  73.     1. I only test tr8900.grn, et4000.grn and vesanew.grn. Other drivers are 
  74.          not tested.
  75.     2. I have modified et4000.grn to support 8, 15, 16, 24 bits display. You 
  76.          don't need to use vesa driver.
  77.        If et4000.grn doesn't work, please try vesanew.grn.
  78.     3. For those who want to use HiColor or TrueColor display,
  79.        please use vesanew.grn(except et4000 users).
  80.        You can find vesa BIOS driver from :
  81.          wuarchive.wustl.edu: /mirrors/msdos/graphics
  82.          godzilla.cgl.rmit.oz.au: /kjb/MGL
  83.  
  84.  
  85. (4) Command Line Switch:
  86.  
  87.     Usage : 
  88.       display [-d|--display initial_display_type] [-s|--sort sort_method]
  89.               [-f config_file] [-a] [-n l|g] [-h|-?] [one_image_file]
  90.  
  91.     Display type: 8(SVGA,default), 15, 16(HiColor), 24(TrueColor)
  92.     Sort method: 'name', 'ext'
  93.     -a: Always set to highest display type
  94.     -f: Read user specified config file only.
  95.     -n: Don't read Local or Global config file.
  96.  
  97.  
  98. (5) Function Key:
  99.  
  100. +   F1 : Print READ.ME.
  101.  
  102.     F9 : For those who can't remember all commands of DISPLAY.
  103.  
  104.     F2 : Change disk drive.
  105.  
  106.     CTRL-A -- CTRL-Z : change disk drive.
  107.  
  108.     F3 : Change filename mask. (See match.doc)
  109.  
  110.     F4 : Change parameters.
  111.  
  112.     F5 : Some effects on picture, eg. flip, rotate ....
  113.  
  114.     F7 : Make Directory.
  115.  
  116.     t : Tag file.(Can untag tagged files)
  117.  
  118.     + : Tag group files. (See match.doc)
  119.         When image is shown, '+' can change to next resolution.     
  120.  
  121.     T : Tag all files.
  122.  
  123.     u : Untag file.
  124.  
  125.     - : Untag group files. (See match.doc)
  126.         When image is shown, '-' can change to previuos resolution.
  127.  
  128.     U : Untag all files.
  129.  
  130.     Ins : Change display type (8,15,16,24).
  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.     e,E : Contact sheet making.
  171.  
  172.     w,W : Wait/Pause in slide show.
  173.  
  174.     q,Q : Accumulation color quantization.
  175.             Find a best palette set for group of files.
  176.             Very useful for producing animation pictures.
  177.  
  178.     l,L : List available graphic/text modes.
  179.  
  180.     o,O : Display font.
  181.  
  182.     ALT-X : Quit program without prompting.
  183.  
  184.     ALT-A : Reread directory.
  185.  
  186.     Escape : Abort function and return.
  187.  
  188.  
  189. (6) Mouse Buttons:
  190.  
  191.     MIDDLE button and CTRL-RIGHT button always mean ESCAPE. 
  192.  
  193.    in read/write menu:
  194.      single-click LEFT or RIGHT button = 'move select bar'.
  195.      double-click LEFT button = RETURN.
  196.      double-click RIGHT button = SPACE.
  197.      CTRL-LEFT button = Tag.
  198.  
  199.    in other menus:
  200.      RIGHT button means SPACE.
  201.      single-click LEFT button = 'move select bar'.
  202.      double-click LEFT button = RETURN.
  203.  
  204.    in input/question:
  205.      LEFT/RIGHT = RETURN/SPACE or 'Y'/'N'.
  206.  
  207.    in graphic screen:
  208.      RIGHT = show/hide mouse cursor.
  209.      LEFT = move image around screen.
  210.      CTRL-LEFT = move one page.
  211.  
  212.    In some text regions the mouse cursor will change. Press LEFT button
  213.    to do that function.
  214.  
  215.  
  216. (7) Support Format:
  217.  
  218.   Read: GIF(.gif), Japan MAG(.mag), Japan PIC(.pic), Sun Raster(.ras),
  219.         Jpeg(.jpg), XBM(.xbm), Utah RLE(.rle), PBM(.pbm), PGM(.pgm),
  220.         PPM(.ppm), PM(.pm), PCX(.pcx), Japan MKI(.mki), Tiff(.tif),
  221.         Targa(.tga), XPM(.xpm), Mac Paint(.mac), GEM/IMG(.img),
  222.         IFF/ILBM(.lbm), Window BMP(.bmp), QRT ray tracing(.qrt),
  223.         Mac PICT(.pct), VIS(.vis), PDS(.pds), VIKING(.vik), VICAR(.vic),
  224.         FITS(.fit), Usenix FACE(.fac), IRIS(.sgi).
  225.  
  226.         DL(.dl), FLI(.fli), FLC(.flc), RAW(.raw, produced by DMPEG),
  227. +       MPEG(.mpg).
  228.  
  229.         the extensions in () are standard extensions.
  230.  
  231.   Write: GIF, Sun Raster, Jpeg, XBM, PBM, PGM, PPM, PM, Tiff, Targa,
  232.          XPM, Mac Paint, Ascii, Laser Jet, IFF/ILBM, Window BMP,
  233.          Mac PICT, VIS, FITS, FACE, PCX, GEM/IMG, IRIS.
  234.  
  235.   All Read/Write support full color(8 bits), grey scale, b/w dither,
  236.       and 24 bits image, if allowed for that format.
  237.  
  238.  
  239. (8) Detail:
  240.  
  241.    Initialization:
  242.       Set default display type to highest display type.
  243.       Find allowable screen resolution(for .grn video driver only).
  244.       Read configuration file(Global and Local).
  245.         Global: where DISPLAY.EXE stays. Local: Where you are.
  246.       Process command line options.
  247.  
  248.    1. When you run this program, you will enter 'read' menu. Whthin this
  249.       menu you can press any function key. If you move or copy
  250.       files, you will enter 'write' menu. the 'write' menu is much like
  251.       'read' menu, but only allow you to change directory.
  252.       The header line in 'read' menu includes "(d:xx,f:xx,t:xx)".
  253.         d : display type. f: number of files. t: number of tagged files.
  254.       pressing SPACE in 'read' menu will let you select which format to use
  255.         for reading current file.
  256.       pressing RETURN in 'read' menu will let you reading current file. This
  257.         program will automatically determine which format this file is.
  258.         The procedure is: First, check magic number. If fail, check
  259.         standard extension. Still fail, report error.
  260.       pressing s or S in 'read' menu will do 'Slide Show'.
  261.         If delay time is 0, program will wait until you hit a key
  262.           (except ESCAPE).
  263.         If any error occurs, program will make a beep.
  264.         'w' or 'W' to pause, any key to continue.
  265.         ESCAPE to terminate.
  266.       pressing b or B to do 'Batch Conversion'.
  267.       pressing Ins in 'read' menu will change display type.
  268.       pressing ALT-X in 'read' menu will quit program without prompting.
  269.       pressing F5 will turn on 'effect' menu.
  270.  
  271.    2. Once image file is successfully read, you will enter 'screen' menu.
  272.       You can do special effect on image.
  273.  
  274.       If you select a movie file, commands are the followings:
  275.         SPACE : pause playing. If you press 'w' or 'W', this program will
  276.           write current frame to file. After writing, screen will pause
  277.           at next frame.
  278.         ESCAPE : Terminate playing.
  279.  
  280.       pressing RETURN: show image.
  281.         in graphic mode, press RETURN, SPACE or ESCAPE to return to text
  282.         mode.
  283.         press '+' and '-' to change screen resolution.
  284.       pressing TAB: change processing target. This program allows you to do
  285.         special effects on 8-bit or 24-bit image.
  286.       pressing Left,Right arrow: change display type. 8, 15, 16, 24 bits.
  287.       pressing SPACE: save current image to file.
  288.         B/W Dither: save as black/white image(1 bit).
  289.         Grey Scale: save as grey image(8 bits).
  290.         Full Color: save as color image(8 bits).
  291.         True Color: save as 24-bit image.
  292.  
  293.         This program will ask you some questions if you want to write image
  294.         to file. Some questions are format-dependent. Finally This program
  295.         will prompt you a filename. If you want to save file under another
  296.         directory other than current directory, please press SPACE. after
  297.         pressing SPACE, you will enter 'write2' menu. You can change
  298.         directory to what you want. Then,
  299.  
  300.         pressing SPACE: this program will prompt you 'original' filename.
  301.         pressing RETURN: this program will prompt you 'selected' filename
  302.                       (filename under bar).
  303.  
  304.  
  305.   3. This program supports 8, 15, 16, 24 bits display.
  306.  
  307.   4. This Program is MEMORY GREEDY. If you don't have enough memory,
  308.      the performance is poor.
  309.  
  310.   5. If you want to save 8 bits image :
  311.        try GIF then TIFF(LZW) then TARGA then Sun Raster then BMP then ...
  312.  
  313.      If you want to save 24 bits image (lossless):
  314.        try TIFF(LZW) or TARGA or ILBM or Sun Raster
  315.        (No one is better for true 24bits image)
  316.  
  317.   6. I recommend Jpeg for storing 24 bits images, even 8 bits images.
  318.  
  319.   7. Not all subroutines are fully tested
  320.  
  321.   8. This document is not well written. If you have any PROBLEM, SUGGESTION,
  322.      COMMENT about this program,
  323.      Please send to u7711501@bicmos.ee.nctu.edu.tw (140.113.11.13).
  324.      I need your suggestion to improve this program.
  325.      (There is NO anonymous ftp on this site)
  326.  
  327.  
  328. (9) Tech. information:
  329.   Program (user interface and some subroutines) written by Jih-Shin Ho.
  330.   Some subroutines are borrowed from XV(2.21) and PBMPLUS(dec 91).
  331.   JPEG is bsed on the library by Independent JPEG Group.
  332.   Tiff(V3.2) reading/writing are through public domain library.
  333.   DL subroutine is based on xdl.c.
  334.   FLI/FLC is based on the article in DDJ (Mar. 1993).
  335.   MPEG is based on Berkeley mpeg_play 2.0.
  336.   Compiled with DJGPP.
  337.   You can get whole DJGPP package from SIMTEL20 or mirror sites.
  338.     For example, wuarchive.wustl.edu: /mirrors/msdos/djgpp
  339.  
  340.  
  341. (10) For Thoese who want to modify video driver:
  342.    1. get GRX source code from SIMTEL20 or mirror sites.
  343.    2. For HiColor and TrueColor:
  344.         15 bits : # of colors is set to 32768.
  345.         16 bits : # of colors is set to 0xc010.
  346.         24 bits : # of colors is set to 0xc018.
  347.  
  348.  
  349. Acknowledgment:
  350.   I would like to thank the authors of XV and PBMPLUS for their permission
  351.     to let me use their subroutines.
  352.   Also I will thank the authors who write Tiff and Jpeg libraries.
  353.   Thank DJ. Without DJGPP I can't do any thing on PC.
  354.   The author would like to thank Olivier Dumas for his advices and 
  355.     suggestions.
  356.  
  357.  
  358.                                             Jih-Shin Ho
  359.                                    u7711501@bicmos.ee.nctu.edu.tw
  360.