home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / grafix / diamond / documentation / diamond_manual < prev   
Encoding:
Text File  |  1988-11-09  |  77.0 KB  |  1,808 lines

  1.  
  2.             The Diamond Manual
  3.  
  4.             (c) Impulse, Inc. 1987/88
  5.  
  6. Hardware Requirements
  7.  
  8. - Amiga computer with minimum 512K memory (minimum).
  9.   (1MB of RAM memory or more is reccommended)
  10. - Amiga Kickstart and Workbench version 1.2 or greater
  11. - One floppy drive (minimum).
  12. - Hard drive recommended but not necessary.
  13.  
  14. Introduction
  15.  
  16. Welcome to Diamond, a powerful multi-mode paint program with a number of
  17. unique capabilities.  Diamond works in all currently available Amiga graphics
  18. modes including Lo-res, Hi-res, HAM, HAMPlus, and Extra Halfbrite.  It's
  19. currently the only Amiga paint program that reads and writes RGBN files 
  20. (used by Turbo Silver) directly.  You can use nonstandard picture and screen
  21. sizes, and work with any number of bitplanes in Lo-res and Hi-res.
  22.  
  23. What is HAM?
  24.  
  25. Although Diamond can be used in any standard Amiga graphics mode including 
  26. Extra Halfbrite, it is primarily a HAM digitizing and paint program.  In most
  27. cases, the maximum number of bit planes that an Amiga screen can use is five,
  28. limiting the maximum number of simultaneous onscreen colors to 32.  Diamond 
  29. lets you work with 12-bit images such as the RGBN files produced by Turbo 
  30. Silver that on most computers would require an eight-megabyte frame buffer to
  31. display.  It does so by virtue of the special Amiga graphics mode called Hold
  32. And Modify, or HAM for short.
  33.  
  34. In traditional register-mapped computer displays, the value of a pixel in the
  35. screen bitmap determines the hardware register from which the pixel's color 
  36. value is fetched, so that the colors of an entire image are defined in a few
  37. bytes of RAM.  In HAM displays, each pixel is represented by six bits in the
  38. screen bitmap.  Since Hi-res displays are limited to a maximum of four 
  39. bitplanes, HAM displays must be 320 pixels wide maximum.  In HAMPlus mode, if
  40. the first two bits are both zero, the pixel's color value is obtained from 
  41. one of the 16 color registers. However, if either or both of the first two 
  42. bits is set to one, the interpretation process is quite different.  First the
  43. pixel's value is copied over from the one immediately to its left.  Then one
  44. of the pixel's three color components--red, green, or blue--is set to the 
  45. value of the pixel's lower four bits, a number between 0 and 15.  If the 
  46. first two bits are 01, the blue component is modified.  If they're set to 10,
  47. the red bits of the pixel to the left are replaced.  And if they're set to
  48. 11, the green component is altered.
  49.  
  50. Thus the term Hold and Modify.  Your color selection is extended from the 
  51. normal 32 colors by allowing you to copy (Hold) two of the three color values
  52. used by the preceding pixel and to change (Modify) the other value to the new
  53. value specified by the lower four bits of the pen number.
  54.  
  55. There are a few limitations to the HAM mode that you should be aware of.  
  56. When you're only using HAM colors on the screen, since you can change only 
  57. one color component per pixel, it make take as many as three pixels to change
  58. completely from one color to another, which can sometimes causes an 
  59. undesirable fringing effect.  However, use of the HAMPlus mode with careful
  60. palette selection can overcome this to a great extent.  Also, since each
  61. pixel's value is usually determined by its neighbor to the left, changing a
  62. pixel can alter all pixels to its right on the scan line.
  63.  
  64.  
  65. What is Extra Halfbrite?
  66.  
  67. Extra Halfbrite is another special graphics mode available with Diamond for
  68. digitizing and painting that gives you 64 colors to work with.  EHB is an 
  69. extension of the Lo-res mode, and can only be used with Amiga 500's and 
  70. 2000's and later models.  Some late-model 1000's are also equipped for this
  71. mode.  If you own an earlier 1000 consult your retailer for an upgrade.
  72.  
  73. The first half of EHB's 64-color palette is determined the same way Lo-res's
  74. 32-color palette.  That is, you're free to choose any and all from the 
  75. Amiga's 4096-color palette.  The second set of 32 colors is created 
  76. automatically by the Amiga, based on your selection of the first 32, each one
  77. at half the brightness of its counterpart in the first set.  If you change a
  78. palette color, its counterpart also changes.  You can use the extra 32 colors
  79. anywhere on the screen, but you can't set them independently.
  80.  
  81.  
  82. Making Backups
  83.  
  84. As Diamond is written to be compatible with the Amiga's multitasking 
  85. operating system, it is not copy-protected.  Use your standard disk copy 
  86. procedure to back up the program disk (see your owner's manual for details),
  87. and store the original away in a safe place.  Use the copy as your working 
  88. disk.
  89.  
  90.  
  91. Using the Program
  92.  
  93. This manual assumes that you're familiar with standard usage of the Amiga's
  94. Intuition interface--use of the mouse, windows, and menus.  If not, please 
  95. read the owner's manual that came with your computer.
  96.  
  97. As a brief review, whenever the manual indicates that you're to select 
  98. something from the screen, position the mouse pointer over the object and 
  99. click the left mouse button.  However, to select a menu item, press and hold
  100. the right mouse button down, and release it when the desired item is 
  101. highlighted with the mouse pointer.
  102.  
  103. Using the File Requester
  104.  
  105. Whenever you use the Load, Save, batch processing or Merge commands Diamond
  106. presents you with a File requester.
  107.  
  108. The topmost gadget in the requester, labelled 'Drawer:', contains a single 
  109. line of text indicating the current path.  The upper portion of the file 
  110. requester below the path name gadget contains a list of all current volumes
  111. at top, followed by a list of directories and files in the current path.  
  112. To scroll through the list, use the slider at left.  To select a new volume,
  113. click on the volume name in the list, then on the 'List Files' gadget at the
  114. bottom of the requester.  To list the contents of a directory, click on the 
  115. directory name in the list window, then on the 'List Files' gadget.  You can
  116. also return to the previous directory by clicking on the line:
  117.  
  118.     ..   (parent dir)
  119.  
  120. Immediately below the list of volumes, then on 'List Files'.  Changes made in
  121. the current search path by any of the above methods are reflected in the 
  122. 'Drawer:' gadget.  You can also select a new path by editing the contents of
  123. the 'Drawer:' gadget.  
  124.  
  125. If you've set a new directory (before clicking on 'List Files'), but change
  126. your mind and want to stay in the current directory, simply 
  127. click on the line:
  128.  
  129.     .    (current dir)
  130.  
  131. to return the 'Drawer:' gadget to its previous contents.  Also, if you've 
  132. added files to the current directory and wish to update the contents of the 
  133. file list window, which isn't done automatically, click on '.   (current dir)'
  134. if you've altered the 'Drawer:' line, then on 'List Files'.
  135.  
  136. To select an existing file, click on the file name, then on the lower left 
  137. hand gadget, labeled 'Load', 'Save', or 'Use' depending on the context.  To
  138. indicate a new file name for saving, edit the 'File:' gadget below the list
  139. window.
  140.  
  141. To exit the file requester without performing the indicated action, click on
  142. the 'Cancel' gadget.
  143.  
  144.  
  145.  
  146. Reference Section
  147. =================
  148.  
  149.  
  150. Starting Diamond
  151.  
  152. When you first run the Diamond program, the Diamond Controls 
  153. requester appears:
  154.  
  155. From here you set the working conditions for your Diamond session.  Default 
  156. conditions are set as shown above--the graphics mode is HAMPlus, 
  157. Bitplanes/Colors is set to 12/4096 and the screen and picture sizes are set 
  158. to 320 by 200, which is also the case for HAM.  You can select HAMPlus by 
  159. clicking on the HAMPlus gadget or on the 12/4096 gadget to the extreme right
  160. of Bitplanes/Colors.  The difference between the two is that HAMPlus uses a 
  161. register-mapped 16-color palette which can be used anywhere on the screen to
  162. minimize HAM artifacts.
  163.  
  164. If you select Hi-res, the Bitplanes/Colors gadget is set to the maximum 
  165. option, 4/16, and the Screen and Picture sizes are set to 640 by 200.  If 
  166. you select Halfbrite, the Bitplanes/Colors gadget is set to 6/64 
  167. (and vice-versa), and Screen/Picture is set to 320 by 200.  You can select 
  168. Lo-res, the fifth graphics mode, by clicking on any selected button gadget 
  169. (except Interlace or Overscan).  The graphics mode is set to low resolution,
  170. 320 by 200 with 32 colors--as shown by the automatic selection of 5 
  171. bitplanes and 32 colors in the requester.  You can also select Lo-res by 
  172. clicking on the any of gadgets 1 through 5 to the right of 'Bitplanes:' in 
  173. the requester if Hi-res isn't selected.
  174.  
  175. The Interlace gadget affects the vertical resolution, doubling it to 400 
  176. pixels on the screen when selected.  Overscan extends the picture area to 
  177. beyond the edges of the monitor screen for video production applications.  
  178.  
  179. The Overscan gadget increases horizontal resolution to 352 (704 with Hi-res)
  180. and vertical resolution to 220 (440 with Interlace), expanding the picture 
  181. size to the screen limits.  With Lo-res or Hi-res you can select less than 
  182. the maximum number of Bitplanes/Colors by clicking on the appropriate gadget
  183. to the right of 'Bitplanes:'.  If you don't need all the colors, using fewer
  184. bitplanes saves memory.
  185.  
  186. If you have more than one megabyte of memory and aren't using it for other 
  187. programs, you can set a larger picture size by clicking on the Custom gadget
  188. to the extreme right of 'Picture:' so it becomes selected, then clicking on
  189. the horizontal and vertical resolution gadgets and editing them with the 
  190. keyboard to the desired size.  Also, if you're using a special Intution-
  191. compatible high-resolution display you can set Diamond to the greater screen
  192. size by similarly editing the 'Screen:' gadgets.
  193.  
  194. The 'Dispose RAM' gadget is ghosted and inaccessible when you first start 
  195. the program, as is the 'Cancel' button gadget.  These are discussed in the 
  196. description of the Project menu's Reset command, below.
  197.  
  198. If you're short on RAM and want to be able to use the 40K or so normally 
  199. used by the Workbench, click on the 'Close Workbench' button gadget.  
  200. The Workbench won't be accessible while using Diamond, but will reappear 
  201. upon closing the program.  If you don't close the Workbench, it will be 
  202. accessible by using Diamond's front/back gadgets in the upper right corner
  203. of the screen.
  204.  
  205. Finally, click on the 'Paint!' button gadget at the bottom of the requester
  206. to start working, or on the Exit! button to simply quit the program.
  207.  
  208. If, when you click on the 'Paint!' gadget, the screen flashes and you're 
  209. returned to the Diamond Options requester, you don't have enough memory for
  210. the requested mode.  Possible solutions to this are to select 
  211. 'Close Workbench', and quitting any other programs in memory.  If these 
  212. don't work, you'll probably need to add memory to your computer to be able 
  213. to use the desired mode.
  214.  
  215. When the program starts, a blank screen appears with the word Diamond in the
  216. upper left corner.  We recommend you invoke the Gadgets toolbox by selecting
  217. Gadgets from the Screen menu or by pressing Right Amiga-O.  For explanation 
  218. of the various tools.
  219.  
  220.  
  221. Project Menu
  222. ============
  223.  
  224.  
  225. New
  226.  
  227. This has the same effect as the Clear command on the gadgets toolbox, 
  228. clearing the screen completely without requesting a confirmation from you.
  229. To restore the screen after a New command, use the Undo command.
  230.  
  231.  
  232. Open
  233.  
  234. This lets you retrieve a previously saved image in IFF, RGBN, or RGB4 format.
  235. If the file is in one of these three formats, the program automatically loads
  236. the image in the correct format.  For an explanation of the File requester 
  237. used in selecting a file to load, see Using the File Requester above.
  238.  
  239. You can load any picture format (e.g. interlace, Lo-res, etc.) no matter 
  240. which mode you're in.  If the picture you're loading doesn't conform to the
  241. current format, a 'Format Mismatch' requester appears presenting you with 
  242. the choice 'Reset' or 'Convert'.
  243.  
  244. If you select 'Reset' the Diamond Controls requester re-appears.  At this 
  245. point its settings reflect the format of the picture you're trying to load,
  246. so this is a good way of deterimining formats of unknown pictures.  The 
  247. button gadget in the lower left corner is labeled 'Resume' instead of 
  248. 'Paint!'--click on it to reset Diamond to the picture's format and load the
  249. picture, or on 'Cancel' to return to Diamond without changing format.
  250.  
  251. If, however, you click on the 'Format Mismatch' requester's 'Convert' gadget,
  252. Diamond converts the picture file to the current graphics format, including 
  253. picture size and graphics mode.  This process is affected by the Options 
  254. settings Scaling and Dither--see below for further information.
  255.  
  256.  
  257. Merge
  258.  
  259. This command lets you combine two or more images by loading them 
  260. successively onto the screen.  It works exactly the same as the Open command
  261. above.
  262.  
  263. Merge only works in HAM mode--the menu choice is ghosted and unavailable in
  264. any other graphics mode.
  265.  
  266. The current drawing color affects the merge process.  To retain the two 
  267. images' original colors as closely as possible, make sure the current brush
  268. color is on the grey scale; that is, it should contain equal quantities of 
  269. red, green, and blue.  The grey value determines the 'mix ratio' of the two
  270. pictures.  If the brush color is close to white, the merged picture will be
  271. more apparent than the original picture.  But if the brush color is close to
  272. black, the original picture will be more visible.  For an even mix between 
  273. the two pictures, use an intermediate brush value of (7,7,7) or (8,8,8).
  274. Also, experiment with other brush colors when merging for unusual and 
  275. interesting color conversions with the two merged images.
  276.  
  277. Note: Normally when you merge a second picture with the one on screen, 
  278. Diamond replaces the first picture's palette with the second's.  To load 
  279. only the image, and retain the original picture's palette, select Freeze 
  280. from the Screen menu's Palette submenu.
  281.  
  282.  
  283. Save As
  284.  
  285. Use the Save As command to store the current image on disk in any of three 
  286. different formats.  Select from the Save As submenu:
  287.  
  288. RGB4 - Saves file in unique 12-bit Diamond HAM format.  This format isn't 
  289. available in non-HAM graphics modes.  See the Appendix for an explanation of
  290. RGB4. 
  291.  
  292. RGBN - Saves file in a Turbo Silver-compatible 12-bit format.
  293.  
  294. IFF (ILBM) - Saves file in a standard format compatible with most other Amiga
  295. graphics programs.
  296.  
  297.  
  298. Batch
  299.  
  300. Diamond's batch file commands let you automatically process a series of 
  301. picture files in various ways.  For example, you can combine an image with 
  302. the background or foreground of a ray-traced animation sequence, or merge
  303. them.  The Batch commands only work with RGBN images, such as those produced
  304. by Turbo Silver.  An example application would be to add clouds or some other
  305. constant image to the background of all frames of a Silver animation.  You 
  306. must provide a source directory and list of files as well as a destionation
  307. directory, which must already exist-- Diamond can't create directories.  
  308. Batch processing is always visible on the screen as it occurs, so you can 
  309. monitor the process.
  310.  
  311. The Palette Freeze command (see Screen Menu below) affects batch processing 
  312. if turned on.  This means that merged images will use the palette already in
  313. memory, not their own.
  314.  
  315. Source
  316.  
  317. This lets you select a list of files for batch processing.  All files must 
  318. be in the same directory.  Use the methods outlined above in the section 
  319. Using the File Requester to list the files in the directory, then click on 
  320. each file to convert.  As you click on filenames, they're highlighted in 
  321. purple.  When you've slected all the files to process, click on the 'Use' 
  322. button gadget.
  323.  
  324. Destination
  325.  
  326. This lets you select the destination directory for processed files.  Simply
  327. select a directory using standard file requester techniques.  The directory
  328. must already exist--consult your Amiga owner's manual for methods of creating
  329. directories.  Since Diamond is a multitasking program, you can always return
  330. temporarily to the Workbench or CLI/Shell to create a new directory without 
  331. quitting the program.  You needn't select or enter any files--processed files
  332. are named the same as the originals.  Naturally, you shouldn't select the
  333. same directory as the Source (above), or the original files will be erased.
  334.  
  335. Set TC
  336.  
  337. When using batch processing to add a background or foreground to a series of
  338. images, you must select a transparent color.  In the case of a background, 
  339. this is the color in the series of images through which the background image
  340. will appear.  And when adding a foreground, this is the color in the 
  341. foreground image that the sequence images will 'show through'.
  342.  
  343. First load an image from the series, or the foreground image in the latter 
  344. case.  Use the color palette to select the transparent color, then select 
  345. 'Set TC' from the Batch submenu to set the transparent color.  In many cases,
  346. this is the upper left palette color, or color 0.
  347.  
  348. Bkgd
  349.  
  350. When adding a background to a series of pictures, after setting the Source,
  351. Destination, and transparent color (above), first load the background image,
  352. then select this Batch submenu setting to tell Diamond's batch processor to 
  353. use this background. Finally, select 'Do it' from the Batch submenu to start
  354. the processing.  You'll see each image from the series as the background is
  355. added 'behind' the image.
  356.  
  357. Examples of appropriate backgrounds are clouds or clouds and sky for an 
  358. aerial animation, or stars for a trip into outer space.
  359.  
  360. Fgnd
  361.  
  362. When adding a foreground to a series of pictures, after setting the Source,
  363. Destination, first load the foreground image, then set the transparent color.
  364. Next select this Batch submenu setting to tell Diamond's batch processor to
  365. use this image as the foreground.  Finally, select 'Do it' from the Batch 
  366. submenu to start the processing.  You'll see each image from the series as 
  367. the background is added.
  368.  
  369. Examples of appropriate foregrounds are textual titles, or plants for an 
  370. outdoor scene.
  371.  
  372. Smooth
  373.  
  374. This option lets you smooth images as they're processed by any (or none) of
  375. the above batch commands.  After setting the Source and Destination, select
  376. any other appropriate batch options, then select this Batch submenu setting
  377. to tell Diamond's batch processor to smooth the final images.  See Smooth 
  378. under Brush, below, for further information on smoothing.
  379.  
  380. Blend
  381.  
  382. This option lets you blend images as they're processed by any (or none) of 
  383. the above batch commands.  After setting the Source and Destination, select
  384. any other appropriate batch options, then select this Batch submenu setting
  385. to tell Diamond's batch processor to blend the final images.  See Blend 
  386. under Brush, below, for further information on blending.
  387.  
  388. Do it
  389.  
  390. After setting the Source, Destination, and the desired batch process or 
  391. processes as described above, select Do it to initiate the batch processing.
  392. You'll see each selected image as it's processed.
  393.  
  394.  
  395. Print
  396.  
  397. This command lets you print the current image using Preferences settings.
  398. See your owner's manual for information about using Preferences.  Select from
  399. the Print submenu:
  400.  
  401. Screen
  402. Full Image
  403.  
  404. Printing the Screen prints the image currently on screen, without the Gadgets
  405. toolbox or title bar, while Full Image prints the entire image in memory.
  406.  
  407. To print color separations from your image, print three copies; one with 
  408. 'Red' selected from the Display menu, one with 'Green' selected, and one 
  409. with 'Blue' selected.
  410.  
  411.  
  412. Digitize
  413.  
  414. Before digitizing with Diamond, you should calibrate the red, green, and 
  415. blue settings to optimize color contrast and the linearity to optimize 
  416. aspect ratio (ratio of vertical to horizontal pixels) for your particular
  417. camera and lighting setup. See Calibrate and Linearity below for calibration
  418. information.
  419.  
  420. Choose from the Digitize submenu:
  421.  
  422. Red
  423. Green
  424. Blue
  425. B/W (black and white)
  426.  
  427. Use any of the above to actually digitize an image.  If digitizing in color,
  428. make sure the appropriate color filter is over the camera lens.  If the 
  429. Calibrate item is checked, meaning Calibrate is turned on, selecting one of
  430. the above performs the indicated calibration, but the image is not digitized.
  431.  
  432. Linearity
  433.  
  434. Linearity determines the digitized image's aspect ratio, or ratio of height 
  435. to width.  To calibrate linearity, set up the Diamond in Lo-res Interlace 
  436. with 4 bitplanes/16 colors.  Set up the palette so that the first eight 
  437. colors are black and the last eight are white.  Position the target image as
  438. above and turn on Calibrate.  Then select B/W from the Digitize submenu.
  439. This does the initial calibration.  Next turn off Calibrate and select B/W
  440. again.  Adjust the light so that the white portion of the image contains no
  441. off-color pixels near the edges, redigitizing as necessary.  Next turn 
  442. Calibrate back on and select Linearity from the Digitize submenu.  Turn 
  443. Calibrate off, and select B/W to digitize the test image.  This should 
  444. result in a perfectly round black circle. 
  445.  
  446. Calibrate
  447.  
  448. This is a setting.  When selected a checkmark appears next to the Calibrate
  449. submenu item, which means Calibrate is turned on.  If calibrate is turned on
  450. when you select one of the digitizing commands (Red, Green, Blue, or B/W),
  451. calibration is performed but no image is produced.  To turn off Calibrate,
  452. select it again from the submenu.
  453.  
  454. To calibrate color contrast, first position the target image that comes with
  455. your Impulse, Inc. digitizer so that the white area surrounding the black
  456. circle fills the screen to the edges. Then select Calibrate from the 
  457. Digitize submenu.  Position the red filter under the camera lens, then 
  458. select Red from the Digitize submenu.  Do the same thing with the green and
  459. blue filters and settings.
  460.  
  461. Auto Cal.
  462.  
  463. This performs an automatic calibration (see Calibrate above), then digitizes
  464. the image using the current color setting (red,green, blue, or black and
  465. white).
  466.  
  467. Load Cal.
  468.  
  469. To load Calibrate settings you must previously have saved the settings with
  470. the Save Cal. command below.  The program attempts to load a file named 
  471. '.digical' from the SYS:S directory.  If it can't find the calibration file,
  472. Diamond prints the message 'Object Not Found' at the top of the screen.
  473.  
  474. Save Cal.
  475.  
  476. If you always use the same digitizing setup you can save time by saving 
  477. calibration settings after they're generated, as described above.  When you
  478. use this command the settings are automatically saved in the SYS:S directory
  479. as a file named '.digical'.  In subsequent digitizing sessions reload the 
  480. settings with the Load Cal. command above.
  481.  
  482. Options
  483.  
  484. The Options submenu contains a number of settings which you can turn on and 
  485. off as desired by selecting the desired item.  When an Options setting is 
  486. turned on or in effect, a check mark appears next to it on the submenu.  
  487. If it isn't in effect, no check mark appears.  Options are as follows:
  488.  
  489. Scaling
  490.  
  491. With Scaling in effect, Diamond always tries to maintain a newly loaded 
  492. image's or brush's picture content despite any format mismatches.  Consider
  493. an example in which you're in non-interlace mode and you attempt to load an
  494. interlace image, and you select 'Convert' from the 'Image Mismatch' 
  495. requester.  If Scaling isn't in effect, Diamond simply loads the top half of
  496. the image and discards the bottom half.  However, if Scaling is turned on,
  497. Diamond performs pixel averaging on each pair of scan lines in the original
  498. image with the result that the final loaded image looks as close to the 
  499. original as possible within the contraints of the lower resolution.  
  500. Conversely, if you load a non-interlace picture in interlace mode without
  501. Scaling in effect, the picture loads into the top half of the screen.  But
  502. with Scaling turned on, Diamond doubles each scan line in the loaded image 
  503. so that it fills the screen in its original proportions.
  504.  
  505. Scaling is also useful when loading brushes in a different graphics format.
  506. For example, loading a Hi-res format brush while in HAM mode with Scaling 
  507. turned on maintains the brush's original appearance as closely as possible.
  508.  
  509. Dither
  510.  
  511. Dither applies to images being digitized or converted while being loaded from
  512. disk.  Dithering is the simulation of additional screeen colors by placing 
  513. different-colored pixels next to each other.  Dithering is also useful in 3D
  514. shaded images for smoothing out the transitions between successively lighter
  515. (or darker) bands of color on objects' surfaces.
  516.  
  517. By using the Dither setting to convert an image from HAM to 32-color Lo-res
  518. (for example), you can maintain a reasonable similarity to the original image
  519. that may have used hundreds or thousands of colors.  Here's how:
  520.  
  521. - Load the HAM image, preferably from an RGBN or RGB4 format file.
  522.  
  523. - Use the mouse to select the CreateN command from the Palette submenu on 
  524.   the Screen menu.
  525.  
  526. - Save the image as an RGBN file.
  527.  
  528. - Reset Diamond to Lo-res 32-color mode.
  529.  
  530. - Make sure Dither is selected.
  531.  
  532. - Load the picture.  When the 'Format Mismatch' requester appears, select 
  533.   the 'Convert' button gadget.
  534.  
  535. - Now use 'Save As ILBM (IFF)' to save the picture as a file compatible with
  536.   any Amiga program that requires Lo-res 5-bitplane images.
  537.  
  538. Load In Place
  539.  
  540. This lets you merge a brush onto the screen in the same place from which it
  541. was originally copied.  If Save In Place was in effect when the brush was 
  542. saved and Load In Place is in effect when using Merge from the Brush menu 
  543. (see below), the brush is merged onto the screen in the identical location
  544. from which it was originally taken.  If Load In Place isn't in effect, the
  545. merged brush appears at the current pictures upper left corner.
  546.  
  547. Save In Place
  548.  
  549. If this is active when you save a brush, positional information is also 
  550. saved so that you can subsequently merge the brush with any picture in the
  551. exact position from which it was originally copied or grabbed.  For this to
  552. happen Load In Place must be active when you use the Merge Brush command.  
  553. See the Brush menu for further information.
  554.  
  555. Preserve IFF
  556.  
  557. This preserves non-image information when loading IFF images from other 
  558. sources.  For example, some programs save color cycling information along 
  559. with Lo-res and Hi-res image files.  To ensure that IFF picture files you 
  560. manipulate with Diamond don't lose such information, turn on Preserve IFF 
  561. before loading the image and don't turn it off before saving the picture.
  562.  
  563. Write Icons
  564.  
  565. This, the only Options setting not turned on automatically when you start 
  566. Diamond, causes icons to be created when you save image files with Diamond.
  567. Normally this isn't done in order to save disk space.
  568.  
  569. Reset
  570.  
  571. This command erases any current image and returns you to the Diamond 
  572. Controls requester described at the beginning of this reference section.
  573. The main differences are that the 'Dispose RAM' and 'Cancel' gadgets are 
  574. now selectable.
  575.  
  576. The 'Dispose RAM' gadget frees fragmented memory.  If you attempt to reset
  577. Diamond to a mode or picture size for which you should have enough memory,
  578. and the screen flashes, you may still be able to use that mode by first 
  579. selecting 'Dispose RAM'.  This may recover sufficient memory to allow you 
  580. to use the new settings. For example, it may not be possible to use HAMPlus
  581. along with Interlace and Overscan in a one-megabyte Amiga, depending on how
  582. many disk drives are connected.
  583.  
  584. The 'Cancel' gadget simply aborts the Reset command and returns you to the 
  585. Diamond paint screen in the previous mode.
  586.  
  587. Quit
  588.  
  589. Closes the current window and quits the program.
  590.  
  591.  
  592.  
  593. Region Menu
  594.  
  595. This menu contains Diamond's most powerful commands for creating brushes 
  596. from parts of the picture.  Diamond is unique in that you can select 
  597. different noncontiguous areas of your image simultaneously as a brush for 
  598. placing on other parts of the picture, on onto another picture.
  599.  
  600. About Regions--Basic Usage
  601.  
  602. The Region menu offers a number of fairly complex inter-relating commands.
  603. Therefore we recommend that, in order to understand what you're doing, you
  604. read everything in this section before attempting to use any of the commands.
  605.  
  606. Creating a Single-Image Brush
  607.  
  608. Here's the procedure for creating a brush from one part of your picture:
  609.  
  610. - First select 'Lock' from the Region menu.  This allows you to recover the
  611.   original picture in case of any mistakes or accidents.
  612.  
  613. - Use one of the drawing tools, such as circle, rectangle, or freehand draw,
  614.   to define the area you want to copy, making sure the area is totally 
  615.   enclosed.  Since you want to see as much of the picture as possible, don't
  616.   fill the areas--use the outline version for the shape tools.  You're 
  617.   actually painting over the area you want to copy, but don't worry--unlike
  618.   other paint programs, Diamond remembers what's underneath, as you'll soon
  619.   see.
  620.  
  621. - Press function key F1.  This lets you combine the Add Fill and Copy 
  622.   commands (see below for explanation).  The cusor becomes a cross-hair with
  623.   the word 'FILL' connected.
  624.  
  625. - Click within the enclosed area to pick it up as a brush, or outside the 
  626.   area to pick up the rest of the picture as a (large) brush.
  627.  
  628. - You can now place this brush repeatedly anywhere on the picture.  However,
  629.   you can't 'paint' with it as you can with a solid-color brush.
  630.  
  631. - To pick up a different brush, first press the space bar, then select New
  632.   from the Control submenu, then repeat the above procedure.
  633.  
  634.  
  635. Creating a Multi-Image Brush
  636.  
  637. Diamond also lets you copy several different noncontiguous areas from the
  638. picture simultaneously--in fact, as many as you like.  Here's how:
  639.  
  640. - First lock and define your areas as described above.  Be sure to use the
  641.   New command if Lock is already on.
  642.  
  643. - Now to fill in all the areas you've enclosed in preparation for picking 
  644.   them all up together with the Copy command.  Select Add Fill from the 
  645.   Modify submenu, then click in each area you want to include in your 
  646.   'multi-area' brush.  Each area becomes inverted (black becomes white, etc.)
  647.   as you click in it.
  648.  
  649. - When all areas are filled, select Fill Off from the Modify submenu.
  650.  
  651. - If you decide that too many regions are selected, follow this procedure 
  652.   before proceeding to the Copy command.  Select Not Region from the Modify
  653.   submenu, whereupon the entire screen is inverted.  Next select Add Fill 
  654.   and click in the areas you don't want to copy, then select Fill Off from
  655.   the Modify submenu.  Finally select Not Region again to return the screen
  656.   to its normal appearance.
  657.  
  658. - Next select Copy from the Region menu or press Right Amiga-C to copy all 
  659.   the filled areas.
  660.  
  661.  
  662. IMPORTANT NOTE!
  663. ==============
  664.  
  665. Remember that when Lock is on, Diamond remembers everything!  Once you've 
  666. finished a Copy or Grab operation, be sure to select the New command from 
  667. the Control submenu to tell the program that you've finished with one region
  668. and are ready to proceed to another.
  669.  
  670. NOTES FOR ADVANCED USERS! - Diamond and Memory
  671. =============================================
  672.  
  673. The key to understanding the use of Region menu commands is awareness of 
  674. how Diamond uses memory.  When working in HAM noninterlace mode, Diamond 
  675. requires a minimum of 397 kilobytes of memory, divided thusly:
  676.  
  677.     96K - Picture        (12 bitplanes)
  678.     96K - Undo Buffer    (12 bitplanes)
  679.     48K - Screen        (6 bitplanes - HAM)
  680.     56K - Miscellaneous    (7 bitplanes)
  681.     97K - Program code
  682.      4K - Stack
  683.     397K total
  684.  
  685. The above total doesn't include memory required for Intuition messages, 
  686. fonts, menu/screen swap area, and I/O.
  687.  
  688. Each processed Diamond picture occupies 96K in a proprietary format, computed
  689. according to this formula:
  690.  
  691.     3 colors X 4 planes/color X 8K/plane
  692.  
  693. The 96K pictures can hold more color information than the Amiga HAM screen is
  694. capable of displaying.  Diamond shows its best approximation of the 96K 
  695. picture on the HAM screen.  Display menu options let you see the red, green,
  696. and blue components of the image separately with no loss in quality.
  697.  
  698. When you paint on the screen, changes are registered immediately in the 96K
  699. image in memory, then the program calculates and displays changes for the 
  700. HAM display version.  In large part, any slowness you may notice in using 
  701. Diamond results from this recalculation of the HAM screen, which can take as
  702. long as four seconds in extreme cases.  The only other slow aspect of the
  703. program you may notice is in compressing and expanding files during disk I/O.
  704.  
  705. Use of the internal 96K picture buffer means you can make numerous changes to
  706. the displayed image without losing the original image.
  707.  
  708. You should also be aware of the undo and region masks.  The undo mask holds 
  709. the shape of the area that can be undone (usually the area covered by the 
  710. last brush stroke, but can be different e.g. after opening a new picture or
  711. after clearing the screen).  The region mask holds the shape of the area that
  712. can be affected by the various Region menu commands such as Copy, Grab, 
  713. Flood, Restore, etc.
  714.  
  715. In the simplest cases, the region mask is the same as the undo mask, but you
  716. can 'Lock' the region so that it can accumulate several brush strokes.  
  717. Diamond will not let you paint over a locked region on the screen, even when
  718. clearing the screen or loading a new picture.  When the region mask is set 
  719. (i.e. 'Lock' is turned on), the undo buffer always contains what was on the
  720. screen before it became part of the region.  Thus with proper use the Region
  721. commands can act as a 'super-Undo' system.  The Region menu commands Restore,
  722. Swap, and Keep let you copy data between the screen and the undo buffer.
  723.  
  724.  
  725. Working With Regions
  726.  
  727. When using Region menu commands you should keep in mind that there are really
  728. two 'pictures'; the one on the screen, and the one in the undo buffer.  When
  729. you use the Region menu's Copy or Restore commands the undo buffer's image is
  730. copied to the screen. However, the screen image is the one affected by 
  731. 'Flood Region' and the one that is copied to the undo buffer with 
  732. 'Keep Region'. 'Swap Region' exchanges the two screens.  When a region is 
  733. set, you can move it around on the screen by holding down either Alt key and 
  734. pressing the arrow keys.
  735.  
  736. With one exception, whatever you paint over on the screen becomes part of the
  737. current region.  If 'Lock' isn't on, each new stroke replaces the previous 
  738. buffer contents.  With 'Lock' on, however, each new stroke is added to the 
  739. region.
  740.  
  741. The exception is when you use the 'Eraser' setting from the Brush menu.  The
  742. eraser erases region information only.  Wherever you paint over the current 
  743. region with the eraser is restored from the undo buffer, and that part of the
  744. screen is removed from the region.  It isn't necessary to have 'Lock' on 
  745. while erasing part of a region--with 'Eraser' on, the region mask isn't 
  746. cleared at each new brush stroke.
  747.  
  748. The Region menu offers the following commands and submenus:
  749.  
  750.  
  751. Control Submenu
  752.  
  753.  
  754. New (Right Amiga-N)
  755.  
  756. When painting with 'Lock' on (see below),  invoking the New command clears 
  757. the region mask so that you can select an entirely new region.  Note that 
  758. this command does not restore the region from the undo buffer before clearing
  759. the region mask.
  760.  
  761. Restore (Right Amiga-R)
  762.  
  763. If 'Lock' isn't activated, this has the same result as Undo, restoring the 
  764. picture to its condition before the last brush stroke.  However, invoking 
  765. Restore with 'Lock' on restores the picture to its state at the point 'Lock'
  766. was turned on, or since the last 'New', 'Keep', or 'Swap'.
  767.  
  768. Keep (Right Amiga-N)
  769.  
  770. Use this to copy all parts of the current region from the screen picture to
  771. the undo buffer.  You can then make further changes, using Restore to return
  772. to this point.  Normally when you paint on the screen, what you paint over 
  773. gets added to the region.  To add your actual strokes to the region,
  774. use Keep.
  775.  
  776.  
  777. Swap (Right Amiga-S)
  778.  
  779. Exchanges the information in the current region on the screen with that in 
  780. the undo buffer.
  781.  
  782.  
  783. Flood (Right Amiga-F)
  784.  
  785. Covers the entire current region on screen with the current drawing color.
  786. See 'Add Color' below for information on using Flood to change one color 
  787. globally to another throughout the picture.
  788.  
  789.  
  790.  
  791. Modify Submenu
  792.  
  793.  
  794. Add Color
  795.  
  796. Use this command in conjunction with Flood above to change one color globally
  797. to another throughout the picture.  Here's an example:
  798.  
  799. - This technique is most effective with digitized or ray-traced images.
  800.   If you have such an image, load it now.
  801.  
  802. - Select the color to change directly from the image with the Pick Color 
  803.   command (see Brush Menu below).
  804.  
  805. - Choose Add Color from the Region Modify submenu.
  806.  
  807. - Next choose the new color, either from the screen or from the palette 
  808.   (Set Color).
  809.  
  810. - Finally select Flood from the Region Control submenu (see above).  
  811.   Every pixel in the picture of the first color is changed to the second 
  812.   color.
  813.  
  814.  
  815. Add CRange
  816.  
  817. This command lets you define a color range, rather than a specific area on
  818. the screen as a region.  This is useful with digitized and ray-traced images
  819. which contain irregularly-shaped areas consisting of a range of shades of a
  820. particular color to indicate 3D shading.  With Add CRange you can define all
  821. areas on the screen containing a specific range of shades as a single region:
  822.  
  823. - Select a color at the upper or lower end of the range from the screen with
  824.    the Pick Color command (Brush menu).
  825.  
  826. - Select Add CRange from the Modify submenu.  This inverts all screen pixels
  827.   in the current color and adds them to the region.
  828.  
  829. - Use the numeric keypad at the right end of your keyboard to set the color 
  830.   at the other end of the range.  Here's how it works:
  831.  
  832.         Lower Red    <- 7  8  9 ->  Raise Red
  833.         Lower Green  <- 4  5  6 ->  Raise Green
  834.         Lower Blue   <- 1  2  3 ->  Raise Blue
  835.  
  836. When you adjust the other end of the region to a color present on screen, 
  837. that color and all shades in between are immediately inverted and added to
  838. the region.
  839.  
  840. - Finally press the space bar to finish setting the color range, and select
  841.   Copy or Grab to pick up the region.
  842.  
  843.  
  844. Not Region
  845.  
  846. This command inverts the region--that is, everthing that wasn't part of the
  847. region becomes part, and everything that was part is no longer.  When 
  848. selecting several different sections of an image to use in a single brush,
  849. to deselect one or more areas, use Not Region, then Add Fill on the unwanted
  850. sections, then Not Region again.  See the section 'Creating a Multi-Image
  851. Brush' above for further details.
  852.  
  853.  
  854. Add Fill
  855.  
  856. Use when selecting more than one area to copy or grab as a brush. See the 
  857. section 'Creating a Multi-Image Brush' above for further details.  Includes
  858. the outline with the fill.  Use Fill Off to cancel.
  859.  
  860.  
  861. Fill Only
  862.  
  863. Use when selecting one area to copy or grab--doesn't include the outline
  864. area.  Use Fill Off to cancel.
  865.  
  866. One useful application of Fill Only is to grab a precisely outlined copy of
  867. an image on the screen (such as a ray-traced sphere against a black 
  868. background).  If the image is surrounded by a single-color background, it's
  869. very easy to do:
  870.  
  871. - Use 'New' from the Control submenu to clear the region mask.
  872.  
  873. - Use any color with the Flood Fill tool (see Gadgets in the Screen Menu
  874.   section below) to fill the area around the object to grab.
  875.  
  876. - Next select Fill Only and click anywhere on the object to grab. Note that
  877.   after doing this the object's appearance is inverted and the flood fill 
  878.   from the previous step is gone.
  879.  
  880. - Select Fill Off to cancel Fill Only.
  881.  
  882. - Select Copy or Grab from the Region menu to lift the image from the 
  883.   background.
  884.  
  885.  
  886. Fill Off
  887.  
  888. Use to deactivate the Fill Only or Add Fill commands when defining regions.
  889.  
  890.  
  891. Lock (Right Amiga-L)
  892.  
  893. Fixes the current screen image in memory, allowing you to restore the image
  894. to this state after any number of changes have been made.  Some uses of the
  895. Lock command are:
  896.  
  897. - To add more brush strokes to the current region.
  898.  
  899. - To preserve the region mask contents during a Clear screen or New command
  900.   or when loading a new picture.
  901.  
  902. - To prevent part of the picture from being painted over.
  903.  
  904. NOTE!
  905. =====
  906.  
  907. When you paint with a region locked, none of the new paint is stored in the
  908. undo buffer unless you use the Keep or Swap commands from the Region menu.
  909. When you use the Copy command all painted areas since 'Lock' was turned on
  910. are replaced by the contents of the undo buffer.  Therefore if you make many
  911. changes to an image with 'Lock' on, and decide that you want to keep them,
  912. you should use the Keep command before doing anything else.
  913.  
  914.  
  915. Copy (Right Amiga-C)
  916.  
  917. This places the contents of the undo buffer at the mouse cursor. You can 
  918. reposition the image by moving the mouse cursor and place a single copy on 
  919. the screen in the current position by clicking the left mouse button.  You 
  920. can place the image as many times as you like.  If you select this command 
  921. without first defining a region, the entire screen is selected.
  922.  
  923. A shortcut for grabbing a single-image brush is to outline the area to grab,
  924. then press function key F1 (Add Fill and Copy), then click in the outlined 
  925. area to erase the outline and pick up the area as a brush.
  926.  
  927. To exit the Copy command, press the space bar.
  928.  
  929.  
  930. Grab (Right Amiga-G)
  931.  
  932. This works similarly to the copy command, except that when placing the 
  933. brush, a 'hole' is created in the location from which it was taken, which is
  934. replaced by the area covered by the brush in the new location.  Essentially
  935. it copies the destination area to the source, both of which are exactly the
  936. same shape.
  937.  
  938.  
  939. Flags Submenu
  940.  
  941. These settings making cutting and pasting parts of an image easier.
  942.  
  943. Border
  944.  
  945. When active, eliminates all but the outline of the currently selected region
  946. during a Copy or Grab operation to allow more accurate brush placement 
  947. (can be used with Inverse, below).
  948.  
  949. Inverse
  950.  
  951. Creates a 'negative' image of the currently selected region during a Copy or
  952. Grab operation to allow more accurate brush placement (can be used with 
  953. Border, above).
  954.  
  955. Horiz. Flip
  956.  
  957. Stands for horizontal flip, flips the current brush left to right during a 
  958. Copy or Grab operation.
  959.  
  960. Vert. Flip
  961.  
  962. Stands for vertical flip, flips the current brush top to bottom during a 
  963. Copy or Grab operation.
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971. Brush Menu
  972.  
  973.  
  974. Brush Submenu
  975.  
  976. Brush submenu items determine how a solid-color brush affects areas you paint
  977. over.  Select brush sizes and shapes from the Gadgets toolbox, and colors 
  978. from the color palette (see Set Color below).
  979.  
  980.  
  981. Paint (Right Amiga-P)
  982.  
  983. When Paint is active, areas you paint over are covered with the current brush
  984. color.  If Lock is on all covered areas are added to the current region.  
  985. If you've previously defined a region you won't be able to paint over that 
  986. area.
  987.  
  988.  
  989. Eraser (Right Amiga-E)
  990.  
  991. When eraser is active you can erase part of the paint covering the current 
  992. region.  That is, if Lock isn't on you can erase any or all of the area 
  993. covered by the last brush stroke or other painting action, revealing what 
  994. was underneath.  If Lock is on you can erase any part of paint applied since
  995. you turned on Lock or last invoked the New command from the Control submenu.
  996.  
  997. In addition to removing paint from the screen, the Eraser removes that part 
  998. of the image from the current region in memory.
  999.  
  1000.  
  1001. Inverter (Right Amiga-I)
  1002.  
  1003. This lets you invert (or 'negativize') colors in the current image by 
  1004. painting over them.  White becomes black, black becomes white, blue becomes 
  1005. yellow, red becomes cyan, and so forth.
  1006.  
  1007.  
  1008. TinterA
  1009.  
  1010. The Tinter Add brush setting adds the current brush color to painted areas of
  1011. the picture. In some cases a second brush stroke can cause a further tinting.
  1012.  
  1013.  
  1014. TinterS
  1015.  
  1016. The Tinter Subtract brush setting subtracts or removes the current brush 
  1017. color from painted areas of the picture.  In some cases a second brush stroke
  1018. can cause a further tinting.
  1019.  
  1020.  
  1021. Blender
  1022.  
  1023. Painting over colored areas of a picture with Blender in effect causes color
  1024. pixels to be mixed together, resulting in more gradual edge transitions.
  1025.  
  1026.  
  1027. Smoother
  1028.  
  1029. This effect, also called Anti-Aliasing, is useful for smoothing jagged edges
  1030. in an image, most commonly found in diagonal lines. Pixels are added to 
  1031. object's edges where you paint in strategic places to create more even 
  1032. looking edges.
  1033.  
  1034.  
  1035. Load
  1036.  
  1037. This lets you load a copied or grabbed region brush saved with the Save As
  1038. command (below).  Use the file requester to select the brush file to load, 
  1039. then click on the 'Load' gadget.  After loading the brush Diamond 
  1040. automatically places you in Copy mode (as if you've just picked up the brush)
  1041. so that you can place the brush in the picture.
  1042.  
  1043.  
  1044. Merge
  1045.  
  1046. This loads a brush saved with the Save As command and merges (combines) the
  1047. brush image with the current picture.  If Save In Place was in effect when 
  1048. the brush was saved, the brush is merged into the picture in the same 
  1049. position from which it was originally taken.  However, if Save In Place was
  1050. turned off when the brush was saved, the brush is loaded into the upper left
  1051. corner of the screen.
  1052.  
  1053.  
  1054. Save As
  1055.  
  1056. This command saves the current region image to disk, whether or not you've 
  1057. used the Copy or Grab command.  Choose from the Save As submenu:
  1058.  
  1059.     RGB4
  1060.     RGBN
  1061.     ILBM (IFF)
  1062.  
  1063. See the Project menu's Save As command for an explanation of the different
  1064. file formats.
  1065.  
  1066.  
  1067. Undo  (Right Amiga-U)
  1068.  
  1069. Use this command to restore the screen to its condition before the last brush
  1070. stroke or object drawn. This is the same as clicking on the 'Undo' gadget in
  1071. the Gadgets toolbox.
  1072.  
  1073.  
  1074. Set Color (Right Amiga-B)
  1075.  
  1076. Selecting this command, which is the same as clicking on the Palette gadget 
  1077. in the Gadgets toolbox, brings up a Palette requester whose appearance 
  1078. varies depending on which graphics mode you're in.  
  1079.  
  1080.  
  1081. The HAM Mode Palette Requester
  1082.  
  1083. You can use this requester to set the current drawing color to any of the 
  1084. Amiga's 4096 colors in a variety of ways as well as to manipulate the 
  1085. palette.  
  1086.  
  1087. When the Palette requester first appears, the current drawing color is shown
  1088. in the gadget labelled 'Use' in the upper right corner.  Also, its RGB 
  1089. (red, green, blue) values are shown above the color squares and its HSV 
  1090. (hue, saturation, value) settings are shown below the color squares.
  1091.  
  1092. You can select a new drawing color by clicking in any of the six sliders.
  1093. The three color sliders above the color squares let you set a new color using
  1094. a specific mix of red, green and blue, while the three sliders below let you
  1095. adjust a color by hue, saturation, and value.  Hue refers to the basic color,
  1096. while saturation refers to the color's deepness--the less saturated the 
  1097. color, the more it approaches white.  And value determines the color's 
  1098. darkness--the lower the value, the closer the color approaches black.  The 
  1099. current color is always indicated in all six sliders by small black bars 
  1100. above and below its position. 
  1101.  
  1102. You can also set a new color by clicking in any of the three color squares 
  1103. between the two sets of sliders.  These color squares represent three cross
  1104. sections of a hypothetical 'color cube' containing all 4096 of the Amiga's 
  1105. colors, taken on the three Cartesian Coordinate axes X, Y, and Z, 
  1106. intersecting at the current color.  The current color's location in each 
  1107. square is indicated by small black bars on the square's edges.
  1108.  
  1109. Whenever you select a color, all of the sliders and squares except the one 
  1110. you're using adjust automatically to display ranges of colors adjacent to 
  1111. the new one on their various scales, and the color is shown in the Use
  1112. gadget.  To use this color for drawing, click on the 'Use' gadget.  To exit
  1113. the Palette requester without changing the drawing color, click on the 'Quit'
  1114. gadget.
  1115.  
  1116. In HAMPlus mode there is a fixed 16-color palette which is displayed in the
  1117. left-hand vertical column of colors under the 'Set Pen' gadget.  The 
  1118. background color, color 0, is found topmost in this column.  You can place
  1119. pixels from any of these colors anywhere on the screen without the 
  1120. undesirable HAM fringing effects.  There's also a second set of 16 colors in
  1121. the right-hand column in which you can store other commonly-used colors.  
  1122. To replace any of these colors, follow this procedure:
  1123.  
  1124. - Click on the 'Set Pen' gadget, which becomes highlighted to indicate that
  1125.   you're changing palette colors, not selecting a drawing color.
  1126.  
  1127. - Select a new palette color from the sliders and/or squares.
  1128.  
  1129. - Select the palette position at which to place the new color.
  1130.  
  1131. - Repeat the last two steps for as many colors as you wish to change.
  1132.  
  1133. - When you're done altering the palette, click on 'Set Pen' to exit this 
  1134.   mode, then on 'Use' to exit the Palette requester and accept the changes.
  1135.  
  1136. - If you're unhappy with the palette changes, click on 'Quit' either before 
  1137.   or after clicking on 'Set Pen' again to exit the Palette requester without
  1138.   accepting any alterations.
  1139.  
  1140. NOTE!
  1141. =====
  1142.  
  1143. You can also accept any changes and exit the Palette requester by clicking on
  1144. the Palette gadget in the Toolbox, if available.
  1145.  
  1146. The Register-Mapped Modes Palette Requester
  1147.  
  1148. Unlike HAM mode, all screen pixels in Lo-res, Hi-res and Halfbrite mode 
  1149. images receive their values from color registers. Each pixel's color value is
  1150. defined by one of 16 or 32 registers, which means that if you change the 
  1151. color in a register, all pixels using that register on screen change as well.
  1152. Thus any palette changes in these modes are reflected immediately on the 
  1153. screen.
  1154.  
  1155. In Lo-res there are 32 palette positions, in Hi-res there are 16, and in 
  1156. Halfbrite there are 64, the second set of 32 being half-intensity versions of
  1157. the first 32.  The colors are arranged in ascending order of register 
  1158. position (starting with 0, the background color) from left to right, then top
  1159. to bottom.  You can use this requester to set the current drawing color to 
  1160. any of the Amiga's 4096 colors as well as to manipulate the palette.
  1161.  
  1162. When the Palette requester first appears, the current drawing color is 
  1163. indicated by a colored box around its position.  To select a new color from 
  1164. the current palette, click on the desired color, then on the 'Use' gadget 
  1165. to the right of the color boxes.
  1166.  
  1167. You can use any of the sliders to set a palette color to a new choice from 
  1168. the Amiga's 4096 colors.  Click on the color to change, then adjust the Red,
  1169. Green, Blue, Hue, Saturation, and Value sliders as desired.
  1170.  
  1171. To copy a color from one palette position to another, click on the color to
  1172. copy, then on the Copy gadget to the right of the color boxes, highlighting
  1173. it.  Then click on the color box or boxes to copy it into, replacing existing
  1174. colors.  The same color is copied into all boxes you click on until you 
  1175. deactivate the Copy function by clicking again on the 'Copy' gadget.  When
  1176. copying colors between the first and second sets of 32 colors in Halfbrite 
  1177. mode, the program makes a 'best fit' approximation.
  1178.  
  1179. Use the 'Swap' gadget to exchange places between two colors. First click on 
  1180. a color to swap, then on the Swap gadget (which becomes highlighted), then 
  1181. on the color to exchange it with. This color becomes selected, and is then 
  1182. exchanged with the next color clicked on.  This process continues until you
  1183. click on 'Use', 'Swap', or 'Cancel'.  When swapping colors between the first
  1184. and second sets of 32 colors in Halfbrite mode, the program makes a 
  1185. 'best fit' approximation.
  1186.  
  1187. To create a spread of evenly ranged colors between any two, first set up the
  1188. two colors in the desired positions using any combination of the above 
  1189. techniques.  We don't recommend spreading colors between the first and 
  1190. second sets of 32 colors in Halfbrite mode.  Remember colors are arranged in
  1191. ascending order of register position (starting with 0, the background color)
  1192. from left to right, then top to bottom.  Then click on the Spread gadget to
  1193. create the range.  You can continue clicking on colors and creating spreads
  1194. as long as the 'Spread' gadget remains highlighted--click on it again to 
  1195. resume normal operation.  
  1196.  
  1197. If undesirable results are obtained from any palette alterations, click on 
  1198. 'Cancel' to abandon the changes.  Otherwise click on 'Use' to retain the new
  1199. palette.
  1200.  
  1201.  
  1202. Pick Color (Right Amiga-,)
  1203.  
  1204. Use this command to select a new brush color from the drawing itself.  The 
  1205. cursor becomes a cross hairs with the word 'PICK' attached.  Whichever color
  1206. is under the cross hairs when you click the mouse becomes the new drawing 
  1207. color.  You can use this command together with Magnify mode to select a pixel
  1208. from a small patch of color.
  1209.  
  1210.  
  1211. Size Brush (Right Amiga-Z)
  1212.  
  1213. This works only with solid brushes (not dotted) from the Toolbox. Click on a
  1214. square or round brush, then use this command to make it smaller or larger.
  1215. After selecting Size Brush, click and hold the left button anywhere on the 
  1216. screen.  The brush appears as a single pixel centered in the cross hairs.
  1217. Drag the mouse in any direction away from this position to increase the 
  1218. brush size, or toward the position to reduce it.  Release the mouse button 
  1219. to accept the new size.  Resizing is done in both vertical and horizontal 
  1220. directions, maintaining the brushes original shape. You can also resize the
  1221. brush by pressing the '+' key (shifted or unshifted '=') or the '-' key.
  1222.  
  1223. Set Font (Right Amiga-T)
  1224.  
  1225. Using Diamond's Text tool (see Gadgets below) you can add text to your 
  1226. drawing in any of the fonts currently available in your system.  Consult 
  1227. your owner's manual for system font information.
  1228.  
  1229. Selecting the Set Font command brings up Diamond's Font requester which is 
  1230. specially designed to be able to accommodate an unlimited list of fonts.
  1231. When first invoked, this shows the current system font and point size with 
  1232. a Zoom factor of 1 and normal style:
  1233.  
  1234. Font Requester
  1235.  
  1236. To select a new font, click on the List Fonts gadget.  Diamond then reads 
  1237. the SYS:Fonts directory and shows the first name in the font list in the 
  1238. black line near the top of the Font requester, with that font's smallest 
  1239. point size below next to 'Size'.  To scroll through the font list forward or
  1240. backward, click on the colored bars below or above the current font name.
  1241. To select a different font size, if available, click on the up or down arrows
  1242. to the left of the Size box.  If a different size of the current font isn't
  1243. available, the next or previous font and size in the list appears.
  1244.  
  1245. You can enlarge any font up to 16 times by selecting a new Zoom factor.  Do 
  1246. this by clicking on the up or down arrow gadgets to the left of the Zoom 
  1247. box in the Font requester.
  1248.  
  1249. You can also set any combination of attributes for Underline, Bold, or 
  1250. Italic for the font by clicking on them.  Check marks appear to the left of
  1251. selected attributes.  Click on 'Normal' to cancel the others.
  1252.  
  1253. After selecting a font and changing the Zoom factor or attributes, if 
  1254. desired, click on the 'OK' gadget to accept any changes, or on the 'Cancel'
  1255. gadget to go on using the previous font settings.
  1256.  
  1257. Note: Only the font directory list remains in memory (after loading), and 
  1258. each different font is loaded into memory as needed.
  1259.  
  1260.  
  1261. Screen Menu
  1262.  
  1263. Drag Bar (Right Amiga-D or F9)
  1264.  
  1265. The drag bar is a horizontal bar crossing the top of the screen.
  1266. It contains the name of the program (Diamond) as well as front/back gadgets
  1267. for the Diamond program screen.  Select this command to toggle it off and on.
  1268. Since Diamond is a fully multitasking program, when the drag bar is active 
  1269. you can pull down the screen and reveal the one behind it by clicking and 
  1270. dragging on the drag bar.  You can only paint on the top of the screen when
  1271. the drag bar is inactive.  A check mark appears to the left of this menu 
  1272. item when the drag bar is active.
  1273.  
  1274.  
  1275. Gadgets (Right Amiga-O or F10)
  1276.  
  1277. Selecting Gadgets causes the Toolbox to appear at the right edge of 
  1278. the screen
  1279.  
  1280.  
  1281. Toolbox
  1282.  
  1283. Following is an explanation of each Toolbox gadget, from top to
  1284. bottom:
  1285.  
  1286. Tools - This gadget is visible only when the drag bar is off. Click on it to
  1287.         turn off the Toolbox.
  1288.  
  1289. Built-In Brushes - Click on any of these brushes to use it for solid-color
  1290.                    drawing.
  1291.  
  1292. Palette - Invokes Diamond's Palette requester, or removes it if present.
  1293.  
  1294. Undo - Returns picture to condition previous to the last drawing action.
  1295.  
  1296. Following are the drawing tools.  Each one remains highlighted and in effect
  1297. from when you click on it until you select another tool.
  1298.  
  1299. Dotted Freehand - Use this tool to draw a dotted freehand line, following the
  1300. mouse however you move it.  The faster you move the mouse, the more widely 
  1301. spread the dots are drawn.
  1302.  
  1303. Continuous Freehand - Draws an unbroken freehand line following the mouse.
  1304.  
  1305. Straight Line - Click and hold the mouse button in the desired starting spot
  1306. for the straight line, then drag the mouse in any direction to preview the 
  1307. line, and finally release the mouse button to draw it.
  1308.  
  1309. Curved Line - Click and hold the mouse button in the desired starting spot 
  1310. for the curved line, then move the mouse to the ending position and release 
  1311. the mouse button.  Then move the mouse in any position to preview the curved
  1312. line, and finally click the mouse button to place it.
  1313.  
  1314. Zigzag Line - Click and release the mouse in the desired starting spot, then
  1315. move the mouse to the end of the first line segment and click once.  
  1316. Continue moving and clicking as desired.  To end the line, double-click the
  1317. mouse.
  1318.  
  1319. Hollow/Filled Rectangle - Click in the top half of the gadget to select 
  1320. hollow or in the bottom half to select filled--the gadget's appearance 
  1321. reflects the choice.  Next click and hold on the screen at one corner of the
  1322. rectangle, drag the mouse until the rectangle is the desired size and 
  1323. position, and release the mouse button to place the rectangle.
  1324.  
  1325. Hollow/Filled Circle - Click in the top half of the gadget to select hollow 
  1326. or in the bottom half to select filled--the gadget's appearance reflects the
  1327. choice.  Next click and hold on the screen at the circle's center and drag 
  1328. the mouse until the circle is the desired size.  Finally release the mouse 
  1329. button to place the circle.
  1330.  
  1331. Hollow/Filled Ellipse - Use this tool to draw oval shapes on the screen at 
  1332. any angle.  Click in the top half of the gadget to select hollow or in the 
  1333. bottom half to select filled--the gadget's appearance reflects the choice.
  1334. Next click and hold on the screen at the ellipse's center, whereupon a pair
  1335. of full-screen cross hairs appears centered at the mouse position.  Drag
  1336. the mouse around this point until the cross hairs reflect the desired 
  1337. rotation for the ellipse, then release the mouse button. Next click and hold
  1338. the mouse button to draw the ellipse, dragging the mouse around on the screen
  1339. until the oval is of the desired size, shape, and orientation, releasing the 
  1340. mouse button at that point.
  1341.  
  1342. Spray Gun - Use this tool to draw a field of randomly positioned brush shapes
  1343. with an effect resembling that of a painters airbrush.  Simply click and drag
  1344. the mouse to paint, moving slowly for a dense pattern or faster for a lighter
  1345. texture.  This effect generally works best with a single-pixel-sized brush.
  1346.  
  1347. Flood Fill - Use to fill a region containing one color with another.  Select
  1348. the fill color, then the Flood Fill tool, then click on the area to fill with
  1349. the new color.  All pixels of the same color connected to the one you click 
  1350. on are changed.
  1351.  
  1352. Magnify - When you select this tool the mouse cursor becomes a cross hairs 
  1353. with the word 'PICK' attached.  Click on the section of the picture to 
  1354. magnify, at which the right side of the screen shows the magnified section 
  1355. while the left side shows the unmagnified surrounding area.  All commands 
  1356. work as normal in magnify mode, and you can paint on either side by simply 
  1357. moving the mouse to the desired position.  You can scroll the magnified area
  1358. around the picture with the arrow keys (double the left and right scrolling 
  1359. speed by holding down the Shift key), and increase or decrease magnification
  1360. with Shift-Up Arrow and Shift-Down Arrow.  Click on Magnify again to return 
  1361. to the normal working mode.
  1362.  
  1363. Text - This tool lets you enter text onto the screen directly from the 
  1364. keyboard in any of the Amiga's wide selection of fonts. See the Set Font 
  1365. command above for information about selecting a different font.  When you 
  1366. select this tool, a rectangle showing the current font size becomes attached
  1367. to the mouse cursor along with the word 'PICK', prompting you to indicate 
  1368. where to add text.  Click on the picture in the desired spot, then enter 
  1369. your text from the keyboard.  To enter text in a new location, move the mouse
  1370. cursor to the desired spot and click twice.  You can change the font and/or 
  1371. size and attributes any time by pressing Right Amiga-T.  The changes take 
  1372. effect at the next letter typed.
  1373.  
  1374. Clear - This bottommost tool clears the screen completely if clicked on.  
  1375. To retrieve an erased picture use the Undo command before using any other 
  1376. commands--otherwise it's gone forever if you didn't save it to disk.
  1377.  
  1378.  
  1379. Palette Submenu
  1380.  
  1381. The commands available from the Palette submenu permit various useful 
  1382. palette-related functions.  Since HAM (not HAMPlus) mode pictures don't use
  1383. a palette at all, most of these commands don't work on or affect HAM-only 
  1384. mode pictures.
  1385.  
  1386. Load
  1387.  
  1388. This command lets you load a palette from a picture on disk.  The picture 
  1389. file can be in any of the formats supported by Diamond and need not be in 
  1390. the same graphics mode as the current picture.  As long as the picture file 
  1391. isn't in HAM-only mode (which means there's no palette), Diamond can load the
  1392. palette information from the file into the current palette.  Use the File 
  1393. requester to select the picture whose palette you wish to load.  With 
  1394. register mapped modes, any altered palette colors after the Load process are
  1395. immediately reflected in the picture on screen.  However, in HAMPlus mode, 
  1396. after loading the new palette Diamond adjusts the image so that all original
  1397. colors are retained.
  1398.  
  1399.     CreateH
  1400.     CreateN
  1401.     CreateX
  1402.  
  1403. These next three Screen menu commands are available only in HAM and HAMPlus 
  1404. mode.  They're useful for optimizing the current picture's palette for 
  1405. various purposes.  To observe how these work, carefully note palette contents
  1406. before and after using them.
  1407.  
  1408. CreateH stands for Create HAM.  With HAMPlus, as described above, a 16-color
  1409. palette is employed any of whose colors can be placed on the screen without 
  1410. regard to surrounding colors.  These colors are best used for abrupt 
  1411. horizontal color area changes to avoid the undesirable 'fringing' effect 
  1412. often associated with HAM-mode images.  When you select CreateH, Diamond 
  1413. optimizes the palette to minimize fringing in color borders.
  1414.  
  1415. CreateN stands for Create Normal, and is most useful in converting HAM 
  1416. images to Lo-res format.  Follow this procedure to convert a HAM RGBN 
  1417. picture to Lo-res IFF:
  1418.  
  1419. - Load the HAM picture to convert in HAMPlus mode.
  1420.  
  1421. - Invoke the CreateN command.  After a brief pause, the cursor returns to 
  1422.   its previous state.
  1423.  
  1424. - Save the picture in RGBN format.
  1425.  
  1426. - Reset Diamond to Lo-res.
  1427.  
  1428. - Load the picture.  When the 'Format Mismatch' requester appears, select 
  1429.   'Convert'.  If Dither (Options submenu) is turned on, the conversion 
  1430.   process includes dithering to simulate more colors.
  1431.  
  1432. - After the picture loads, use the Save As ILBM command.
  1433.  
  1434. CreateX uses Halfbrite's extra 32 palette positions, within their 
  1435. limitations, to further optimize a HAM-mode picture's palette for conversion
  1436. to the Halfbrite mode.  (The X stands for eXtra Halfbrite.)  Use the above 
  1437. technique, substituting CreateX for for CreateN and Halfbrite for Lo-res.
  1438.  
  1439.  
  1440. Freeze
  1441.  
  1442. Normally when you merge two pictures (see Merge under Project Menu above), 
  1443. the merged picture's palette information is loaded along with the image and
  1444. replaces the first picture's palette. If you select Freeze before merging an
  1445. image--a check mark appears alongside the menu item when Freeze is active--
  1446. the former palette is retained, loading only the image from disk.
  1447.  
  1448.  
  1449. Color 0
  1450.  
  1451. This item is normally checked, which means that when you use CreateH, 
  1452. CreateN, or CreateX (see above) to recalculate a palette, that the first 
  1453. color in the palette, Color 0, which is used for the border and is also the
  1454. background color used to clear the screen, is changed.  If you don't want 
  1455. this color to change from using one of the Palette Create commands, make 
  1456. sure it is not selected--click on it until the check mark doesn't appear.
  1457.  
  1458.  
  1459. Genlock
  1460.  
  1461. When preparing images for genlock video applications, you should be aware 
  1462. that the genlocked video picture 'shows through' all pixels of a certain 
  1463. color, usually the background color (Color 0).  In recalculating a HAM image,
  1464. which Diamond does when you change the palette, the program may use a Color 0
  1465. pixel for an approximate fit for certain pixels.  If Genlock is selected,
  1466. Diamond will only use a Color 0 pixel if it's an exact fit.
  1467.  
  1468.  
  1469. Display
  1470.  
  1471. This Screen menu item, available only in HAM and HAMPlus modes, performs 
  1472. color separations on the current picture quickly and automatically.  The 
  1473. submenu selections are:
  1474.  
  1475.     Normal
  1476.     Red Only
  1477.     Green Only
  1478.     Blue Only
  1479.  
  1480. Normal displays all colors in the image.  Selecting Red Only, Green Only, or
  1481. Blue Only displays only screen pixels containing a component of the indicated
  1482. color.  If you then select the Print command, the output takes the form of a
  1483. color separation.
  1484.  
  1485.  
  1486. Show Page
  1487.  
  1488. Since Diamond lets you work on pictures larger than the screen can display,
  1489. this command lets you display a reduced version the entire picture on the 
  1490. screen.  If the picture is indeed larger than the screen, selecting this 
  1491. command causes a brief delay, after which the reduced full image is shown in
  1492. the upper left corner of the screen.  Press the space bar to return to the
  1493. previous display.  When working on large pictures, you can use the arrow keys
  1494. to move to different areas of the image.
  1495.  
  1496. -----------------------------------------------------------------------------
  1497.  
  1498. APPENDIX A
  1499.  
  1500.     Diamond Tools, Gadget Bar, and Keyboard Equivelants
  1501.  
  1502.  
  1503. FREEHAND CONNECTED DRAWING TOOL
  1504.  
  1505.     Keyboard = "d" or "D" 
  1506.  
  1507. The Connected Freehand drawing tool will draw a continuous line, without any 
  1508. breaks, while holding the left mouse button down regardless of how fast you 
  1509. draw. The size of the line will be the same size as the currently selected 
  1510. brush.
  1511.  
  1512. FREEHAND DOTTED DRAWING TOOL
  1513.  
  1514.     Keyboard = "s"
  1515.  
  1516. The Dotted Freehand drawing tool will draw a continuous line composed of 
  1517. dots, while holding the left mouse button down regardless of how fast you 
  1518. draw.  The size of the dots will be the same size as the currently selected
  1519. brush.  The spacing of the dots from each other is dependent on the speed at
  1520. which you draw your line.  The faster you draw your line, the farther apart 
  1521. the dots will be spaced.
  1522.  
  1523. CONTINUOUS LINE TOOL
  1524.  
  1525.     Keyboard = "v" or "V"
  1526.  
  1527. The Continuous Line tool will draw a continuous straight line with no breaks.
  1528. Move the mouse to the point you want the line to start.  Hold down the left 
  1529. right mouse button, and move the mouse to the position you want the line to 
  1530. end.  Releasing the mouse button will draw the straight line.
  1531.  
  1532. CURVED LINE (ARC) TOOL
  1533.  
  1534.     Keyboard = "q" or "Q"
  1535.  
  1536. The Curved Line tool will draw a calculated arc between any two desired 
  1537. points on the screen.  Move the mouse to the point you want the arc to start,
  1538. hold down the left mouse button and move the mouse to the position on the 
  1539. screen you want for your end point, and release the mouse button.  A straight
  1540. line from point to point will first be drawn like using the Continuous line 
  1541. tool.  After releasing the mouse button, any movement of the mouse will bend 
  1542. the previously drawn line into an arc connecting your two points. Move the 
  1543. mouse around the screen until you achieve the desired curve line, and depress
  1544. the left mouse button.
  1545.  
  1546. CONNECTED LINE TOOL
  1547.  
  1548.     Keyboard = "l" or "L"
  1549.  
  1550. The Connected Line Tool will draw a number of straight lines all connected to
  1551. each other, with the end point of one line becoming the start point of the 
  1552. next line in the series.  This tool allows you to make polygons and other 
  1553. shapes which can be formed from connected line very easily.  Move the mouse 
  1554. to the start point of the first line and click the left mouse button.  As 
  1555. with the Straight Line tool, move the mouse to the point you want the first 
  1556. line to end, and click the left mouse button again.  The first line will end,
  1557. and the second line will begin at the end point of the first.  You can again
  1558. move the mouse to create another line, ending each line and starting another 
  1559. by clicking the left mouse button until all of the desired lines are created.
  1560. "Double" clicking the left mouse button on an end point of your last line, 
  1561. will end the line creations.
  1562.  
  1563. BOX TOOL
  1564.  
  1565.     Keyboard = "r"- unfilled / "R"- filled
  1566.  
  1567. The Box Tool creates square or rectangular shapes either filled shaped or 
  1568. unfilled frames.  Move the mouse to the point you would like a shape to begin
  1569. and hold down the left mouse button.  While holding the left mouse button 
  1570. down, and moving the mouse, you will see a rectangular shape drawn on the 
  1571. screen in the current pen color.  Releasing the mouse button will end the 
  1572. creation of the box shape.  Selecting the filled section of the gadget will 
  1573. create a filled box or rectangle with the current pen color.
  1574.  
  1575. CIRCLE TOOL
  1576.  
  1577.     Keyboard = "c" - unfilled / "C" - filled
  1578.  
  1579. The Circle Tool operates just like the Box Tool, except that it creates 
  1580. circles.  Move the mouse to the area of the screen where you want the center
  1581. of your circle to be.  Moving the mouse with the left mouse button held down,
  1582. will draw a circle on the screen using the current pen color.  Selecting the
  1583. filled section of the gadget will create a filled circle using the current 
  1584. pen color.
  1585.  
  1586. OVAL TOOL
  1587.  
  1588.     Keyboard = "e" - unfilled / "E" filled
  1589.  
  1590. The Oval Tool operates like the Circle Tool, except that it creates ovals or
  1591. elipses.  The main difference in using the Oval Tool from the other tools is
  1592. that the Oval Tool will let you determine the axis of the oval or ellipse.
  1593. Move the mouse to the area that you want the center of your oval to begin 
  1594. and depress and hold down the left mouse button.  A cross-hair will be drawn
  1595. on the screen.  By moving the mouse around the screen, you can then select 
  1596. the exact axis on which you want your oval to be drawn.  When the wanted axis
  1597. is achieved, release the mouse button.  Depress the left mouse mutton a 
  1598. second time to begin drawing your oval or ellipse.  This   portion of the 
  1599. operation is identical to the Circle tool.  Selecting the filled portion of
  1600. the gadget, will create a filled oval or ellipse in the current pen color. 
  1601.  
  1602. SPRAY GUN TOOL
  1603.  
  1604.     Keyboard = "S"
  1605.  
  1606. The Spray Gun tool operates just like a can of spray paint. The Spray Gun 
  1607. tool will spray a random pattern of dots in the selected pen color 
  1608. continuously as long as the left mouse button is held down.  The size of the
  1609. dots is determined by the chosen brush.  There are also three special spray
  1610. gun brushed at the bottom of the brush menu, with degrees of pattern spread.
  1611.  
  1612. FLOOD FILL TOOL
  1613.  
  1614.     Keyboard = "f"
  1615.  
  1616. The Fill Tool will fill and enclosed area or region with the currently 
  1617. selected pen color. Place the cursor inside the area or region you want 
  1618. filled with your color and click the Mouse button.
  1619.  
  1620. ZOOM TOOL
  1621.  
  1622. Keyboard = "m" or "z"
  1623.  
  1624. The Magnify Tool allows you to zoom in on any area of your picture and do 
  1625. fine or detailed work. In the zoom mode the screen will split vertically with
  1626. the normal view on the left and the Magnified view on the right side of the
  1627. screen. While in the zoom mode, you can scroll around the picture using the 
  1628. arrow keys. You can also increase and decrease the level of magnification up
  1629. to 15 times.
  1630.  
  1631. TEXT TOOL
  1632.  
  1633.     Keyboard = "t" and "T"
  1634.  
  1635. The Text Tool allows you to add text to any part of the picture you are 
  1636. working on.  Diamond uses any standard Amiga font, or Extended Color font 
  1637. created by the Calligrapher. Clicking the Text Tool or using the "t" key from
  1638. the keyboard displays an open box the size of the currently selected font.  
  1639. To enter text to you picture simply place the box in the area you want your 
  1640. line of text to begin, and click the mouse.  All other keyboard strokes from
  1641. this point on will enter text on the screen.  While in Text entry mode, you
  1642. can select a different font or change the style or size of your currently 
  1643. selected font, by hitting control <CTRL> t.  This will bring up the Diamond
  1644. font requester.  The unique Diamond font requester will allow you to have as
  1645. many as 100 different fonts in your system.  When the requester is first 
  1646. invoked you should click on the "LIST FONTS" button to load the fonts into 
  1647. Diamond.  Clicking either of the violet boxes will scroll through the fonts
  1648. in your list.  The arrows beside the "SIZE" gadget allow you to scroll 
  1649. through the various sizes of a particular font in your fonts directory.  The
  1650. arrows beside the "ZOOM" gadget will magnify the size of the currently 
  1651. selected font.  Remember though that increasing the size of the font using 
  1652. the zoom function only increases pixel size.
  1653.  
  1654. CLEAR TOOL
  1655.  
  1656.     Keyboard = "K"
  1657.  
  1658. The CLEAR tool will clear the screen to the currently selected Background 
  1659. color. (color 0).
  1660.  
  1661.  
  1662. APPENDIX B
  1663.  
  1664.     Diamond Function Key Equivelants
  1665.  
  1666.  
  1667.     F1    -    Add Fill and Copy
  1668.  
  1669.     F2    -    Add Fill and Grab
  1670.  
  1671.     F3    -    Select Paint Brush
  1672.  
  1673.     F4    -    Select Eraser Brush
  1674.  
  1675.     F5    -    Select Inverse Brush
  1676.  
  1677.     F6    -    Region Lock On/Off
  1678.  
  1679.     F7    -    Cycle Crosshairs:  type 1, type 2, none..
  1680.  
  1681.     F8    -    Brush On/Off
  1682.  
  1683.     F9    -    Title/Drag Bar On/Off
  1684.  
  1685.     F10    -    Tools/Gadgets On/Off
  1686.  
  1687.  
  1688.  
  1689.  
  1690. APPENDIX C
  1691.  
  1692.     Technical Information
  1693.  
  1694. RGB4 IFF 4-Bit RGB Image Data
  1695.  
  1696. Introduction
  1697.  
  1698. FORM RGB4 is used to store compressed 4-bit RGB image data.  It incorporates
  1699. a compression technique (a variation of 'Huffman coding') that is well 
  1700. suited for slowly varying 4-bit data.  It was developed for use in the 
  1701. program Diamond, an RGB4 editor/paint program incorporating the Amiga's HAM
  1702. (Hold And Modify) screen display mode.
  1703.  
  1704.  
  1705. IFF Specifications
  1706.  
  1707. The standard IFF layout for storing an image is to put three FORM RGB4's in 
  1708. a LIST RGB4, with components arranged in the order red, then green, then 
  1709. blue.  Each FORM RGB4 must have a BMHD (bitmap header) chunk, a COMP 
  1710. (compression) chunk, and a BODY chunk associated with it.
  1711.  
  1712. Since the FORMs are stored in a list, the BMHD and COMP chunks can be stored
  1713. in a PROP chunk.  The BMHD chunk should be the same for all three components,
  1714. so its natural place would be in a PROP chunk.  The COMP chunk(s) contain the
  1715. data that the decompression algorithm will use, so it/they should go in the 
  1716. PROP/FORM chunk(s) depending on whether the same decompression algorithm will
  1717. be used to decode all three FORMs.  In any case, the BODY chunks must be 
  1718. preceded by the corresponding BMHD and COMP chunk(s).  The BMHD chunk is 
  1719. identical to the BMHD chunk in FORM ILBMs.
  1720.  
  1721. The compression component (of the 'struct BitMapHeader') should be set to 2.
  1722. The COMP chunk, and the form of the BODY chunk is specific to FORM RGB4.
  1723.  
  1724. Notes:
  1725.  
  1726. 1. If more than one image is to be stored in a file, they should be put in a
  1727.    CAT of LIST RGB4's.
  1728.  
  1729. 2. Every LIST RGB4 should contain three FORM RGB4's.
  1730.  
  1731. 3. The name 'RGB4' should not be used as a LIST type for anything but a 
  1732.    true 3-component RGB4 image.
  1733.  
  1734. Background
  1735.  
  1736. The compression technique transforms each byte into zero or more bits in a 
  1737. way that guarantees that no (transformed) byte will match the high order bits
  1738. of any other (transformed) byte.  For example, if an 'A' is represented as 
  1739. the binary number '101', then no other byte will have the form '101xxx'--so
  1740. when the sequence '101' is obtained, there's no question as to wheter or not
  1741. it is a full character.  The RGB4 BODY chunk is bit-packed transformed data.
  1742. The bit data is packed with the first bit in the high order position of the 
  1743. first byte.  The compression technique works best on 'low entropy' data that
  1744. is, data with a very non-uniform statistical distribution--for instance,
  1745. containing many zeroes.  The values appearing most often are represented with
  1746. the fewest bits.  For that reason, there are two more steps in 
  1747. encoding/decoding an image.  In encoding, each horizontal scan line is first
  1748. transformed into a sequence of differences.
  1749.  
  1750. So the sequence (X1,X2,X3,...) is first changed to (X1,X2-X1,X3- X2,...).
  1751. In decoding, one starts with a zero (at the left edge of the line) and adds
  1752. the succeeding values.  Thus first one obtains 0 + X1 = X1, then 0 + X1 + 
  1753. (X2-X1) = X2 and so on.  The values X1, X2, etc. are 4-bit numbers, and in 
  1754. all additions and subtractions, only the least 4-bits are retained  
  1755. (e.g. 12 + 13 -> 9, 9 - 13 -> 12, etc.).
  1756.  
  1757. This usually results in many 0's, 1's, and 15's--the latter a result of 
  1758. negative 1 being represented as 15.  Then the other step is: in encoding, 
  1759. pair the 4-bit values into 8-bit bytes with the first value in the high 
  1760. order part of the first byte (after calculating the differences); and in 
  1761. decoding, split the decoded bytes into 4-bit numbers before 
  1762. 'un-differencing'.  One might wonder why this last step is necessary--after
  1763. all, if there are many 0's, 1's, and 15's, it produces a lot of 00's, 01's,
  1764. 10's, 0F's, F0's, 11's, 1F's, F1's, and FF's.  And 0's, 1's, and 15's 
  1765. comprise 18.75 per cent of the 4-bit numbers, but the other collection is 
  1766. only about 3.5 per cent of all possible byte values.  But it also produces a
  1767. lot of 0x's, 1x's, Fx's, x0's, x1's, and xF's, where x is not 0, 1, or F.
  1768. These account for another 30.5 per cent of byte values.  Detailed statistical
  1769. calculations show that for un-correlated data, there is no difference in the
  1770. amount of compression that is theoretically possible in the two cases.
  1771.  
  1772. Un-correlated data is data in which there may be an uneven statistical 
  1773. distribution, but that knowing the value of one particular 'character' 
  1774. doesn't make it any easier to predeict the value of some other character.
  1775. The original images are highly correlated, for example.  If a particular 
  1776. pixel is, say, red, then adjacent pixels are likely to be red or close to
  1777. red.  After diffenceing the data, that staement becomes the statement that
  1778. there are a lot of 0's, 1's, and F's in the data.  But one can also make the
  1779. statement that in the original image, pixels that are two pixels away from a
  1780. red pixel are likely to be red as well.  After the differencing, this 
  1781. statement takes the form of '1's are likely to be followed by -1's (F's),
  1782. and that 2's are likely to be followed by -2's or -1's, etc.'.  Since 
  1783. adjacent 4- bit numbers are combined to make bytes, this means that there 
  1784. are also a lot of 1F's, 1E's, 2F's, 2E's, etc.  Testing showed that for 
  1785. normal images, indeed, better compression was obtained with the 8-bit data.
  1786. Typical compression obtained varies, but generally falls in the range 50 to 
  1787. 80 per cent, with 60 per cent being a common figure.
  1788.  
  1789. References and Trademarks
  1790.  
  1791. Any good book on computer data compression will cover Huffman coding in one
  1792. form or another.  It is a form of 'entropy reduction' coding that reproduces
  1793. the original data exactly. Compression/decompression algorithms are outlined 
  1794. in this manual.
  1795.  
  1796. Amiga is trademark of Commodore-Amiga, Inc.
  1797. Diamond, Silver, Turbo Silver, Prism, PrismPlus, and Terrain are all
  1798. registered trademarks of Impulse, Inc.
  1799.  
  1800. Technical support for Diamond and other Impulse products is available
  1801. by calling: 1-800-328-0184  Technical support hours are: Monday-Friday
  1802. 9:00am - 4:30pm (CST).
  1803.  
  1804.     Impulse, Inc.
  1805.     6870 Shingle Creek Parkway, #112
  1806.     Minneapolis, MN  55430
  1807.     (612) 566-0221
  1808.