home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 180.lha / SuperView.doc < prev    next >
Text File  |  1988-04-28  |  9KB  |  307 lines

  1.  
  2. SuperView,   A IFF display program.  by  David  Grothe  V 2.0
  3.  
  4. *
  5. * Copyright 1988 by David Grothe
  6. * All rights reserved.
  7. *
  8. * This program is Shareware,  if you use this program
  9. * please send $10 to: 
  10. *
  11. * David Grothe
  12. * 20 SW 39th
  13. * Okla City, OK  73109
  14. *
  15. * You may pass the program around as long as this Doc file 
  16. * remains a part of it.
  17. *
  18. * If you would like to distribute this program with your 
  19. * software, you must contact me first.
  20.  
  21.  
  22. SuperView is a program that will display IFF pictures of all types 
  23. on the Amiga.  The program supports the following features:
  24.  
  25.    Multiple files on one command line.
  26.    WorkBench  (icons) are supported.
  27.    All display modes supported.
  28.    Auto Overscan
  29.    Color Cycle ( DPaint and GraphiCraft types)  CRNG  CCRT
  30.    AmigaBasic  ACBM  type files
  31.    Author chunk is supported
  32.    Displays the first cell in a ANIM file
  33.    Written in Assembly, PURE code that can be resident under 1.3
  34.  
  35. New for version 2.0
  36.  
  37. Display options that include the following:
  38.  
  39. -aSuppress Author Text
  40. -cSuppress Color Cycling
  41. -d <dir>Display all pictures in a directory
  42. -f <file>Read a text file for picture names
  43. -h<n>   Change the display height of a picture
  44. -l   List picture information
  45. -m<x>   Select view modes.
  46. -o   Override the Auto Overscan 
  47. -p   Disables Pointer Clearing
  48. -r   Repeat command line
  49. -s<n>Display picture for n seconds
  50. -w<n>Change the display width
  51. -x<n>Change the position of the display area x
  52. -y<n>Change the position of the display area y
  53.  
  54. Also new to version 2.0 is:
  55.  
  56. Smooth transition between pictures.
  57. Color Cycling continues while next picture is loaded.
  58. Scroll around in large pictures.
  59. Pointer Clearing during picture viewing.
  60.  
  61. Overscan sizing and positioning has also been improved.
  62.  
  63. New controls:
  64.  
  65. Left Mouse Button Scrolls around in a picture
  66. Right Mouse Button Continues to next picture
  67. Spacebar Starts and stops the color cycling
  68. ESC Aborts the command line
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75. Using SuperView from WorkBench.
  76.  
  77. SuperView has a complete WorkBench (Icon) interface built in.  
  78. To use SuperView from WorkBench, you must have an icon for your picture. 
  79. Most all paint programs build icons for you as you save a picture, so 
  80. this should not be a problem.  There are two ways to view pictures at 
  81. this point.  The easy way is to click once on the picture icon, hold 
  82. down the shift key, and then double click the SuperView icon.  You can 
  83. reverse this and click once on the SuperView icon and double click your 
  84. picture icon.  To view more that one picture,  you hold down the shift 
  85. key and click each picture that you want to show and the SuperView icon.  
  86. You don't have to select the icons in any kind of order as long as you 
  87. double click the last icon you select.  The pictures will be displayed 
  88. in the order that you select them.  You can also make the picture icon 
  89. itself run SuperView by putting SuperView in the default tool of the 
  90. icon.  This way you can just double click the picture icon to view it.  
  91. For a detailed description of how this is done, see the article in 
  92. Ami Exchange Mag V1.4.  
  93.  
  94. After the picture is loaded from workbench, you can stop and start the 
  95. color cycling with the spacebar, hold down the left mouse button to 
  96. scroll around in a large bitmap picture, press the right mouse button 
  97. to go to the next picture,  or press the ESC key to abort. Pressing the 
  98. ESC key will remove the current picture and cancel out any pictures that 
  99. you had selected that you have not viewed yet.
  100.  
  101.  
  102. Using SuperView from the CLI
  103.  
  104. Here is where the real power of SuperView comes out.  
  105. From the CLI,  you can choose many display options that allow you to 
  106. view a picture in different ways.  The command line from the CLI is
  107.  
  108. 1> SuperView [option[...]] <fileName> [[option[...]] <fileName>].... 
  109.  
  110. You can use up to 255 characters on the command line.  
  111. Here is a list of the options and how to use them.
  112.  
  113. -aSuppress Author Text
  114.  
  115. If you use this option, no Author text will be displayed from the AUTH 
  116. chunk in the IFF file.  
  117.  
  118. Example: 
  119.  
  120. 1> SuperView -a Mickey
  121.  
  122.  
  123. -cSuppress Color Cycling
  124.  
  125. This option will prevent the picture from color cycling.  If you use this 
  126. option,  the spacebar will not start color cycling.  
  127.  
  128. Example:
  129.  
  130. 1> SuperView -c Spray
  131.  
  132.  
  133. -d <dir>Display all pictures in a directory
  134.  
  135. The -d option will take the name of a directory instead of a picture 
  136. name and display every picture that if finds in that directory.  
  137. SuperView will overlook files that are not pictures, so you wont have 
  138. to worry about having non-picture files in the directory.  Any options 
  139. that you select before the directory name will stay in effect for each 
  140. picture in the directory.  After the directory has been displayed, 
  141. SuperView will continue on with the rest of the command line.  This 
  142. option works well with the -s option. 
  143.  
  144. Example:
  145.  
  146. 1> SuperView -d df0:
  147. 1> SuperView -s10 -c -d df0:
  148. 1> SuperView -s10 -d -a df1: -r
  149.  
  150.  
  151. -f <file>Read a text file for picture names
  152.  
  153. This option will read a text file and use it as a script to display 
  154. pictures.  The format of the file is the same as the format of each 
  155. picture on the command line.  
  156.  
  157. Example:
  158.  
  159. -a Mickey
  160. -s10 MyPicture
  161. -d -s10 -c df0:
  162. GreatPic
  163. -x200 -y100 BigPic
  164.  
  165. Each picture in the file can have its own options.  When all of the files 
  166. have been displayed,  SuperView will continue with the rest of the 
  167. command line.
  168.  
  169. Example:
  170.  
  171. 1> SuperView -f MyScript
  172. 1> SuperView -f MyScript -r
  173. 1> SuperView -f MyScript -s10 Spray
  174.  
  175.  
  176. -h<n>   Change the display height of a picture
  177. -w<n>Change the display width
  178.  
  179. These two options change the display size of a picture.  You can use one 
  180. or both of them on a picture.  These options change the display size of 
  181. the picture, not the size of the picture.   If you tell it to use a 
  182. smaller display size than the picture is, you will be able to scroll 
  183. around in the smaller display area.  The best way to under stand this may 
  184. be to try it.   
  185.  
  186. Example:
  187.  
  188. 1> SuperView -w320 -h200 Mickey
  189. 1> SuperView -w320 -h200 -m Mickey
  190. 1> SuperView -w200 -h100 -x60 -y50 Spray
  191.  
  192.  
  193. -l   List picture information
  194.  
  195. If you want to know the size of a picture, or if it is HAM or HalfBrite, 
  196. then this is your option.  This will list out the size of the display 
  197. area,  the size of the picture, what type of file it is (ILBM, ACBM, 
  198. ANIM), any display modes, number of colors and bit planes. 
  199.  
  200. Example:
  201.  
  202. 1> SuperView -l Mickey
  203. 1> SuperView -l -s10 Mickey
  204. 1> SuperView -l -w400 Mickey
  205.  
  206.  
  207.  If you want to save this information to disk or printer,  you may 
  208. redirect the output:
  209.  
  210. 1> SuperView >Prt: -d -l df1:
  211.  
  212. This line will show each picture on drive df1: and list the information 
  213. to the printer.
  214.  
  215.  
  216. -m<x>   Select view modes  
  217. h = HAM 
  218. r = HiRes 
  219. l =Lace
  220. b = HalfBrite
  221.  
  222. This will allow you to change any display modes that you want.  The 
  223. display modes that are supported are,  Hi-Res (640 display), 
  224. Lace (interlace), HAM (Hold And Modify), and Extra-HalfBrite.  If you 
  225. just select -m option without any letters following it, all modes will be 
  226. cleared.  If the modes are clear, you will get a standard lo-res screen.  
  227. This is good for taking a Hi-Res, Lace picture and making it Lo-Res.
  228.  
  229. Example:
  230.  
  231. 1> SuperView -w320 -h200 -m Mickey
  232. 1> SuperView -w320 -h200 -ml Mickey
  233.  
  234. This will give you a 320 X 200 picture of Mickey that you can scroll 
  235. around in.  
  236.  
  237. -o   Override the Auto Overscan 
  238.  
  239. This will cause SuperView to display the picture exactly like the IFF 
  240. file said to.  No attempt to size or place the picture is made.
  241.  
  242. Example:
  243.  
  244. 1> SuperView -o Spray
  245.  
  246.  
  247. -p   Disables Pointer Clearing
  248.  
  249. If you don't want your pointer to disappear when showing the picture,  
  250. then use this option.
  251.  
  252. Example:
  253.  
  254. 1> SuperView -p Mickey
  255.  
  256.  
  257. -r   Repeat command line
  258.  
  259. This will cause SuperView to repeat the command line in a loop.  With 
  260. this option, the -s and -d or -f options, you can make a slide show.  
  261. This is the only option that you put after everything else and everything 
  262. past the -r is ignored.  The only way to stop this is to hit the ESC key.
  263.  
  264. Example:
  265.  
  266. 1> SuperView Mickey Spray -r
  267. 1> SuperView -s10 Mickey -s5 Spray -r
  268.  
  269.  
  270. -s<n>  Display picture for n seconds
  271.  
  272. This option will remove the picture after n seconds.  You can still 
  273. continue by pressing the right mouse button or ESC key.  This option 
  274. and the -d option work well together.
  275.  
  276. Example:
  277.  
  278. 1> SuperView -s10 Mickey
  279. 1> SuperView -s10 -d df1:
  280.  
  281.  
  282.  
  283.  
  284. -x<n>Change the position of the display area x
  285. -y<n>Change the position of the display area y
  286.  
  287. The -x and -y options are used to position the display area on the screen. 
  288. For overscan, you need to shift the picture to the left and up from the 
  289. normal 0x 0y so you use  -x-16 to shift left and -y-8 to shift up. Also, 
  290. if you want to change the display size with the -w and -h options, you 
  291. can center the smaller screen with these options.
  292.  
  293. Example:
  294.  
  295. 1> SuperView -x20 -y10 Mickey
  296. 1> SuperView -w200 -h100 -x60 -y50 Spray
  297.  
  298.  
  299. If you have any problems with the program, you can leave me a message
  300. on AmigaLine BBS at (405) 354-8061....
  301.  
  302.  
  303.  
  304.  
  305.  
  306.