home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Painting / PAINTDOC.DMS / in.adf / ASCII_Files / Chapter02.pp / Chapter02
Encoding:
Text File  |  1995-10-28  |  26.0 KB  |  487 lines

  1.                    "Personal Paint  -  2. Tutorial"
  2.  
  3.  2. Tutorial
  4.   2.1 Exploring Personal Paint
  5.   2.2 Gradient Fill
  6.   2.3 Line Pattern
  7.   2.4 Combining Text Editing, Image Processing and Stencils
  8.   2.5 Color Reduction and Remapping
  9.   2.6 Color Merge
  10.  
  11. 2.         Tutorial
  12.  
  13.    Thank you for choosing Personal Paint. Before you start working with
  14. the program, please make a work copy of the disks and put the originals in
  15. a safe place. Section 1.6 explains how to make a backup copy. Make sure
  16. that the original names are used for the new disks. If necessary, rename
  17. the copies (Workbench Rename command) to remove prefixes like "Copy of "
  18. (including leading and trailing space characters) which may have been
  19. added to the disk name by the copying program.
  20.  
  21.    Don't forget to double-click on the PPaint.man icon on the program disk
  22. to read about possible recent additions to this manual. Different national
  23. versions of Personal Paint may be covered by different program
  24. registration policies. PPaint.man may contain more specific information on
  25. this topic.
  26.  
  27.    Before installing the program, configure the program disk by
  28. double-clicking on the selected language-icon (English, Deutsch, Italiano,
  29. etc.) This procedure will move and rename some files on the disk, without
  30. deleting any data. The effects of this can be changed at any time by
  31. reconfiguring the disk. The disk must be write-enabled (the write-protect
  32. tab should cover the small hole on the corner of the disk). Section 1.12
  33. contains more information on the configuration procedure.
  34.  
  35.    Automatic hard disk installation is very simple, and is described in
  36. section 1.13.1. It can be activated by double-clicking on the
  37. InstallPPaint icon. It is possible to select where to install the program,
  38. to create a drawer if it does not exist already, and to decide which
  39. modules of the program to install. Installation and configuration may not
  40. work properly if incompatible AmigaDOS replacement programs have been
  41. installed (section 1.13.1 has more on command programs like the ARP
  42. tools).
  43.  
  44.    If you don't have a hard disk, you might want to format one or more new
  45. disks and reserve them for data edited with Personal Paint. You should not
  46. save your work to Personal Paint's disks, since these are quite full.
  47. Also, do not overwrite or delete any existing files on these disks, unless
  48. this is done on copies of the disks. Generally, changing any such files in
  49. a way which is not explicitly suggested in this manual may have undesired
  50. effects.
  51.  
  52.    Once you start working with the program, remember to frequently save
  53. your work during each session, and make periodical backup copies of the
  54. entire disks. This will protect your work from mistakes, power failures,
  55. software errors and disk read/write problems.
  56.  
  57.  
  58. 2.1        Exploring Personal Paint
  59.  
  60.    Personal Paint may be best explored by browsing through this manual and
  61. through the program user interface. The Table of Contents is very detailed
  62. and, like the manual, was designed in order to make things easy to find.
  63. Chapter 1 contains a general technical introduction to Personal Paint and
  64. the Amiga environment. Chapter 3 describes the main screen elements, while
  65. Chapters 4 to 8 are structured after the program menus. Chapters 9 and 10
  66. are respectively dedicated to utilities and problem solving. Error
  67. messages, keyboard shortcuts and other details are described in the
  68. Appendices. Whenever something is not completely covered in one single
  69. section, or if there are related sections which may be of interest, there
  70. are explicit cross-references.
  71.  
  72.    Since it is easier to study something after having already experimented
  73. a little bit with the subject, it may be useful to read the manual in more
  74. depth after having worked for some time with the program. Personal Paint
  75. is not dangerous to use: most program requesters can be displayed to see
  76. what they do, and terminated by selecting the Cancel gadget; painting and
  77. image processing operations can be undone; warning messages are displayed
  78. whenever there is a risk of overwriting or losing some data. Only remember
  79. never to work directly on the original program disks, use the copies
  80. instead.
  81.  
  82.    The tools which appear on the bar on the left of the screen can be
  83. selected either with the left or the right mouse button, in their upper or
  84. lower half. The right mouse button usually activates an options requester
  85. associated with the tool. The upper and lower halves of the tool may be
  86. selected to specify the unfilled or filled mode. You should try out all
  87. tools in all possible combinations (left/right mouse button and
  88. upper/lower half).
  89.  
  90.    Clicking with the right mouse button on the little number which appears
  91. among the predefined brushes pops up a little menu with numbers from one
  92. to nine. This means that up to nine different brushes can be used. The
  93. current number indicates which custom brush you want to use.
  94.  
  95.    Most painting and image processing functions make use of the current
  96. foreground and background color. These can be selected from the palette
  97. which is displayed on the screen with the left and right mouse button,
  98. respectively.
  99.  
  100.    Again, left and right mouse buttons have different effects when
  101. painting. The right mouse button usually clears the selected (or
  102. underlying) area using the background color.
  103.  
  104.    If quality is preferred over speed, the Floyd-Steinberg Color Remapping
  105. and Color Average Resize should be activated and saved with the default
  106. settings (respectively sections 8.7, 8.15 and 8.2). If available RAM is
  107. very limited, you should close the Workbench screen, and use only one
  108. environment and a single brush (sections 8.16 and 10.1). Screen modes with
  109. higher resolution and more colors require proportionally more memory
  110. (sections 1.3.2, 4.5 and 4.11). If you don't know whether you have a lot
  111. of usable RAM, or just very little, check with the Memory Information
  112. command (section 4.11), and study the results after reading sections 1.3.2
  113. and 10.1.
  114.  
  115.    Before painting on a blank screen, you must choose an appropriate
  116. screen mode, page size and color palette (section 4.5). On Original and
  117. Enhanced Chip Set Amigas, low resolution screens (320 by 200) in 32 or 64
  118. colors are normally preferred for paintings with plenty of colors. Higher
  119. resolutions limit the maximum number of colors, and are therefore used
  120. with palettes of up to 16 different colors. Advanced Graphics Architecture
  121. Amigas can work in up to 256 colors in most video modes. When you select a
  122. new screen mode with the requester described in section 4.5, don't forget
  123. to set the page size (usually the same as the screen size) and the maximum
  124. number of colors. Setting the highest possible values is not necessarily
  125. the best choice, especially if there is not much RAM to work with.
  126.  
  127.    Personal Paint offers many original features which you might not expect
  128. to find in similar programs. You can start impressing image processing
  129. operations with a click on a tool (section 3.1.4), use the GIF file
  130. standard to read thousands of 256-color images which are available, grab
  131. screens from other Amiga programs (section 4.4), output to PostScript
  132. devices adding interesting effects (section 4.3.3), merge different images
  133. into one (and creating one common color palette - section 7.6), reduce the
  134. number of colors used by an image (section 7.7) and much, much more.
  135.  
  136.    If you want to see some examples of what you can do by combining
  137. different operations, just go on and read the following sections.
  138.  
  139.  
  140. 2.2        Gradient Fill
  141.  
  142.    This example will show you what you can do with Personal Paint's
  143. special fill and line modes.
  144.  
  145.    Choose a high resolution screen format with 16 colors (Project/Image
  146. Format menu - section 4.5). A standard PAL or NTSC high resolution mode
  147. will do. If you are not annoyed by interlace mode, select an interlaced
  148. screen.
  149.  
  150.    Display the color palette requester (Color/Edit Palette menu - section
  151. 7.1.3). The requester also appears if you press <p>. Click on the first
  152. color in the row of colors displayed at the top of the requester. Make
  153. that color white by setting the R, G and B sliders appropriately (all
  154. sliders to the right). If white looks too bright on your monitor, move the
  155. Brightness knob to 80% to obtain a light gray. Then go to the second color
  156. and make it black (the three sliders should be moved to the extreme left).
  157. Now pick the next color (color position 02) and make it dark green (set H,
  158. S and B respectively to 137, 100 and 46). Jump to position 08 and set that
  159. color to light green (HSB = 82, 61, 86). Set color 09 to dark red (HSB =0,
  160. 100, 66) and color 15 to pink (HSB = 11, 33, 100).
  161.  
  162.    Now you need to create the intermediate shades of green and red. To do
  163. so, click on dark green, select Create HSV Range (the gadget with a II
  164. over the range symbol - section 7.1.3.6), and click on light green. Now
  165. there should be a smooth transition of colors between dark green and light
  166. green. Repeat the process with red: select dark red, click on the Create
  167. Range gadget and then select pink. If everything goes well, you can select
  168. Proceed, to confirm the changes. Otherwise, repeat the above steps.
  169.  
  170.     In the color palette below the tool bar, click on black with the left
  171. mouse button, and on white (or gray) with the right button. This will set
  172. the foreground and background colors. Clear the image, if it is not
  173. already empty, by selecting the Clear tool (section 3.1.9).
  174.  
  175.    Select the smallest predefined brush (the first). You may also do this
  176. by typing <.> on the keyboard. Select the Empty Rectangle tool by clicking
  177. on the top half of the rectangle image with the left mouse button. Draw a
  178. large box, almost as large as the screen, by clicking and dragging with
  179. the left mouse button. If the box does not look like you would like it to,
  180. select the Undo tool (section 3.1.10), or type <u>.
  181.  
  182.    Pick the largest of the round brushes. Make it even larger by typing
  183. <+> half a dozen times (use the plus sign which appears on the
  184. alphanumerical keyboard, not the one on the numeric keypad).
  185.  
  186.     Select the continuous freehand drawing mode by clicking on the top
  187. half of the tool with the left mouse button. Move the pointer inside the
  188. box which you have created, click on the left mouse button and move the
  189. mouse to draw something like a snail, a worm, or an S-like shape. Release
  190. the mouse button when you have finished. Again, select Undo if you would
  191. like to try again.
  192.  
  193.    Now click on the fill tool using the right mouse button. The Area
  194. Settings requester should appear. Select the Manual Gradient Mode (section
  195. 3.1.2.2.2) by clicking on the Gradient Mode symbol until the four boxes
  196. crossed by an arrow appear. Click on the Gradient Type gadget until the
  197. Shape symbol is selected (a circle containing four arrows should appear).
  198. If you see the correct symbols, select Proceed. The Gradient Fill symbol
  199. should appear on the title bar.
  200.  
  201.    Now select pink as the foreground color, and dark red as the background
  202. color (by respectively selecting the colors in the palette with the left
  203. and right mouse button). Move the mouse pointer over any point which is
  204. inside the box, but not over the curved shape. The mouse pointer should be
  205. displayed using the Fill symbol. Click on the left mouse button. This will
  206. take a few seconds. The background of the box should be filled with smooth
  207. shades of red. Now select light green (it should be just over red in the
  208. palette) and dark green as the foreground and background color. Fill the
  209. black shape inside the box as you have just done for the background. You
  210. should now see something like a green snail lying on a red cushion. If you
  211. wish, you can obtain different variations by exchanging red and green, or
  212. light and dark colors.
  213.  
  214.    If you want to experiment more applying the same techniques, you can
  215. select the Filled Freehand tool (use the left mouse button to click on the
  216. lower half of the gadget) and draw a heart-like shape. The heart will be
  217. softly shaded using the colors from the current foreground to the
  218. background color.
  219.  
  220.    Did you expect that you could create similar effects with Personal
  221. Paint and just a few mouse clicks? If you are looking for more surprises,
  222. just go on reading.
  223.  
  224.  
  225. 2.3        Line Pattern
  226.  
  227.    For this short example you can use the same screen, image format and
  228. colors of the previous example. You will see how you can draw lines
  229. composed of color cycles from a sequence of palette colors.
  230.  
  231.    Select white (or gray) as the current background color (right mouse
  232. button) and clear the image with the Clear tool.
  233.  
  234.    Click on the Filled Rectangle tool (lower half of the rectangle image)
  235. using the right mouse button. This will display the Area Settings
  236. requester. Click on the Gradient Type gadget until the Horizontal Gradient
  237. symbol appears (a two-headed arrow completely contained in a circle).
  238. While the requester is displayed, you can choose some colors in the screen
  239. color palette. Select dark red as the foreground color (use the left mouse
  240. button) and pink as the background color (right mouse button). You will
  241. see how the Gradient box changes to show a smooth transition of red.
  242. Select Proceed.
  243.  
  244.    Paint a long, horizontal filled rectangle by dragging the mouse on the
  245. screen (left mouse button held down). It should automatically be filled
  246. with the colors from dark red to pink. Now click once on the Define Brush
  247. tool. Select a horizontal stripe inside the rectangle which contains all
  248. gradations of red. Then click on the Line tool using the right mouse
  249. button. The Line Settings requester will appear. Cycle the Line Type
  250. gadget until Colored Pattern appears. Then click on the gadget
  251. corresponding to the first brush (assuming that this is the brush you have
  252. already defined). This will create a line pattern which uses the colors
  253. that appear on the topmost line of the brush. Click on Proceed to remove
  254. the requester. The Line Pattern symbol will appear on the title bar.
  255.  
  256.    Now select the large, round, predefined brush, and start drawing some
  257. lines or freehand curves of different lengths. You will notice that the
  258. path is made up of all the colors in the range which was originally
  259. enclosed by the brush. You may try several variations by redefining the
  260. color palette with different color spreads. By selecting the shaded brush,
  261. applying Brush/Rotate/Horizontal Flip and pasting the new brush to the
  262. left or right of the original pattern, you can create "ping-pong" color
  263. transitions (with colors softly changing back and forth).
  264.  
  265.  
  266. 2.4        Combining Text Editing, Image Processing and Stencils
  267.  
  268.    You could start this session using the same screen mode, page size and
  269. color palette selected for the previous examples.
  270.  
  271.    Select light green as the current background color (right mouse button)
  272. and clear the image with the Clear tool.
  273.  
  274.    Click on the Text tool (section 3.1.3) with the right mouse button.
  275. This will display the Font Selection requester. If you have many fonts, it
  276. will take the operating system a few seconds to scan through all of them.
  277. Personal Paint will then show you all the fonts which are available. Click
  278. on "Topaz 9 oetf". This is a standard ROM-font which should be available
  279. on all systems. (If you have a better font, use it.) In the Font
  280. Attributes text gadget, change the 9 to 20, append an 's' after the other
  281. characters and press <Return>. If you have version 2.0, or a higher
  282. version of the operating system, you should now see an enlarged version of
  283. the Topaz font. Click on Proceed.
  284.  
  285.    Select black as the foreground color, move the cursor to the center of
  286. the screen and type a short sentence. Now use the right mouse button to
  287. select the Image Processing tool (section 3.1.4). Double-click on Blur
  288. Low. The requester should disappear.
  289.  
  290.    By dragging the mouse while the left mouse button is held down, select
  291. an area of the screen which is sufficiently large to contain the text you
  292. have just typed, with a margin of several dozen pixels. Line by line, you
  293. should see the text being "blurred". This effect is useful if you want to
  294. anti-alias a text typed with a font which has visible "steps", or to
  295. smoothly merge a text with the background.
  296.  
  297.    Now let's try again, but blurring the pixels which make up the text
  298. without affecting the background. Select Undo to cancel the effects of
  299. applying image processing to the text. Select the Edit Stencil requester.
  300. Put a checkmark on the light green box by clicking on it. Select Proceed.
  301. The Stencil Mode symbol should appear on the title bar. Select Blur High
  302. after clicking on the Image Processing tool with the right mouse button.
  303.  
  304.    Apply image processing again by redefining the area to be processed.
  305. The background should remain intact, while blurring should change the
  306. outer parts of the characters, making them look a bit like oxidized
  307. copper.
  308.  
  309.    Try another text color: select dark red and click on the Filled
  310. Rectangle tool (left mouse button, lower half of the rectangle). Since the
  311. background color is still "protected" by the stencil, you can change the
  312. text by painting a rectangle over it. Try blurring again. Then disable the
  313. stencil by typing <`> on the upper left of the keyboard: the stencil
  314. symbol should disappear from the title bar.
  315.  
  316.    Now you can repeat all of the above combinations using different text
  317. and background colors, changing some colors in the palette, applying
  318. different effects (like Blur High, Randomize High, etc.), activating the
  319. F-S Error Diffusion option in the Filter Selection requester, etc. You can
  320. use the stencil to protect the text color instead of the background color
  321. (in this way, you could quickly recolor the background without modifying
  322. the text).
  323.  
  324.  
  325. 2.5        Color Reduction and Remapping
  326.  
  327.    This example will show you the differences between qualitative and
  328. quantitative color reduction, and different types of color remapping. The
  329. "Parrot.gif" and "Clown.gif" picture files are used in this section. These
  330. files are part of a collection of pictures which is available for use with
  331. Personal Paint. Check on the disks which come with the program. If you
  332. don't have these files, you may use other pictures having the same format,
  333. or contact your Amiga dealer. The single images are also available from
  334. public domain sources.
  335.  
  336.    If your Amiga employs the Original or Enhanced Chip Set, you do not
  337. need to set the screen size before loading the images used for these
  338. examples. If you have an Advanced Graphics Architecture Amiga, or any
  339. other Display Database-compatible device capable of displaying 256 colors,
  340. you must set the screen and image format to 320 by 200 (LowRes HBrite, PAL
  341. or NTSC), 64 colors. If you are using a PAL screen, or any other screen
  342. having a different size, remember to manually set the image size to the
  343. 320 by 200 image format. You should not set more than 64 colors, otherwise
  344. you won't be able to appreciate Personal Paint's color reduction and
  345. remapping applied to 256-color images.
  346.  
  347.    Make sure that Settings/Color Reduction is set to Qualitative and
  348. Settings/Color Remapping is set to Simple (sections 8.6 and 8.7).
  349.  
  350.    Select Project/Load Image (section 4.1) and choose the file named
  351. "Parrot.gif". (On the data disks which are designed for use with Personal
  352. Paint, picture files are stored in the "Pictures" directory.) Double-click
  353. on the file name, or select Proceed to load the image.
  354.  
  355.    A warning requester might appear, indicating that the selected image
  356. has a format and number of colors different from the current environment
  357. format. If you have been working with an AA (256-color) system, and have
  358. manually set the screen format as explained before, select the lower
  359. gadget to maintain the current format (the Stretch option should be
  360. disabled). If you have an Original or Enhanced Chip Set Amiga, just click
  361. on Proceed, leaving the default gadget selection unchanged. This will
  362. activate the screen mode which most closely matches the format of the
  363. selected image, i.e. Low Resolution HBrite.
  364.  
  365.    The progress requester keeps you informed about the current status of
  366. loading and converting the image. The time it takes also depends on the
  367. color remapping mode and the number of colors (if the screen can display
  368. all image colors, there is no need to color-reduce and remap).
  369.  
  370.    The parrot image should appear on the screen. Select
  371. Project/Environment/Copy to Other, followed by Project/Environment/Switch
  372. (or press <j> on the keyboard). This will create a second environment,
  373. identical to the first one. You will notice that you are in the second
  374. environment from the "2:" which precedes the name of the picture on the
  375. title bar.
  376.  
  377.    Now change the Settings/Color Reduction option and choose Quantitative.
  378. To see the difference between the two modes, you can now load the same
  379. image again, repeating the same selection on the warning requester. After
  380. the usual progress indications, a second parrot will appear. Can you
  381. notice the difference at first glance? Look at the tail, and press <j> to
  382. switch from one environment to the other: the first parrot has a blue
  383. tail, while the second parrot has a gray tail.
  384.  
  385.    Blue shades were used very little in that image, but were important to
  386. render details like the tail. The qualitative color reduction method
  387. respects these priorities. The quantitative method, on the other hand,
  388. tends to preserve more shades of similar colors, as you can see if you
  389. observe the branches of the trees.
  390.  
  391.    Now we'll do another experiment to understand the difference between
  392. different methods of color remapping. Leave both images as they are. Reset
  393. the Color Reduction to Qualitative. Start from any environment, and load
  394. the "Clown.gif" picture. Reply to the program messages as you did before.
  395.  
  396.    Now press <j> to go to the other environment. The parrot should still
  397. be there. Select Floyd-Steinberg in the Settings/Color Remapping menu, and
  398. load "Clown.gif". Now both environments contain the image of a clown.
  399. Again, can you spot the difference? Look at the nose of the clown and
  400. press <j> a few times. Floyd-Steinberg color remapping has created much
  401. smoother color transitions, giving the illusion of a larger color palette
  402. by carefully combining different colors.
  403.  
  404.  
  405. 2.6        Color Merge
  406.  
  407.    This example will require considerably more Chip RAM, and might not
  408. work on 1 Mbyte systems. It will show you how to merge the color palettes
  409. of different images into a common palette, so that different images can be
  410. viewed, overlapped and freely mixed on the same screen.
  411.  
  412.    Four different images will be required. If you can spend more time on
  413. this, select images which have different color palettes (both in the
  414. number of color entries, and in the colors themselves), but were designed
  415. for the same screen format. If all the source images have the same format,
  416. you can create a simple poster without having to resize each image in a
  417. different way. You should be able to create something like the
  418. "PPaint.gif" sample file, where each image occupies a quarter of the
  419. screen.
  420.  
  421.    If you have selected images with a particular format, then select the
  422. same format for the screen and image (Project/Image Format menu). The
  423. Color Merge process merges different palettes into a new palette which has
  424. the same number of colors as the current environment. For this reason, an
  425. image format with at least 16 colors should be set for higher quality
  426. results.
  427.  
  428.    Now select brush number one. You can do this either by typing <1> on
  429. the numerical keypad (not on the alphanumerical keyboard), or from the
  430. menu which appears when you click with the right mouse button on the
  431. little number among the predefined brushes, on the tool bar.
  432.  
  433.    Use Brush/Load (section 5.1) to load the first of the four pictures.
  434. Then select the following brush number and repeat the process until you
  435. have four images, each associated to one brush. Don't be surprised if the
  436. brushes are not displayed with their correct colors. This is caused by the
  437. fact that the screen (i.e. the current environment) may probably use a
  438. different set of colors from the brush. Also, don't worry if you are using
  439. Load Brush instead of Load Image: you need to do this to be able to
  440. process different images at the same time. If you wanted to merge only two
  441. pictures, you could use Personal Paint's two image environments.
  442.  
  443.    Choose the Color/Merge menu item (section 7.6). In the requester, click
  444. on the items which you want to merge. In this example, it should be
  445. sufficient to click on the gadgets associated to the first four brushes.
  446. If the gadgets are shadowed, you probably forgot to change the brush
  447. number before loading a new brush. Select Proceed to see Color Merge in
  448. action.
  449.  
  450.    If you didn't select Current in the merge requester, you have to select
  451. Color/Palette/From Brush to apply the brush palette to the current
  452. environment. Now you can cycle through all of the brushes to resize them.
  453. This time, as each brush is selected, it is also displayed properly on the
  454. screen. If you notice that a brush is deformed, i.e. it is too tall, or
  455. too wide, apply Halve Vertical or Halve Horizontal. Otherwise, if the
  456. brush is simply too large, select Halve from the Brush/Resize menu.
  457.  
  458.    Now you have four brushes which are small enough to be manipulated and
  459. combined on the screen. For most Amiga users with some graphics experience
  460. who see four completely different pictures on the same screen, it is a
  461. surprise to discover how few colors need be used. Paste the brushes on the
  462. screen to create an image like "PPaint.gif", or "ColorMerge.gif".
  463.  
  464.    You could apply some variations to the process described here. For
  465. example, you could activate the Color Average Resize option in the
  466. Settings menu (section 8.15). This would considerably slow down resizing
  467. operations, but would also improve the quality of brush resizing.
  468. Alternatively, you could set the Color Remapping option to
  469. Floyd-Steinberg. In that case, however, you would have to first resize the
  470. images, and then execute the color merge. Otherwise, resizing the brushes
  471. would alter the Floyd-Steinberg patterns created by the color merge and
  472. remapping process.
  473.  
  474.    If you want to save the image, use Project/Save Image. When choosing
  475. the file format, keep in mind that GIF files generally occupy less space
  476. than other formats, whereas IFF-ILBM is the standard which will allow you
  477. to exchange data with most other Amiga software. If you like special
  478. effects on your Workbench, you may want to use colored picture-icons.
  479. Section 8.9.3 explains how to use icons representing reduced images in up
  480. to 256 colors.
  481.  
  482.    To conclude this example, click on <F9> to hide the tool bar with the
  483. color palette. Then look at the screen: can you remember how many colors
  484. you used?
  485.  
  486. @ENDNODE
  487.