home *** CD-ROM | disk | FTP | other *** search
-
- 2View V1.50
- Written by Dave Schreiber. Released on March 24, 1992
-
- This program is Copyright 1991-1992 by Dave Schreiber, All Rights
- Reserved. 2View is freely distributable, but the author retains all
- rights in regards to the program. Permission is granted to distribute this
- program for a minimal charge (for copying, handling, etc.).
-
- The files Minrexx.o and Minrexx.h are exempt from this copyright, as I
- did not create them.
-
- 2View is a IFF picture viewer, meant for use under Workbench 2.0, and
- thus will only operate under version 2.0 or later of the operating system;
- hopefully by the time you read this, 2.0 will be out for all Amigas.
-
- 2View supports all Amiga display resolutions (lores, hires,
- interlaced, HAM, etc.), including Sliced-HAM (SHAM) and MacroPaint images
- (support for non-MacroPaint dynamic hires images isn't included yet; 2View
- isn't able to display them correctly).
-
- Running 2View from the command line
- -----------------------------------
-
- There are two ways to specify what picture(s) you want to display:
- either directly, or through a playlist. To use the command line, just list
- the files you want to display. For example:
-
- 2View Thatcher.pic Bush.iff Hussein
-
- To do the same thing with a playlist, create a file with those three
- filenames, each on a separate line. Assuming you called the file
- 'WorldLeaders', to display the pictures, do the following:
-
- 2View from WorldLeaders
-
- There are also two ways to specify how to advance from picture to
- picture. If you used the command line above, you'd advance by pressing the
- left mouse button (2View only registers mouse clicks on active windows; if
- you switch screens and click on another window, you need to click on the
- picture's screen twice (once to activate the screen's window, again to
- signal 2View)), or by pressing CTRL-C. To abort a sequence of pictures in
- the middle, click on the right mouse button or type CTRL-D.
-
- You can also specify that 2View will advance to the next picture after
- a given time interval. You can specify the time interval either in
- seconds, or 'ticks' (1/60ths of a second; note: this was 1/50th of a
- second in previous releases). To specify a delay in seconds, use the
- keyword 'seconds' or 'secs', as such:
-
- 2View from WorldLeaders secs 4
-
- For ticks, the keyword is 'ticks'. For example:
-
- 2View Thatcher.pic Hussein ticks 23
-
- Again, to abort the sequence early, press the right mouse button or CTRL-D.
- To advance to the next picture in the sequence before the time delay
- finishes, press the left mouse button or CTRL-C.
-
- Note that if you specify zero ticks or seconds, 2View will act as
- though you hadn't entered a time at all (and wait for you to press the left
- mouse button to advance).
-
- Finally, by using the keyword 'loop', you can tell 2View to start from
- the beginning once it gets through a list of pictures. A final example,
- where the pictures 'Thatcher.pic' and 'Hussein' are displayed over and over
- until the right mouse button is pressed, follows:
-
- 2View Thatcher.pic Hussein secs 1 loop
-
- Running 2View from Workbench:
- -----------------------------
-
- You can display pictures from the Workbench by clicking on the
- picture's icon (or more than one picture's icon, if you want to display
- more than one picture), then (while holding down the shift key) double
- clicking on 2View's icon. If you display more than one picture, you can
- advance to the next picture by pressing the left mouse button (or CTRL-C).
- You can quit in the middle of the pictures by pressing the right mouse
- button or CTRL-D.
-
- You can also display pictures using 2View by setting the 'Default
- Tool' field in the icon's Information window to point to 2View (for
- example, if you had 2View on a floppy named 'Stuff', in the directory
- 'Graphics', you would set the Default Tool field in a picture's icon to
- read 'Stuff:Graphics/2View'). Once you've done that, double clicking on
- the picture's icon is all that is required to display it
-
- Please note that pictures displayed from the Workbench will be shown
- until you click on a mouse button or press CTRL-C or CTRL-D; timed
- advancement (along with playlists and looping) are not supported from the
- Workbench (yet).
-
- Color Cycling:
- --------------
-
- If a range of colors in the image are suppossed to cycle, 2View will
- cycle them. You can turn cycling off and on by pressing TAB.
-
- Note: there are two types of color cycling currently in use on the
- Amiga. The first, used in Deluxe Paint I through III, requires that the
- colors being cycling lie next to each other in the color pallette. The
- second method, used in Deluxe Paint IV, allows any colors to be cycled
- without requiring them to be in one contiguous block. 2View supports both
- types of color cycling.
-
- Printing:
- ---------
-
- You can print the pictures you display in 2View, either automatically
- or manually. Manual printing is supported when using both the CLI and
- Workbench: just press CTRL-P and a copy of the picture currently being
- shown will be printed out on your printer.
-
- Automatic printing (where each picture is printed as it is displayed)
- is supported only from the CLI. To use it, put the 'print' keyword on the
- command line. For example:
-
- 2View Major Thatcher print
-
- would display 'Major', print it out, and wait for you to advance to the
- next picture. Once you did, it would show and print 'Thatcher' and wait
- again for you to advance.
-
- Because of the unusual nature of SHAM and MacroPaint format pictures,
- the printing of such images isn't supported.
-
- ARexx:
- -----
-
- 2View has an ARexx port. If you're familiar with ARexx, you can use
- it to get information on pictures as they are displayed, advance or abort,
- print pictures, etc (for example, by combining a playlist and an ARexx
- script, you could print out just the HAM pictures in a directory that
- contained pictures in a number of different formats).
-
- A list of ARexx commands supported by 2View is in the file
- 'ARexx.doc', and a sample script is provided under the name 'GetInfo.rx'.
- If you want more information on ARexx in general, consult chapter 10 of the
- 'Using the System Software' manual that came with your Amiga.
-
- Miscellaneous
- -------------
-
- If you have a picture that is larger than the screen, you can scroll
- around in it by pressing and holding the left-Amiga key (or whatever keys
- you have specified under 'Mouse Screen Drag' in the 'IControl' preferences
- program), then pressing and holding the left mouse button while you move
- the mouse around.
-
- If you have a file you want to display that has a name that is
- identical to a 2View command line option, use the 'file' keyword before
- those filenames. For example, if you wanted to show the files 'loop' and
- 'print':
- 2View loop print
- will produce an error. However,
- 2View file loop file print
- will work fine.
-
- As you've probably noticed, the source to 2View comes with this
- distribution. To compile (using SAS/C V5.10a), type the following on the
- command line, while in the source directory:
-
- lc -v 2View ARexx
- lc -v -b0 Misc
- asm 2ViewAsm.a
- blink with 2View.lnk
-
- Please note that you need to have the file 'rexxglue.o' in your LIB:
- directory. 'Rexxglue.o' is found in the developers directory on the
- commercial version of ARexx.
-
- Bugs/Limitations:
- The support for MacroPaint images is woefully undertested. I only
- have two MacroPaint images to work with (Astronaut.mp and FB111.mp, both in
- the distribution of the MacroPaint picture viewer Shazam), and thus can't
- guarantee that non-interlaced or overscan MacroPaint images will display
- correctly. I intend to rectify this in the future by adding true dynamic
- hires support, which will mean support for all MacroPaint images
- automatically (the MacroPaint format is a scaled down version of Dynamic
- Hires as defined by NewTek).
- 2View seems to occassionally crash when displayed ILBM brushes. I'd
- thus recommend not using 2View for this purpose until the bug is fixed.
-
- That's it! If you have any questions or comments regarding this
- program, please feel free to get in touch with me at the following
- addresses:
-
- Dave Schreiber
- 1234 Collins Lane
- San Jose, CA 95129-4208
- email: davids@cats.ucsc.edu
-
-
-
-