home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / PMV86A.ZIP / PMVIEW.DOC < prev    next >
Text File  |  1994-01-14  |  41KB  |  918 lines

  1. INTRODUCTION
  2. ============
  3. This is the documentation for PMView BETA VERSION 0.86a. You don't have
  4. to read this file if you don't want to, though you might miss out on
  5. some useful information.
  6.  
  7. PMView 0.86a has several interesting new features. I'll document a few of
  8. them quickly in the next section:
  9.  
  10. NEW FEATURES
  11. ============
  12.  
  13. 1) You can now create a slideshow by dragging multiple images from the
  14. File Open Container. This should make it easier to get started with
  15. slideshows.
  16.  
  17. 2) A Slideshow Controller, to make it easier to *control* the slideshow
  18. while you're running it.
  19.  
  20. 3) Support for three new file formats: PC Paint/Pictor PIC format,
  21. Encapsulated Postscript 2.0 conforming files with TIFF preview, and
  22. Kodak Photo-CD support. Note that the last can take a *lot* of memory
  23. (see Appendix 4).
  24.  
  25. 4) You can now choose how you want files sorted in the FOC, and you can
  26. also sort images in a slideshow.
  27.  
  28. 5) You can now switch in and out of Fullscreen mode by double-clicking
  29. on your image.
  30.  
  31. 6) And about a half-dozen bug and "feature" fixes.
  32.  
  33. There are probably other additions that have slipped my mind for the
  34. moment. The user interface for slideshows (and simple file open
  35. operations) has been improved again. File saves are still a bit grungy,
  36. but that *will* be fixed in 0.87.
  37.  
  38.                            *      *      *
  39.  
  40. Let me introduce myself. I'm Raja Thiagarajan, Official Documenter (tm)
  41. of PMView. Peter Nielsen, who wrote PMView, asked me to write the docs.
  42. I'd appreciate any comments or questions about these docs, just as
  43. Peter would appreciate any comments or questions about PMView itself.
  44. Both of our electronic mail addresses are in Appendix 1 at the end of
  45. this file; Peter's address can also be found by selecting _Help _About
  46. from the PMView menu.
  47.  
  48. If you have a uudecoder and an electronic mailbox that can be reached
  49. from the Internet, you can join our beta program by sending me an
  50. e-mail message. It doesn't cost anything; we just expect you to fill
  51. out an e-mailed survey form and give us bug reports (or other
  52. feedback!) on new versions of PMView as they're released. To join our
  53. beta program, just drop me a line at sthiagar@nickel.ucs.indiana.edu.
  54.  
  55. All the above provisions are void where prohibited, and subject to
  56. change (though that's not likely).
  57.  
  58. Please read the License and Warranty information in LICENSE.DOC. If
  59. you've read some of the repressive provisions of other companies'
  60. software, you may be in for a pleasant surprise.
  61.  
  62. (I'll just make one short comment here: Since PMView is shareware, you
  63. are permitted [even encouraged!] to pass on the PMView ZIP file. You
  64. may NOT modify this file, or pass on any of its individual components.)
  65.  
  66. PROGRAM REQUIREMENTS
  67. ====================
  68. To use this program, you *must* be running OS/2 2.0 or later. We
  69. strongly recommend OS/2 2.1, though 2.0 with the *second* Service Pack
  70. may be adequate. PMView is a fully 32-bit program. (This is part of the
  71. reason PMView is so fast. The other part is because Peter has spent
  72. literally *hundreds* of hours fine-tuning the decoding routines by
  73. hand, in Pentium assembly language.)
  74.  
  75. USING THE PROGRAM
  76. =================
  77. To use the program, set the PMVIEW_INI environment variable (see the
  78. next section), place PMVIEW.EXE somewhere on your path and enter the
  79. command
  80.  
  81.     PMVIEW [flag(s)] [filename]
  82.  
  83. where "flag(s)" and "filename" are optional. The flags are documented
  84. two sections below this one. "Filename" is an optional name of a file
  85. you want to view. (If you don't  provide a filename, PMView will start
  86. up with a black screen.) The filename can include a drive, directory
  87. path, or both. If you don't give an extension, PMView will try to
  88. "guess" it anyway. (Specifically, if you leave off the extension and
  89. PMView can't find a file with that name, it'll try the extensions .BMP,
  90. .GIF, .JPG, .TGA, and .PCX, in that order. You can modify this using
  91. the _Extensions page on PMView's options notebook.)
  92.  
  93. ENVIRONMENT VARIABLES
  94. =====================
  95. To backtrack a little, there is an OS/2 environment variable that
  96. PMView uses: PMVIEW_INI. This variable specifies the filename
  97. (including full path) that PMView should use for storing its options.
  98. If this environment variable is not set, PMView will create the file
  99. PMVIEW.INI in the current directory and store its information there.
  100. Thus, if you don't want *lots* of copies of PMVIEW.INI scattered around
  101. your hard drive, we recommend that you put the line
  102.  
  103.    set PMVIEW_INI=C:\OS2\PMVIEW.INI
  104.  
  105. in your CONFIG.SYS. (Of course, you can use any other path or filename
  106. that you want; we find it convenient to keep all our OS/2 INI files in
  107. one place.)
  108.  
  109. FLAGS
  110. =====
  111. There are 14 optional flags that you can use when invoking PMView. You
  112. can specify the flags in any mix of upper and lower case. Only the
  113. first three letters are important (which is why they're capitalized
  114. below). Here's the complete list of command-line switches:
  115.  
  116. /INIfile=filepath: This overrides the value of the PMVIEW_INI
  117.    environment variable and specifies the path and name of the file
  118.    where PMView should read and store its options. This could be useful
  119.    if you wanted different PMView sessions to use different settings.
  120.  
  121. /LOGfile=filepath: This specfies the path and name of the "log file"
  122.    where PMView should store debugging information in case it crashes.
  123.    If you contact us with a bug report, we may want to know what your
  124.    log file says.
  125.  
  126. /IDLeload: This specifies that PMView should use idle-time loading
  127.    (with priority boost). This is the default.
  128.  
  129. /NOIdleload: This specifies that PMView should *not* use idle-time
  130.    loading but should use ordinary (higher) priority instead. This will
  131.    tend to speed up the PMView session, but slow down everything else
  132.    that is running in OS/2 at the same time.
  133.  
  134. /PALettemanager: This specifies that PMView should use Palette Manager
  135.    if it is available. (Palette Manager is available on most 256-color
  136.    displays and improves their picture quality greatly.)
  137.  
  138. /NOPalettemanager: This specifies that PMView should *not* use Palette
  139.    Manager, even if it is available.
  140.  
  141. /RED=num: This specifies a level for RED balance. The number can be
  142.    from -100 (no red) to 100 (maximum red).
  143.  
  144. /GREen=num: This specifies a level for GREEN balance. The number can be
  145.    from -100 (no green) to 100 (maximum green).
  146.  
  147. /BLUe=num: This specifies a level for BLUE balance. The number can be
  148.    from -100 (no blue) to 100 (maximum blue).
  149.  
  150. /BRIghtness=num: This specifies a level of brightness. The number can
  151.    be from -100 (minimum brightness) to 100 (maximum brightness).
  152.  
  153. /CONtrast=num: This specifies a level of contrast. The number can be
  154.    from -100 (minimum contrast) to 100 (maximum contrast).
  155.  
  156. /COLor=num: This specifies a level of color. The number can be
  157.    from -100 (minimum color) to 100 (maximum color).
  158.  
  159. /GRAyscale: If this flag is specified, PMView will start in grayscale
  160.    mode.
  161.  
  162. /NEGative: If this flag is specified, PMView will start in negative
  163.    mode.
  164.  
  165. Here's an example. Suppose you want to use e:\inis\pmview.ini for your
  166. INI file, you want to have maximum contrast, you want to be in negative
  167. mode, and you want PMView to start by loading the file CUBE.GIF. You
  168. could do all this by entering
  169.  
  170.     pmview /ini=e:\inis\pmview.ini /con=100 /neg cube.gif
  171.  
  172. at an OS/2 command prompt.
  173.  
  174. PMVIEW COMMANDS
  175. ===============
  176. Here's a list of the menu commands and a comment on what each one does:
  177.  
  178. _File _New: By default, this selects _File _New _Slideshow and puts you
  179. into slideshow mode. However, you can select _File _New _Image and go
  180. back into image mode.
  181.  
  182. _File _Open: This starts a dialog box that lets you open (i.e., load
  183. and look at) a new file. The large white area in the lower left is the
  184. File Open Container (FOC). For more information on the FOC, we urge you
  185. to read TUTORIAL.DOC.
  186.  
  187. Initially, PMView will list all the *.BMP, *.EPS, *.GIF, *.JPG, *.PIC,
  188. *.PCD, *.SHW, *.TIF, and *.TGA files in the current directory. To
  189. change this, type the filename filter you want in the "Open Filename:"
  190. area and then press ENTER or click the "Open" button. For instance, to
  191. get a list of GIF files that start with "ray", enter RAY*.GIF and click
  192. "Open". You can put several of these together, separated by semicolons
  193. (";"). So, for instance, "RAY*.GIF;*.BMP" will list all the files that
  194. either start with "RAY" and have the extension "GIF" *or* have the
  195. extension "BMP."
  196.  
  197. A shortcut for selecting one of these extensions is to pick it off the
  198. "Type of file:" list. Check it out.
  199.  
  200. You can use the ^O (that is, Control-O) shortcut key to display the
  201. File Open dialog at any time, as long as a slideshow isn't running. ^O
  202. will work even if PMView is in Full Screen mode (e.g., after hitting
  203. F3) or iconified. If you have the "Override system colors in fullscreen
  204. mode" option set, this dialog will appear, but it will *not*
  205. necessarily be readable. That's *why* overriding system colors isn't
  206. the default.
  207.  
  208. _File _Reopen: This reloads your current file from disk, which means
  209. any changes you had made to it (or your view of it) are lost.
  210.  
  211. _File _Save: This feature doesn't work in the unregistered version. In
  212. the registered version of 0.86, this will save your current slideshow
  213. (if you're in slideshow mode) or it will let you do a "quick BMP dump"
  214. of your current image. In version 0.87, you should be able to write
  215. files in (almost) every format that PMView can read. (Right now, it
  216. doesn't look like we'll be able to support PhotoCD writes.)
  217.  
  218. (Note that while PMView currently only saves as BMP, we also offer a
  219. freeware program, BMPGIF/2, that quickly converts BMP files to GIF
  220. format [except for 24-bit BMP files, since GIFs only handle up to 256
  221. colors]. You should be able to find BMPGIF/2 where you found PMView.)
  222.  
  223. _File Save _as: This doesn't work in the unregistered version. In the
  224. registered version, it currently does exactly the same thing as _File
  225. _Save.
  226.  
  227. _File _Delete: This deletes the file that you're viewing. See BUGS.DOC
  228. for a note about a "feature" of WPS that affects this. You can use ^D
  229. as a shortcut.
  230.  
  231. _File R_un: In Slideshow mode, this starts the current slideshow. Check
  232. SLIDESHW.DOC for details.
  233.  
  234. _File E_xit: This quits PMView and returns you to OS/2. ^X is the
  235. shortcut key.
  236.  
  237. _Edit: These commands handle undo/redo, or copying images to and from
  238. the OS/2 clipboard.
  239.  
  240. _Edit _Undo: This will (usually) undo the last change you made. You can
  241. use Alt+Backspace as a shortcut key for this command.
  242.  
  243. _Edit _Redo: This "undoes the undo". Alt+Enter is the shortcut.
  244.  
  245. The other three _Edit commands copy images to or from the OS/2
  246. clipboard. By default, PMView will ask if you want to copy palette
  247. information to the clipboard for 256-color images. Copying palette
  248. information will improve the display in the program where you paste --
  249. but only if that program understands palettes. If you aren't sure, try
  250. copying twice -- one with the palette and once without -- and use
  251. whichever looks better.
  252.  
  253. _Edit _Cut: This removes the current image from PMView (giving you an
  254. empty window) and puts it on the clipboard.
  255.  
  256. _Edit _Copy: This puts a copy of the current image on the clipboard
  257. (without removing it from PMView).
  258.  
  259. _Edit _Paste: This pastes the image that is currently on the clipboard
  260. into PMView. 
  261.  
  262. _Transform: These commands change the image that you have loaded in
  263. PMView. (The original copy on your disk is unaffected, of course.)
  264.  
  265. _Transform _Mirror: This has three options: Horizontal, Vertical, and
  266. Diagonal.
  267.  
  268.     Horizontal: This reverses left and right on the image. If you
  269.         had an image of a left parenthesis, it would look like a right
  270.     parenthesis.
  271.  
  272.     Vertical: This turns the image upside down. If you had an image
  273.     of a big "M", it would look like the image of a big "W".
  274.  
  275.     Diagonal: This transforms left to right and up to down
  276.     simultaneously. The effect is identical to a 180 degree
  277.     rotation. If you had an image of an arrow pointing northeast,
  278.     it would now point southwest.
  279.  
  280. _Transform _Rotate: This has four options: 90 deg _Clockwise, 90 deg
  281. Counterclock_wise, 180 deg _Upside down, and _Arbitrary angle.
  282.  
  283.     90 deg _Clockwise: This rotates the image clockwise by
  284.     90 degrees. An arrow that pointed up would now point right.
  285.  
  286.     90 deg Counter CounterClock_Wise: This rotates the image
  287.     counterclockwise by 90 degrees. An arrow that pointed up would
  288.     now point left.
  289.  
  290.     180 deg _Upside down: This rotates the image 180 degrees. It is
  291.     the same as "Mirror Diagonal"; that is, an image of a northwest
  292.     arrow would now point southeast.
  293.  
  294.     _Arbitrary angle: This opens a control that lets you rotate
  295.     the image by an arbitrary clockwise angle. For example, if you
  296.     enter "27," your image will be rotated 27 degrees clockwise.
  297.  
  298. _Transform _Size: This opens a control that changes the actual size of
  299. the image. You can specify the new size of the image in pixels or
  300. percentage (%). If Keep Proportional is checked (the default), the new
  301. image will have the same proportions as the original (eg, a circle
  302. would still be a circle).
  303.  
  304. _Transform _Quick Dither: This does a quick job of reducing an image to
  305. OS/2's default palette. If you want to save an image to use as a
  306. background for your desktop or a folder, doing a quick dither on it
  307. first may improve its appearance. If you plan to also size the image,
  308. do quick dithering *last*. You CANNOT undo a quick dither!
  309.  
  310. _Color: These commands change the colors in your image. (Your pixel
  311. data will also change to go along with the changing colors.)
  312.  
  313. _Color _Brightness/Contrast: This opens a control that lets you adjust
  314. the brightness, contrast, and color ("chroma") of your image.
  315. Brightness and contrast work pretty much the way they do on most TV
  316. sets. Color lets you adjust how much color appears in the image (some
  317. TV sets have this control). If you turn the color all the way down,
  318. you'll get a black-and-white image.
  319.  
  320. Peter notes that if you're handling 24-bit images and don't use the
  321. Palette Manager, you should adjust color *last*. This is because the
  322. other adjustments take *twice* as long when color has been moved away
  323. from 0%. To reiterate: If you're running OS/2 in 24-bit (or 15- or
  324. 16-bit) mode, or if you've loaded a 24-bit image (i.e., a Targa, JPEG,
  325. or 24-bit BMP image) and have disabled Palette Manager, change color
  326. *last*.
  327.  
  328. If you change your mind later, you can come back to this control and
  329. press the Reset button. This will return you to your original settings
  330. for brightness, contrast, and color.
  331.  
  332. _Color _RGB Balance: This opens a control that lets you adjust the
  333. relative strengths of red, green, and blue in your image. As with
  334. _Brightness/Contrast, you can use Reset if you change your mind later.
  335.  
  336. _Color _Negative: If you turn this on, you will see a "negative" of
  337. your image; for example, black pixels will become white. Select it
  338. again to turn it off.
  339.  
  340. _Color _Grayscale: If you turn this on, you will not see any color in
  341. your image, only shades of gray. (You can get the same effect by
  342. turning the color setting all the way down.) Select it again to turn it
  343. off.
  344.  
  345. _View: The first four of these commands change how you see the image,
  346. but don't actually change the image itself. The other two change your
  347. PMView options.
  348.  
  349. _View _Zoom: This opens a secondary menu that lets you zoom in or out
  350. on your image or jump directly to certain zoom factors. For instance,
  351. to zoom in so that your image is twice normal size, type ^2. In
  352. general, the Control key zooms you in, and the Alt key zooms you out.
  353.  
  354. _View _Full Screen: Choosing this command (or pressing F3) erases your
  355. WHOLE screen (and not just the PMView window) and draws the image on
  356. it. F3 acts like a toggle; pressing it again redraws the screen and
  357. puts the image "back" in the PMView window.
  358.  
  359. (Why would you want to do this? If you have an image that's as large as
  360. the whole screen, you won't be able to see it while you have PMView's
  361. window border, menu bar, title bar, etc. on the screen. For instance,
  362. if you installed the optional bitmaps with OS/2, try loading
  363. OS2LOGO.BMP. You won't be able to see the whole image because it's too
  364. big. Now press F3. The whole image will be visible. Press F3 again to
  365. go back to having the image in the PMView window.)
  366.  
  367. In addition to pressing F3, you can also double-click on your image to
  368. switch to Fullscreen mode and back.
  369.  
  370. PMView's options notebook has a _Fullscreen page that has three
  371. settings to handle centering or scaling the image when you press F3.
  372. See below under _View _Options for more information.
  373.  
  374. _View Fit _Image: Choosing this command (or pressing F4) will shrink or
  375. grow the window so that you can see the whole image and nothing but.
  376. Unless:
  377.    1) The image is too big (in which case you should try F3 instead), OR
  378.    2) The image isn't wide enough (PM will NOT let the window become
  379.      too narrow for the menu bar), OR
  380.    3) You have "Never" selected as your option in "Automatically Adjust
  381.       Window Position" (on the _Window page of PMView's options notebook)
  382.       and the only way to show the whole image would be to move the
  383.       window. (This might happen if your window is positioned too close to
  384.       the right or bottom edge of the screen.) In this case, you can change
  385.       the option to "When required"; see the _View S_ettings documentation
  386.       below.
  387.  
  388. _View _Refresh: Choosing this (or pressing F5) will redraw the image in
  389. the window. You may want to do this if (for whatever reason) the image
  390. gets corrupted. (Under OS/2 2.0, there was a screen driver bug that
  391. would corrupt the image when a menu dropped down on it; that bug has
  392. been thankfully fixed in OS/2 2.1.)
  393.  
  394. _View Menu _Bar: If you're a fan of CUA '91, you can turn off PMView's
  395. menu bar by selecting this command (or pressing Ctrl+B). You can turn
  396. the menu bar back on by pressing Ctrl+B again. When the menu bar is
  397. gone, how do you select commands? By moving to the middle of PMView's
  398. window and clicking the right mouse button. You can select *any* PMView
  399. command from the resulting popup menu.
  400.  
  401. _View _Options: This opens a notebook that lets you control PMView's
  402. many options. Taking one page at a time:
  403.  
  404.    _View:
  405.  
  406. -- _Center image if it is smaller than window: If set, PMView will draw
  407. an image that's smaller than its window in the center of the window. If
  408. not set, PMView will draw the image in the upper left corner.
  409.  
  410. -- Zoom image to _fit window: If set, then whenever you load an image
  411. or resize PMView's window, PMView will zoom the image so that it fits
  412. perfectly either horizontally or vertically in the window. Otherwise,
  413. the image will always be drawn at "actual size" until you use a Zoom
  414. command. All zooming in PMView is proportional; circles will *always*
  415. stay circles.
  416.  
  417.    _Fullscreen:
  418.  
  419. -- _Center image if it is smaller than screen: If set, PMView will
  420. center the image when drawing in Full Screen Mode. Othewise, the image
  421. will be drawn in the upper left corner of the screen.
  422.  
  423. -- Zoom image if it is _larger than screen: If set, PMView will zoom
  424. out so that your image will fit onscreen, if necessary. As mentioned
  425. above, zooming is done proportionally.
  426.  
  427. -- Zoom image if it is _smaller than screen: If set, PMView will zoom
  428. in so that your image will reach completely across the screen either
  429. vertically or horizontally. Again, zooming is proportional.
  430.  
  431. -- _Hide mouse pointer: If set, PMView will initially hide the mouse
  432. pointer when you enter Fullscreen mode. See below under "Special Keys
  433. in PMView" for more information on turning the mouse pointer off and
  434. on.
  435.  
  436. As is noted on the page, two other options that modify Full Screen mode
  437. can be found elsewhere.
  438.  
  439.    _Window:
  440.  
  441. Automatically adjust window size and position:
  442.  
  443. -- When _loading a new image: If set, PMView will automatically adjust
  444. the window's size and position to display newly-loaded images at actual
  445. size. 
  446.  
  447. -- When _editing or zooming: If set, PMView will adjust the window's
  448. size and position if it's appropriate during an edit or zoom operation.
  449. For instance, if you take a tall, narrow image and rotate it, it will
  450. become a short, wide image. If this option is set, PMView's window will
  451. resize (and possibly move) accordingly. Otherwise, you might get a
  452. horizontal scroll bar and some blank space in your window.
  453.  
  454. Automatically adjust window position:
  455.  
  456. o _Never
  457. o When _required
  458. o _Always move to upper left corner
  459.  
  460. If you pick the first option, the upper left corner of PMView's window
  461. will never budge. If you pick the second option, PMView will leave the
  462. upper left corner in place *unless* moving it a short distance will let
  463. you see your whole image. Then it will move. Finally, "Always move to
  464. upper left corner" means that your window will move to the upper left
  465. corner of your screen every time you hit F4 (or load a new image, if
  466. the first option on this page is checked).
  467.  
  468. _Loading:
  469.  
  470. Loading/Startup options:
  471. o Startup _minimized (iconized)
  472. o N_ormal
  473. o _Fullscreen each loaded image automatically
  474.  
  475. If you pick the first option, PMView will start up minimized when you
  476. *first* load it. The second option will make it start up with the size
  477. of the image you specify on the command line (or the size it was when
  478. it last closed). (To make it do this *every* time it loads an image,
  479. select "When loading a new image" on the window page.) The last option
  480. will make PMView go into Full Screen mode *every* time it loads an
  481. image.
  482.  
  483. (Why would you want to start up PMView iconified? Suppose you have
  484. associations set in OS/2 so that whenever you double-click on the name
  485. of a GIF file, it starts up PMView automatically. It's quite convenient
  486. to be able to double-click on *several* GIF files and have each one
  487. appear as an icon at the bottom of your screen, so you can pick which
  488. ones to look at *after* they're done loading. One of our beta testers
  489. wanted this feature, so here it is.)
  490.  
  491. Progress indicator options:
  492. o _Never show progress indicator
  493. o _Hide when PMView is started with a filename
  494. o _Always show progress indicator
  495.  
  496. These options decide the visibility of the progress indicator, that
  497. sliding bar that some people love and some people hate. Select the
  498. first option if you hate seeing it, select the last if you like seeing
  499. it. If you select the second option, PMView will display the progress
  500. indicator *except* when you first start up with a filename on the
  501. command line.
  502.  
  503. _Directory:
  504.  
  505. On this page you can type the paths for the default load directory
  506. (where PMView will initially go the first time you do a _File _Open)
  507. and the default save directory (where PMView will save files by
  508. default). File saves are *not* enabled in the unregistered version of
  509. PMView.
  510.  
  511. _Extensions:
  512.  
  513. This page is allows you to change the ordering, lettering, or comments
  514. on the extensions that PMView loads. For instance, if you're running
  515. HPFS and use the extension .JPEG for your JPEG files, you can type
  516. "JPEG" in the Extension field, type "My JPEGs" in the description
  517. field, and click "Ok >>". Then whenever you do a _File _Open, PMView
  518. will *also* display files with the extension of *.JPEG. What's more "My
  519. JPEGs" will appear in the Type of File list. *And* if you enter PMVIEW
  520. filename at an OS/2 prompt, PMView will be able to add the .JPEG
  521. extension automatically. Way to go, Peter!
  522.  
  523. _Palette:
  524.  
  525. -- Use _palette manager: If on, PMView will use the palette manager to
  526. display images. (Of course, if you don't have palette manager support,
  527. this option won't be available. Systems with fewer or more than 256
  528. colors do not have Palette Manager support.)
  529.  
  530. -- _Smooth palette change in adjustment dialogs: If on, PMView will use
  531. palette animation to show brightness/contrast/saturation or color
  532. adjustment changes *in real time*. Pretty nifty!
  533.  
  534. -- Copy palette to _Clipboard: This is a three-state box. If it's
  535. checked, PMView will *always* copy the palette to the clipboard without
  536. asking for your permission. If it's unchecked, PMView will *never* copy
  537. the palette to the clipboard. And if it's gray, PMView will ask you
  538. whenever it copies an image to the clipboard.
  539.  
  540. -- _Override system colors in Full Screen mode: If on, PMView will use
  541. all 256 colors in Full Screen mode, rather than letting OS/2 reserve 20
  542. for the user interface. Of course, if you chose this option and then
  543. type ^O, you may not be able to read the resulting dialog box....
  544.  
  545. -- Dither colors if palette manager is disabled: If on, PMView will try
  546. to dither colors if Palette Manager is disabled or unavailable. If off,
  547. it won't. Try turning this *on* for systems with 256 colors or fewer,
  548. or *off* if you have more than 256 colors.
  549.  
  550. _Color: These options control two options that apply to 24-bit images.
  551. If you change one of these options, it won't affect the current image
  552. unless you do a _File _Reopen.
  553.  
  554. -- _Count colors for 24-bit images: If this is on and you load a 24-bit
  555. image, PMView will start a background thread to count how many colors
  556. actually were in the image. Beware! Turning this on can eat a *lot* of
  557. memory (theoretically speaking, an optimal 24-bit color counter could
  558. need up to 2MB of RAM to run).
  559.  
  560. -- Use _Floyd-Steinberg Dither when Quantizing: If this is on, PMView
  561. will use Floyd-Steinberg dithering when converting an image from 24-bit
  562. to 256 (or fewer) colors. Floyd-Steinberg dithering usually makes
  563. "real-life" images (e.g., pictures of people) look better, but it can
  564. sometimes make computer-generated graphics (e.g., stark ray-traced
  565. pictures) look worse.
  566.  
  567. Photo _CD:
  568.  
  569. These options are for use with Photo CD images. Note that Photo CD
  570. images can take a *lot* of memory (see Appendix 4).
  571.  
  572. Default resolution
  573. o 192 x 128
  574. o 384 x 256
  575. o 768 x 512
  576. o 1536 x 1024
  577. o 3072 x 2048
  578.  
  579. Photo CD images actually store *five* copies of each picture, one for
  580. each resolution above. You should select the resolution you want by
  581. default (beware! The highest resolution can require 19MB of RAM to
  582. decode!)
  583.  
  584. -- Ask for resolution before loading image: If on, PMView will ask you
  585. which resolution you want before you load a Photo CD image.
  586.  
  587.  
  588. Spe_cial:
  589.  
  590. -- Use PMView's _own scaling routines: If on, PMView will use its own
  591. scaling routines rather than using the ones built into the screen
  592. driver. This option is less important than it used to be because of the
  593. bug fixes built into OS/2 2.1. However, you may still want to try it
  594. because it tends to be *faster* than OS/2's built-in routines. (But it
  595. will take up more memory.)
  596.  
  597. -- Use _idle time loading and saving: If on, PMView will use the lowest
  598. priority in OS/2 when it loads and saves files. In PMView versions
  599. before 0.86, this could be a problem because if you were running a
  600. "greedy" OS/2 or DOS program that required lots of CPU power to run,
  601. PMView could get "stuck" and never finish loading. But one of the major
  602. advances in PMView 0.86 is a clever system that will "boost" PMView's
  603. priority if PMView hasn't accomplished anything for two seconds. If you
  604. are continually running greedy programs and hate waiting the extra two
  605. seconds, you may want to disable idle-time loading. Otherwise, we
  606. recommend that you leave it on.
  607.  
  608. Whew! We're done with the options notebook! If you think it took a
  609. long time to read all that, just imagine how long it took me to *write*
  610. it ;-). On to the last menu, which is _Help.
  611.  
  612. PLEASE NOTE THAT WE HAVE NOT YET FINISHED THE ONLINE HELP FOR PMVIEW.
  613. COMPLETE ONLINE HELP WILL BE AVAILABLE IN VERSION 0.87.
  614.  
  615. _Help _Image Info: This gives you various statistics about your current
  616. image: The name and size of the file it was taken from (0 if it came
  617. from the clipboard), that file's image format, the size of the image in
  618. pixels, how much RAM the image is currently taking up in your system
  619. (this is usually the height times the width [rounded up to the nearest
  620. multiple of four] times your screen's color depth), the file's "color
  621. space," and how many colors are in the image. To enable the last, go to
  622. the _color page in the options notebook, and turn on _Count colors for
  623. True Color images (24-bit). Beware! Counting colors can take a *lot* of
  624. RAM.
  625.  
  626. _Help _System Info: This gives information on your system's current
  627. status: what version of OS/2 PM you're running, what your machine type
  628. (model and submodel) are, whether your display is color, how wide and
  629. tall your desktop is (in pixels), how many bits and planes per pixel
  630. your current screen mode is using, how many colors you have, how many
  631. physical colors you have, whether your screen mode supports Palette
  632. Manager, how much physical RAM you have, what type of CPU you have, and
  633. whether you have a coprocessor.
  634.  
  635. _Help _About PMView: Finally, this displays product information about
  636. PMView, as well as information about how to register the program. If
  637. you like PMView, please support shareware by registering it. Registered
  638. versions of PMView will include working _File _Save (and _File Save
  639. _As) commands, a niftier icon, and probably some other extras as well.
  640.  
  641. SPECIAL KEYS IN PMVIEW
  642. ======================
  643. In addition to the menu commands given above, we have a few special
  644. keys in PMView.
  645.  
  646. You can turn the menu bar on and off by typing ^B. You can always
  647. access the same commands that are in the main menu by clicking the
  648. right mouse button in PMView's main window.
  649.  
  650. While you are in Fullscreen mode, you can turn the mouse pointer off
  651. and on by typing ^M. This will only work while you're in Fullscreen
  652. mode, and only while PMView has the focus.
  653.  
  654. If you have scrollbars visible, you can scroll around via the keyboard.
  655. The up, down, right, and left arrows move 8 pixels in the direction
  656. you'd expect. Alt and an arrow moves 1 pixel. Ctrl and an arrow moves a
  657. screenful. Thus, if your PMView window is 200 pixels tall and you type
  658. ^Up, your viewport will move 200 pixels up.
  659.  
  660. In addition to the arrow keys, PgUp and PgDn are "synonyms" for ^Up and
  661. ^Dn respectively. ^PgUp and ^PgDn move all the way up and down.
  662. Finally, Home moves your viewport all the way to the left, and End
  663. moves it all the way to the right. (To move one screenful left or
  664. right, use ^Left or ^Right.)
  665.  
  666. The scrolling keys may sound confusing, but they're really what you'd
  667. expect. If you want to keep it simple, just stick to the arrows, and
  668. remember that Alt moves a smaller amount and Ctrl moves a larger amount
  669. (just like Alt zooms to make a smaller image, and Ctrl zooms to make a
  670. larger image).
  671.             *    *    *
  672.  
  673. If you've made it this far, congratulations. Here's a cute trick for
  674. you to try: Create a thumbnail for one of your image files (see the
  675. tutorial for information on how to do this). Now open the settings
  676. notebook for an icon on your desktop (one whose icon you don't mind
  677. changing). Open the settings notebook and go to the general page. Now
  678. open an OS/2 drives object and look at your image file (which should
  679. have a colorful icon). Finally: Drag that icon onto the "Current icon"
  680. area in the settings notebook. Voila, the icon changes automatically!
  681. This shows how you can use PMView to make very colorful icons quickly
  682. and easily. Thanks to one of our beta testers (whose name I've
  683. forgotten, sorry) for discovering and pointing out this trick.
  684.  
  685. ACKNOWLEDGEMENTS
  686. ================
  687. The Graphics Interchange Format (c) is the Copyright property of
  688. CompuServe Incorporated. GIF (sm) is a Service Mark property of
  689. CompuServe Incorporated.
  690.  
  691. This software is based in part on the work of the Independent JPEG
  692. Group.
  693.  
  694. APPENDIX 1: HOW TO CONTACT US
  695. ==============================
  696. Both Peter and I would love to hear from you. If you have any comments,
  697. suggestions, or wishes for new PMView features, please write to us.
  698.  
  699. Peter can be reached on the Internet at pnielsen@finabo.abo.fi or
  700. pnielsen@aton.abo.fi.
  701.  
  702. Alternatively, you can send Peter a paper letter at Gertrudsgatan 22 D
  703. 73, SF-20520, Turku, Finland. (Take into account the delays of
  704. international mail when you do this!)
  705.  
  706. You can reach me, Raja Thiagarajan, on the Internet at
  707. sthiagar@nickel.ucs.indiana.edu. Generally speaking, I read my Internet
  708. mail almost every day (except for holidays!).
  709.  
  710. If you prefer to support the U.S. Post Office, you can send me paper
  711. mail at 4423 East Trailridge Road, Bloomington, IN 47408-9633. However,
  712. I recommend that you save a tree (and some time) by sending me e-mail
  713. instead.
  714.  
  715. APPENDIX 2: WHERE TO GET NEW VERSIONS OF PMVIEW
  716. ===============================================
  717. When a new version of PMView comes out, the first thing we will do is
  718. send it to registered users. If you give us an e-mail address when you
  719. register, we can e-mail new versions of PMView as soon as they become
  720. available.
  721.  
  722. After e-mailing PMView to registered users, we post a copy to Hobbes on
  723. the Internet. This is the world's best ftp site for finding OS/2
  724. software. Its official designation is ftp.cdrom.com. PMView will be put
  725. in the /pub/uploads directory initially; after a while, it will be
  726. moved to the /pub/os2/2_x/graphics directory.
  727.  
  728. After we have posted a copy to Hobbes, we post a copy to CompuServe, in
  729. Library 4 of the OS2USER forum. So, to find the latest version of
  730. PMView, look on Hobbes and CompuServe.
  731.  
  732. NOTE: The above appendix refers to new release versions of PMView.
  733. Pre-beta releases are sent to our beta testers, as well as any
  734. registered user who wants them. If you want to become a beta tester,
  735. send a bug report (or short note) to sthiagar@nickel.ucs.indiana.edu.
  736. In order to join the beta program, you *must* be able to receive large
  737. (~300K) uuencoded messages at your e-mail address. We reserve the right
  738. to limit the number of beta testers.
  739.  
  740. APPENDIX 3: TECHNICAL SPECIFICATIONS
  741. ====================================
  742. Architecture: 32 bit, dynamic number of threads
  743. Internal image format: 8 and 24 bit
  744. Transformations: All formats
  745. Palette Manager support: Yes, 256 colors (if your display driver
  746.                              supports Palette Manager)
  747. True Color support: Yes, 24 bit, 16.7 million colors or less (if your
  748.                              display driver supports True Color)
  749.  
  750. APPENDIX 4: DETAILED INFORMATION ON FILE FORMATS SUPPORTED
  751. ==========================================================
  752.  
  753. BMP Bitmap file support:
  754. ------------------------
  755.     The following BMP types are supported:
  756.        1. IBM OS/2 1.x bitmaps
  757.        2. IBM OS/2 1.x bitmap arrays
  758.        3. IBM OS/2 2.x bitmaps
  759.        4. IBM OS/2 2.x bitmap arrays
  760.        5. Windows 3.x bitmaps
  761.  
  762.     Bitcounts:
  763.        1, 2, 4, 8 and 24 bit
  764.  
  765.     Compressions:
  766.         1 bit: HUFFMAN_1D (types: 3,4)
  767.         4 bit: RLE_4      (types: 3,4,5)
  768.         8 bit: RLE_8      (types: 3,4,5)
  769.        24 bit: RLE_24     (types: 3,4)
  770.  
  771. EPS Encapsulated PostScript file support:
  772. -----------------------------------------
  773.     For now, only EPSF-2.0 conforming files with TIFF-preview are
  774.     supported.
  775.  
  776.     Future PMView versions may support the newer EPSF-3.0 device
  777.     independent EPS Interchage file format (EPSI).
  778.  
  779. GIF Graphics Interchange Format file support:
  780. ---------------------------------------------
  781.     Versions 87a, 89a
  782.     Bitcount: 1..8
  783.  
  784. JPEG File interchage Format support:
  785. ------------------------------------
  786.     JFIF: Support in accordance with the Independent JPEG Group's
  787.     revision 4.0a.
  788.  
  789. PCD Kodak Photo-CD support:
  790. ---------------------------
  791.     The following image sizes are supported. (Approximate memory needed
  792.     for decoding in parentheses.)
  793.  
  794.     192 x 128   (73,728 bytes)
  795.     384 x 256   (294,912 bytes)
  796.     768 x 512   (1,179,648 bytes)
  797.     1536 x 1024 (4,784,128 bytes)
  798.     3072 x 2048 (19,070,976 bytes)
  799.  
  800.     All image orientations are supported. The images will automatically
  801.     be rotated (without any extra memory overhead) during decoding.
  802.  
  803.     Thumbnails will be loaded from /PHOTO_CD/OVERVIEW.PCD if it is
  804.     available.
  805.  
  806.     For now, no option for automatically loading/showing the startup
  807.     file /PHOTO_CD/STARTUP.PCD is provided. However, if required, it
  808.     can be viewed just by changing the directory.
  809.  
  810. PCX ZSoft Paintbrush file support:
  811. ----------------------------------
  812.     The following PCX revisions are supported:
  813.         Version 2.5 of PC Paintbrush
  814.         Version 2.8 with or w/o palette
  815.         Version 3.0
  816.         Version 5.0 including 24-bit PCX
  817.  
  818.     Images up to 8-bit color depth [bits*planes <= 8]:
  819.         1, 2, 4 or 8 bits
  820.         1, 2 or 4  planes
  821.  
  822.     Support for 24-bit images (PCX rev 5.0):
  823.         3 planes
  824.         8 bits
  825.  
  826. PIC PC Paint/Pictor PIC file support:
  827. -------------------------------------
  828.     Images up to 8-bit color depth [bits*planes <= 8] :
  829.         1..8 bits
  830.         1..8 planes
  831.  
  832.     Extended support for 24-bit images:
  833.         3 planes
  834.         8 bits
  835.  
  836. TIFF Tagged Interchange File Format support:
  837. --------------------------------------------
  838.     Full support for Tiled Images.
  839.     Full baseline support conforming with the TIFF 6.0 specification:
  840.     Both Intel and Motorola byte orders are handled.
  841.  
  842.     Class B     Bilevel images
  843.         SamplesPerPixel                 = 1
  844.         BitsPerSample                   = 1
  845.         PlanarConfiguration             = Single
  846.         Compression                     = None, CCITT 1D, PackBits
  847.         PhotometricInterpretation       = Min is White, Min is Black
  848.  
  849.     Class G     Grayscale images
  850.         SamplesPerPixel                 = 1..8
  851.         BitsPerSample                   = 1..8
  852.         PlanarConfiguration             = Single, Separate
  853.         Compression                     = None, LZW
  854.         PhotometricInterpretation       = Min is White, Min is Black
  855.  
  856.     Class P     Palette color images
  857.         SamplesPerPixel                 = 1..8
  858.         BitsPerSample                   = 1..8
  859.         PlanarConfiguration             = Single, Separate
  860.         Compression                     = None, LZW
  861.         PhotometricInterpretation       = Palette RGB
  862.         ColorMap                        = 256 entries or less
  863.  
  864.     Class R     RGB full color images
  865.         SamplesPerPixel                 = 1..3
  866.         BitsPerSample                   = <1..8, 1..8, 1..8>
  867.         PlanarConfiguration             = Single, Separate
  868.         Compression                     = None, LZW
  869.         PhotometricInterpretation       = RGB
  870.  
  871.     Class F     Facsimile
  872.         SamplesPerPixel                 = 1
  873.         BitsPerSample                   = 1
  874.         PlanarConfiguration             = Single
  875.         Compression                     = CCITT Group 3
  876.         PhotometricInterpretation       = Min is White, Min is Black
  877.         FillOrder                       = MSB, LSB
  878.         Group3Options                   = None
  879.  
  880. TGA Truevision Targa file support:
  881. ----------------------------------
  882.     Supported Targa formats:
  883.         1, 2, 3, 9, 10, and 11.
  884.  
  885.         #1 is uncompressed, color-mapped images with 16, 24, or 32-bit
  886.            palette entries
  887.         #2 is uncompressed RGB images with 15, 16, and 24 bit support
  888.         #3 is uncompressed grayscale (256 shades) support
  889.         #9 is RLE color-mapped images with 16, 24, or 32-bit palette
  890.            entries
  891.         #10 is RLE RGB with 15, 16, and 24 bit support
  892.         #11 is compressed grayscale (256 shades) support
  893.  
  894. These are the most popular versions of the above formats. If PMView
  895. fails to load a file that you need, please contact us so we can try to
  896. support your file's format in our next release.
  897.  
  898. APPENDIX 5: DEVELOPMENT SYSTEM
  899. ==============================
  900. If you're curious, Peter Nielsen is developing PMView on the following
  901. system:
  902.  
  903.         IBM PS/2 model 95       486/50MHz
  904.                                 64 Mb RAM
  905.                                 2400 Mb hardfile
  906.                                 XGA-2 + 21" multisync
  907.         IBM OS/2 2.1
  908.  
  909. He's using the following tools:
  910.         IBM C-SET++
  911.         IBM OS/2 developers toolkit
  912.         Microsoft MASM 6.0
  913.         Solution System's BRIEF 3.0 for OS/2
  914.  
  915. Th-th-that's all, folks!
  916.  
  917. Raja Thiagarajan / PMVIEW.DOC / 1-14-94 release
  918.