home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / graphics / picsw101 / picsw101.doc < prev    next >
Text File  |  1993-03-10  |  24KB  |  549 lines

  1. PicSwitch v1.0.1
  2. Graphics File Viewer / Printer
  3. (c)1993 John Brochu for Advanced Software
  4.  
  5. ---------------------------------------------------------------------------
  6.  
  7.  
  8. This is the long-awaited update to PicSwitch, the award-winning graphics
  9. utility from Advanced Software.  This version actually bears no
  10. resemblance to its predecessor, being totally rewritten with a standard
  11. GEM interface with enhancements.  Many new input formats have been added,
  12. as well as a new 'Adjustments' control panel, windowed displays, and
  13. much-enhanced printing support for Epson 9-pin, 24-pin and HP LaserJet
  14. compatibles.
  15.  
  16. This will also, unfortunately, be the final update, since I have retired
  17. from the Atari platform and switched to the Mac.  This version, originally
  18. intended as a commercial release, is a thank you to all the people who
  19. have paid their shareware fee for PicSwitch 0.7, and other shareware
  20. products released since 1985, including ProCalc and Deluxe SlideShow (you
  21. know who you are).  For those who haven't yet paid, and find this version
  22. of use, you are asked to send a very modest $10. payment to the address at
  23. the end of this document.  If I get enough payments, I may be tempted to
  24. come back!
  25.  
  26. It is important to note that this version is more of a display and print
  27. utility, rather than a conversion utility.  The ONLY output format
  28. supported in this release is IMG, and only in monochrome.  But the display
  29. and printing support are very complete and robust.  There are many types
  30. of dithering, for best output on monochrome displays, fully adjustable
  31. brightness, contrast, and scaling, and color optimization for excellent
  32. color rendition in any of the ST video modes.  Support is also provided
  33. for the Crazy Dots video card in 256-color mode (highly recommended!).
  34. Although options exist for all the TT video modes, this has not been
  35. tested.
  36.  
  37. Printing support is also excellent.  Printers supported are Epson 9 and 24
  38. pin printers and compatibles, and HP LaserJet compatibles.  Many options
  39. are provided for dithering, scaling, resolution, and brightness
  40. enhancement.  If you are using a LaserJet, you also have an option (called
  41. tiling) to print as many images as possible on a single page, for
  42. cataloging purposes.  There is also support for Outburst!, a printer
  43. speedup utility by Frank Pawlowski, to dramatically speed up printouts for
  44. many printers.
  45.  
  46. Following is a list of all formats supported by this release:
  47.  
  48. NeoChrome [NEO]
  49. Degas [PI1-3]
  50. Degas Elite [PC1-3]
  51. Tiny [TNY, TN1-3]
  52. Art Director [ART]
  53. Spectrum 512 [SPC, SPU]
  54. Prism Paint [PNT]
  55. GEM IMG [IMG]
  56. Atari Image Manager [IM]
  57. Compuserve GIF [GIF]
  58. Compuserve RLE [RLE]
  59. PC Paintbrush (Monochrome, 16-color, 256-color) [PCX]
  60. Amiga IFF (1-5 planes, HAM) [IFF]
  61. MacPaint [MAC]
  62. Mac StartupScreen [MAS]
  63. Atari Portfolio Graphics File [PGF, PGC]
  64. Atari 8-bit Koala [KOA]
  65. Atari 8-bit MicroPainter [MPT]
  66. Atari 8-bit Graphics 8 [GR8]
  67. Atari 8-bit Graphics 9 [GR9]
  68.  
  69.  
  70.  
  71. ABOUT THE INTERFACE
  72. -------------------
  73.  
  74. PicSwitch was designed from the ground up to be easy and intuitive to
  75. learn and use.  Finding the GEM interface to be too restricting and in
  76. some ways outdated, I have written a library of interface enhancements,
  77. familiar to Mac users, to improve the user interface.  You will find new
  78. radio buttons, checkboxes, popup menus, sliders, and other graphical
  79. elements, as well as internally an optimized memory manager.
  80.  
  81.  
  82.  
  83. ABOUT MEMORY USAGE
  84. ------------------
  85.  
  86. To more effectively manage memory, PicSwitch uses custom memory-management
  87. routines using a system similar to the Macintosh's Memory Manager.  The
  88. benefit is that memory is much more efficiently managed, and the user sees
  89. fewer "Not enough memory" messages.  The amount of memory reserved by
  90. PicSwitch's memory manager when the program is run can be controlled from
  91. the SET PREFERENCES dialog.  This retains compatibility with MultiTOS and
  92. other multi-tasking extensions to TOS.
  93.  
  94.  
  95.  
  96. INTERNAL OPERATIONS
  97. -------------------
  98.  
  99. Internally, PicSwitch translates each image to its own bitmap and
  100. color-palette format.  These formats were chosen to allow both maximum
  101. image and color resolution, and maximum processing speed.  The bitmap
  102. format is packed-pixel format, with 1, 2, 4, 8, or 16 bits per pixel,
  103. while the color palette is stored as 8-bits per RGB color, 32-bits per
  104. palette color.  All imaging routines are fully optimized and hand-coded in
  105. assembly for maximum possible speed.  Color displays are calculated using
  106. a closest-match process that first determines the 'n' most-used colors in
  107. the image, where 'n' is the number of colors available in the selected
  108. display mode, then matches each image color to its closest available
  109. palette color.  The number of colors to use can be limited, as can the
  110. fineness or granularity of the color palette, using the control panel.
  111. You can also choose to display color images as gray-scale images, with or
  112. without dithering.  For monochrome displays, you have many dithering
  113. options available to achieve a high-quality display, true to the original
  114. image.
  115.  
  116.  
  117.  
  118. ABOUT THE MENUS
  119. ---------------
  120.  
  121. About PicSwitch...
  122. This brings up the title dialog box that provides copyright and version
  123. information, memory status, and system information.
  124.  
  125.  
  126. FILE MENU
  127.  
  128. New (not implemented)
  129.  
  130. Open...
  131. Brings up the file selector to select a file for viewing.  Only one file
  132. can be viewed at a time.  If an image is currently in memory, it will be
  133. replaced by the selected image.  Only files that have a recognized file
  134. extender will be loaded (see the list above).  Some file types are also
  135. verified to make sure they are of the correct type, where possible.  In
  136. some cases this cannot be done, so be careful in naming your files,
  137. loading a file that has an incorrect extender may crash the system.
  138.  
  139. Close
  140. Closes the top window, whether a tools or display window, and moves the
  141. next window down to the top.  Closing the display window does NOT remove
  142. the image from memory, all it does is close the window.  You can reopen
  143. the window at any time.
  144.  
  145. Save / Save as...
  146. This allows you to save the currently displayed monochrome image as an IMG
  147. file.  This is the only format supported at this time.  If a color display
  148. is in use, this option is disabled (sorry!).  This does allow you to
  149. import color images, render them in black & white, and export them for use
  150. in desktop publishing.
  151.  
  152. Print...
  153. This brings up the PRINT IMAGE dialog box.  From here you can select the
  154. printer type (9-pin / 24-pin / LJII), resolution (varies depending on the
  155. printer selected), draft / final print (available only for certain
  156. resolutions), rendering (dithering), scaling, lightening, and when /
  157. whether you want a page ejected.  See 'The PRINT IMAGE Dialog' below.
  158.  
  159. Quit
  160. Quit PicSwitch
  161.  
  162.  
  163. OPTIONS MENU
  164.  
  165. Adjust
  166. Same as pressing the 'Adjust' button in the control panel.
  167.  
  168. Histogram...
  169. Brings up the GRAY-SCALE HISTOGRAM dialog box, allowing you to examine the
  170. gray-scale content in the current image, and adjust the brightness and
  171. contrast controls indirectly by setting the low and high clipping
  172. thresholds.  See 'The GRAY-SCALE HISTOGRAM Dialog' below.
  173.  
  174. Image Aspect Ratio...
  175. Brings up the ASPECT RATIO dialog box, allowing you to change the default
  176. pixel aspect ratio for the current image.  All images are initially set
  177. correctly if they contain valid pixel aspect ratio information.  Some do
  178. not contain it at all, so you may have to set this manually if the image
  179. appears to be 'stretched' in either direction.  You will then have to
  180. click on 'Adjust' to make the changes visible.
  181.  
  182. Preferences...
  183. Brings up the SET PREFERENCES dialog box, allowing you to set up certain
  184. options pertaining to the operation of PicSwitch.  See 'The SET
  185. PREFERENCES Dialog' below.
  186.  
  187.  
  188. WINDOWS MENU
  189.  
  190. Adjustments
  191. Opens the ADJUSTMENTS control panel.  If it is already open, it is brought
  192. to the top.  See 'The ADJUSTMENTS Control Panel' below.
  193.  
  194. Statistics
  195. Opens the STATISTICS window, showing the file name, type, and resolution
  196. and color information.  If it is already open, it is brought to the top.
  197.  
  198. Colors
  199. Opens the COLORS window, displaying the current color palette used in the
  200. display window.  Unused colors are displayed as an outlined box.  This
  201. option not available for monochrome images, or on non-color screens.
  202.  
  203. Display
  204. Opens the display window.  All standard GEM window controls are available,
  205. depending on the settings in WINDOW PREFERENCES.  You can scroll around
  206. either with the scroll bars, or by pressing the left mouse button in the
  207. window, which changes the cursor to a flat hand, allowing you to drag the
  208. viewable image around.  If the scroll bars or window move bar are turned
  209. off in window preferences, you can hold down the Alternate key on the
  210. keyboard to activate window move and size features.  Click in the lower
  211. right corner and drag to resize, and anywhere else in the window to move
  212. the window around.  At any time when an image is loaded and has been
  213. adjusted, you can press the right mouse button to flip to a full-screen
  214. display of the image in the selected resolution.  As in the window, you
  215. can press the left mouse button and drag to scroll around the image.  In
  216. ST low-res, you can press the space bar to display the color palette.
  217. Press the right mouse button to flip back to the main screen.  See also
  218. 'The WINDOW PREFERENCES Dialog' below.
  219.  
  220. Window Preferences...
  221. Brings up the WINDOW PREFERENCES dialog.  See 'The WINDOW PREFERENCES
  222. Dialog' below.
  223.  
  224.  
  225.  
  226. The PRINT IMAGE Dialog
  227. ----------------------
  228.  
  229. Printer type radio buttons
  230. 9-pin / 24-pin ... Epson compatibles
  231. LJII ............. HP LaserJet compatibles
  232.  
  233. Resolution radio buttons
  234. For 9-pin setting:  120x72 / 120x216 / 240x216 dpi
  235. For 24-pin setting:  90x90 / 180x180 / 360x360 dpi
  236. For LJII setting:    75x75 / 150x150 / 300x300 dpi
  237.  
  238. 'Final' / 'Draft' radio buttons
  239. Available only for 9-pin 120x216 and 240x216dpi and 24-pin 90x90dpi.
  240.  
  241. 'Rendering' popup
  242. This presents the same popup menu available from the control panel,
  243. allowing you to select the dithering method for printing.  'Clustered' is
  244. the same method used by typesetters, and in Postscript printers for
  245. halftoning.  This popup is disabled for monochrome images.
  246.  
  247. 'Calibrate' checkbox
  248. If this option is checked, the program will use the default values for
  249. brightness and contrast, as displayed initially in the control panel
  250. sliders, and when the Reset button in the control panel is pressed.  If
  251. this button is not checked, the current slider value will be used.  This
  252. allows you to adjust the image to suit your tastes on-screen, then print
  253. it out as displayed.
  254.  
  255. 'Lightening' slider
  256. This slider is useful for adding a bit of brightness to images while
  257. printing.  It is especially useful for pin printers, where the relatively
  258. large dots tend to bleed together to produce a too-dark image on paper.
  259.  
  260. Page eject options
  261. manual ....... no form feed sent
  262. auto-eject ... form feed sent after every print-out
  263. tiling ....... automatically place each image on the page, side-by-side
  264. and row-by-row, sending a form feed when the page is full (LJII only)
  265.  
  266. 'SET SCALING' button
  267. Pressing this button brings up the standard scaling dialog, allowing you
  268. to scale the image to almost any size.  See 'The SET IMAGE SCALING Dialog'
  269. below.
  270.  
  271. 'Print' button
  272. Print the current image using the specified settings.
  273.  
  274. 'Eject' button
  275. Send a form feed, and reset page offset to the top left (for tiling).  If
  276. you hold down shift while pressing this, a form feed will not be sent, but
  277. the page offset will be reset.
  278.  
  279. 'Cancel' button
  280. Do not print, cancel any changed settings.
  281.  
  282.  
  283.  
  284. The ADJUSTMENTS Control Panel
  285. -----------------------------
  286.  
  287. 'Bri'ghtness slider
  288. Allows adjustments in image brightness.  To make your changes visible, you
  289. must click on the 'Adjust' button to update the image.
  290.  
  291. 'Con'trast slider
  292. Allows adjustments in image contrast.  To make your changes visible, you
  293. must click on the 'Adjust' button to update the image.
  294.  
  295. 'Sep'aration slider
  296. Allows control over how close in hue any two colors are allowed to be.  A
  297. lower setting allows finer color gradation, but may not display minor, but
  298. important, color details.  A higher setting increases color graininess,
  299. but allows for more varied colors.  Use higher settings for displaying
  300. images with lots of colors on a display with fewer available colors (such
  301. as a 256-color GIF image on an ST low-res display).  Generally, a setting
  302. of 10-15 works best for 256-color images in ST low-res.  Use the palette
  303. display as a guide.  Start with a low setting, and observe how similar the
  304. colors are in the palette.  As you increase the setting, the colors will
  305. get more diverse, until finally, you will run out of colors in the palette
  306. (the upper colors will turn black).  When you get to this point, youרve
  307. gone too far, back off the setting a bit.  This will give you the optimum
  308. setting for the Separation slider.  NOTE: you can display the current
  309. color palette when in full-screen low-res mode by pressing the space bar,
  310. the palette will be displayed at the bottom of the screen super-imposed on
  311. the image.  Press the space bar again to remove it.  For windowed
  312. displays, use the colors window.
  313.  
  314. 'Adjust' button
  315. Recalculates the displayed image using the current slider and scaling
  316. settings.
  317.  
  318. 'Reset' button
  319. Resets slider settings to those that were calculated when the image was
  320. loaded, or to their mid-positions, depending on the preferences setting.
  321. See also 'The SET PREFERENCES Dialog' below.
  322.  
  323. 'Cancel' button
  324. Restore slider settings to the last calculated image (as currently
  325. displayed).
  326.  
  327. 'Display' popups
  328. These three popups allow you to control how you want your images
  329. displayed.  The first popup lets you set the screen resolution for
  330. display.  If you pick a resolution other than the current 'GEM'
  331. resolution, you will not be able to view the image in a window, but can
  332. view it by pressing the right mouse button to flip to the full-screen
  333. display (this option is available at all times).  The second popup allows
  334. you to limit the number of colors or grays to display.  The third popup
  335. allows you to select from a gray-scale or full-color display.  All popups
  336. change dynamically as the display or other settings change.
  337.  
  338. 'Dither' popup
  339. Allows you to set the dithering method for monochrome and gray-scale
  340. displays.  For gray-scale displays, the options available are ON and OFF
  341. (ON uses dispersed-dot dither).  The following options are available for
  342. monochrome displays...
  343.  
  344. None ... threshold display, black/white threshold set by brightness
  345. slider.
  346.  
  347. Clustered ... pattern dither, using groups of clustered dots of fixed
  348. position but varying size.  Similar to the method used in Postscript
  349. printers and most typesetters.  Affected by brightness and contrast
  350. controls, as are all the following methods.
  351.  
  352. Dispersed ... classic dithering method using an 8x8 dither matrix
  353. producing 65 levels of gray.
  354.  
  355. The remaining methods are variations of the error-diffusion algorithm,
  356. named for the originators.  Error-diffusion is a method that attempts to
  357. display each pixel with the closest available color (in this case black or
  358. white), and distributes the error to each of the surrounding pixels.  The
  359. visible differences between them are subtle, but noticeable.  The error
  360. distribution is shown in brackets.
  361.  
  362. Floyd ... (Floyd-Steinberg)  Generally the most popular, because of its
  363. simplicity, but not necessarily the best.  [2-line, 4-element]
  364.  
  365. Jarvis ... (Jarvis-Judice-Ninke)  Sharper, more well-defined output, some
  366. dot clustering for light and dark shades.  [3-line, 12-element]
  367.  
  368. Stucki ... Variation of Jarvis, sharp, clean output, considered by many to
  369. be the best algorithm.  [3-line, 12-element]
  370.  
  371. Burkes ... Simplification of Stucki for faster results.  [2-line,
  372. 7-element]
  373.  
  374. Sierra3 ... Sierra 3-line, generally better output than Floyd-Steinberg.
  375. [3-line, 10-element]
  376.  
  377. Sierra2 ... Sierra 2-line, a simplification of the Sierra 3-line.
  378. [2-line, 7-element]
  379.  
  380. Sierra1 ... A very simple 2-line algorithm.  [2-line, 3-element]
  381.  
  382. 'Scaling' popup and 'Set' button
  383. The popup allows you to set scaling Off, On, or Automatic.  The latter
  384. setting will scale images automatically to fit the screen.  You can
  385. control how this scaling is done in the Preferences dialog, under AUTO
  386. SCALING.  The 'Set' button brings up the SET IMAGE SCALING dialog, which
  387. lets you control image scaling very precisely.  See 'The SET IMAGE SCALING
  388. Dialog' and 'The SET PREFERENCES Dialog' below.
  389.  
  390.  
  391.  
  392. The SET IMAGE SCALING Dialog
  393. ----------------------------
  394.  
  395. This dialog lets you adjust the image scaling using a graphical display
  396. showing the relationship between the scaled image and the current display,
  397. window, or page.  If a display window is opened, the 'device' rectangle
  398. shows the size of the window; if the dialog was called from the PRINT
  399. IMAGE dialog, the device rectangle is that of the selected printer's page;
  400. otherwise it is of the current screen resolution.
  401.  
  402. The 'BEST FIT' button fits the device page as closely as possible.  The
  403. 'HOLD H:V' button, when selected, disables the vertical slider, and scales
  404. the image the same amount both horizontally and vertically.  To change the
  405. scaling, you can either click one of the percentage buttons, or drag the
  406. slider(s).  The arrow buttons fill the device page selectively in the
  407. indicated directions.
  408.  
  409. The resulting image dimensions and approximate memory requirements are
  410. shown below the device rectangles, and available memory is indicated at
  411. the bottom of the dialog.
  412.  
  413.  
  414.  
  415. The SET PREFERENCES Dialog
  416. --------------------------
  417.  
  418. This dialog allows you to customize PicSwitch for many of its operations.
  419.  
  420. After load:
  421. Reset sliders ...  If this option is selected, the sliders will be
  422. calibrated automatically when an image is loaded.
  423.  
  424. Build display ...  Automatically adjust the image when a new image is
  425. loaded.
  426.  
  427. Show display ...  Flip to the full-screen mode when an image is loaded.
  428.  
  429. Open window ...  Open a display window when an image is loaded.
  430.  
  431. Show display after adjust ...  If this option is selected, the screen will
  432. automatically be flipped to the full-screen mode (the same as pressing the
  433. right mouse button) whenever the image is adjusted.
  434.  
  435. Calibrate sliders on Reset ...  If this option is selected, pressing the
  436. Reset button in the control panel will reset the sliders to their
  437. calibrated values (as calculated when the image was loaded).  If not
  438. selected, the sliders will be set to their midpoints.  Holding down the
  439. shift key while clicking reset reverses this option.
  440.  
  441. Show progress dialogs ...  Enables / disables the progress bargraph
  442. dialogs used to indicate a functions progress.
  443.  
  444. Show zoom boxes ...  Enables / disables the zoom boxes for all dialog /
  445. window openings and closings.
  446.  
  447. Use Outburst! ...  This enables or disables the use of Outburst!, a
  448. printer speedup utility from Frank Pawlowski.  If this is selected,
  449. Outburst!'s block printing routines are used, if not the standard
  450. Bconout() system calls are used.  Note there will still be a speedup if
  451. Outburst! is installed, since it intercepts the Bconout() calls, but
  452. maximum speedup is achieved with this button selected.
  453.  
  454. Save preferences on exit ...  If this option is selected, all preferences,
  455. including window locations, will be saved automatically when the program
  456. is quit.  These preferences are saved directly into the program itself on
  457. disk.
  458.  
  459. 'Auto-scaling' radio buttons ...  These take effect when Scaling is set to
  460. 'AUTO' in the control panel.  Horizontal fills the screen with the image
  461. horizontally only, keeping the aspect ratio the same.  The vertical size
  462. may extend beyond the screen.  Vertical scales the image such that it fits
  463. the screen vertically only.  Both scales the image such that the entire
  464. image fits within the screen.  Integer and Precise control whether the
  465. image will be scaled in integer proportions (2x, 3x, 4x), or to precisely
  466. fit the screen.
  467.  
  468. 'Sort palette' radio buttons ...  This allows either a dark or light
  469. border for the images, with the colors sorted from dark to light or light
  470. to dark.
  471.  
  472. The 'Memory size' box at the bottom of the dialog lets you limit the
  473. amount of memory PicSwitch reserves for itself when it starts up.  You
  474. should leave the 'Use all available' box checked unless you are using
  475. MultiTOS.
  476.  
  477. The 'Save' button at the bottom left of the dialog saves all current
  478. program preferences and parameters, including window status and positions,
  479. to the PicSwitch program itself.  If the program cannot be found, you are
  480. asked to locate it.  You can only save preferences to an unlocked,
  481. uncompressed copy of PicSwitch on an unprotected disk.
  482.  
  483.  
  484.  
  485. The GRAY-SCALE HISTOGRAM Dialog
  486. -------------------------------
  487.  
  488. This dialog allows you to adjust the brightness and contrast sliders more
  489. precisely, using a histogram display showing the relative number of pixels
  490. of each gray level.  You can change the relative scaling of the histogram
  491. bars by moving the slider to the right of the histogram.  The histogram is
  492. displayed from darker to lighter grays from left to right.  The two small
  493. arrows below the histogram show the limits of the currently displayed
  494. image.  All pixels in the original image darker than the left-most arrow
  495. are displayed as black, and all pixels in the original image lighter than
  496. the right-most arrow are displayed as white.  You can click on and drag
  497. each of the arrows to see the effect on the brightness and contrast
  498. sliders.  If you click on OK, the actual brightness and contrast sliders
  499. will be updated with the new values, and you can then click on the Adjust
  500. button to see the effects of the changes.  The percentages below the
  501. histogram indicate the percentage of pixels below the left arrow ('blacker
  502. than black'), and above the right arrow ('whiter than white').  The
  503. sliders are initially calibrated when an image is loaded so that 2% of the
  504. pixels are blacker than black, and 2% whiter than white.
  505.  
  506.  
  507.  
  508. The WINDOW PREFERENCES Dialog
  509. -----------------------------
  510.  
  511. This dialog allows you to customize the display window to include as many
  512. (or as few) window controls as you desire.  You can even have a plain
  513. window frame with no controls at all, or a full-screen 'desktop' window,
  514. with or without controls.
  515.  
  516.  
  517.  
  518. The End
  519. -------
  520.  
  521. That's about it, feel free to play around with the controls and get a feel
  522. for what looks best for which types of images.  You can produce some very
  523. high quality results even with the limited display ability of the ST/STE.
  524. If you have a Crazy Dots card, you're home free, have fun!  Printouts,
  525. especially with a laser, are particularly impressive.
  526.  
  527.  
  528.  
  529. Free Trial
  530. ----------
  531.  
  532. You are allowed to try PicSwitch for free for 15 days.  If you intend to
  533. keep it after the trial period, you are required to send a $10. payment
  534. to:
  535.  
  536. John Brochu
  537. c/o Advanced Software
  538. PO Box 645
  539. Beverly, MA  01915
  540.  
  541. Please send U.S. funds only, check or money order payable to John Brochu.
  542.  
  543. For comments, and general questions, whether you like PicSwitch, or you
  544. hate it, I can be reached on the following on-line services:
  545.  
  546. GEnie: JAKOB
  547. Compuserve: 70376,1235
  548. Delphi: JAKOB
  549.