Home » Archimedes archive » Acorn User » Acorn User - Shareware Collection (1993).adf » Process » !Process/!Guide

!Process/!Guide

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » Acorn User - Shareware Collection (1993).adf » Process
Filename: !Process/!Guide
Read OK:
File size: 8D76 bytes
Load address: 0000
Exec address: 0000
File contents
                                   !Process
                          ===========================
                          256 colour image processing
                                      by
                          Henrik Bjerregaard Pedersen


   About !Process
  ================
   !Process is a 256-colour sprite processing/manipulation program.
   It enables you to manipulate 256-colour sprites in a variety of ways,
 including noise-removal, sharpening, smoothening, inverting, colour
 separation, conversion to black/white or greytones, edge-detection and more.
 Besides that, !Process also includes some of the features found in !Paint or
 other basic drawing packages.

   The following is only a brief summary of the features of !Process. The
 number of ways you can distort/alter/manipulate an image are endless, and
 would therefor require a RATHER large !Help-file to describe in details.
   The best (and most amusing) way to discover the possibilities in (and the
 limits of) !Process, is to load an image and simply try the different
 operations one by one. However, I strongly recommend that you read this file,
 otherwise you may have trouble with some of the features.

   Problems
  ==========
   Whenever possible, you should ensure that the images you load into Process
 are created without palette or mask, and that the spritefile contains only
 one sprite.

   Vocabulary
  ============
   Source image      ... the image from which pixels/information is READ.
   Destination image ... the image to which pixels/information is WRITTEN.
   Colour component  ... a value in the range 0-255, describing the amount of
                         either RED, GREEN or BLUE. 0 is nothing, 255 is full.
   Kernel            ... a 3x3 matrix which is multiplied with the colour
                         components of a center pixel and its 8 neighbours.
                         The average of the 9 elements of the kernel is
                         calculated, and this becomes the colour of the center
                         pixel.
   Image viewer      ... any of the (from two to nine) image windows.

   Starting
  ==========
   Double click on the !Process-icon, and the program installs itself on the
 iconbar.
   !Process will claim approx. 160k as long as no image is loaded. After
 loading an image, the wimpslot will be increased with at least twice the size
 of the spritefile.

   Stopping
  ==========
   Select the option Quit from the iconbar menu.
   If you end up in an endless loop of error messages, you can in most cases
  exit the program by pressing DELETE while clicking on the OK icon in the
  error box.

   Loading
  =========
   Drag as spritefile containing a 256 colour sprite as the first sprite to the
 iconbar icon, and it will be loaded and will appear in a window.
   Click MENU when the mouse is inside this window, and the main menu appears.
   Process will also load AIM files, Clear files (in 256 greytones) and sprites
 with a 256 entry greyscaled palette.
   After applying a filter/effect the processed image will appear in another
 window. If you drag a spritefile to either of these windows, !Process will
 attempt to load the file, but will fail if the first sprite in the file isn't
 the same size and in the same mode as the original, or if the file has a
 different size than the original.
   Please note that !Process ignores the palette of the sprite, and simply uses
 the default 256 colour palette.

   Printing
  ==========
   This isn't what !Process is best at. In fact, it doesn't print at all, so
 what you'll need to do is to save the image (either to disc or directly to
 !Paint) and then use !Paints printing facilities in conjunction with a
 RISC OS PDriver to get your piece of art on paper.

   Greyscaled images
  ===================
   !Process accepts 3 types of greyscaled images:

   AIM (256x256 pixels, 8 bpp, always greyscaled)
   Clear (8 bpp, greyscaled palette)
   Sprites (with a palette with 256 greyscaled entries).

   Beside these, Process can convert any loaded colour sprite to 8 bpp
 greytones.
   Some of the operations provided by Process are meaningless when applied to
 a greyscaled image (eg RGB separation, Greyscale conversion etc.). In these
 cases the operation will be inaccesible/shaded in the menu.

   Options
  =========
   When started, !Process reads the systemvariable Process$Options which may
 contain the following options:

         Name        Meaning
        -------------------------------------------------------------
         max2        Sets the number of copies of the image !Process
         max3        creates when a file is loaded.
         max4  etc   Minimum is 2, maximum is 9. If you don't set max
         max9        or set it to an illegal value, max4 is used.

         swap        Automatic swapping on.

         dma         Disable DMA during lengthy calculations.

         tools       Show toolbox.

   To perform RGB separation max4 is needed, to perform CMYK separation max5
 is needed.

   The system variable Process$WindowTitle holds the template string for the
 text in the titlebar of the image viewers.
   The variable is set in !Process.!Run, and may be altered to include any of
 the given pieces of information:

         Arg       Substituted with
         --------------------------
         %%0       "Process"
         %%1       The name (full path) of the sprite file
         %%2       The name (last part) of the sprite file
         %%3       The name of the sprite
         %%4       The mode in which the sprite was created
         %%5       Size X of sprite (pixels)
         %%6       Size Y of sprite (pixels)
         %%7       The image viewer's number (1 - max)
         %%8       Zoom factor X
         %%9       Zoom factor Y

   Maps
  ======
   Maps are tables translating one colour to another. 256-colour images use one
 byte per pixel, so mapping is simply done using a 256-bytes table, so that a
 byte with value n is translated into the n'th entry in the table.
   Many of the operations in !Process are performed using maps, to name a few:
 Invert, Add colour, RGB filter, Translate, Greytones, Brighten, Stretch
 histogram, Equalize histogram, Expand/Reduce range etc.
   It is possible to create your own map and apply it to the loaded image. If
 you drag a 256-bytes Data-file (filetype &FFD) to any of the image viewers,
 the file will be loaded and used as a map on that particular image.
   You can edit the BASIC-program GenMap to suit your own purposes.

   The colour selector
  =====================
   The colour selector is a window that pops up whenever a selected operation
 needs a colour as input. The window contains three slidebars, Red, Green and
 Blue which can be used to select the colour, which will be shown to the right
 of the slidebars. The five icons at the bottom of the window are:

   Pick        Click on this and you can select a colour by clicking
               SELECT in the source window.
   Black       Sets all three slidebars to 0 (=black).
   White       Sets all three slidebars to full (=white).
   Cancel      Abort the operation/close the window.
   OK          Apply the filter/effect/operation or close the window.

   If you click ADJUST on either of the slidebars, all three bars will be moved.
   The palette in the right side of the image can be used to select any of the
 256 default colours used in 8 bpp modes.

   The grey value selector
  =========================
   This is exactly the same as the colour selector, except that you only use a
 single slidebar to select the colour/grey value.

   The windows
  =============
   The two main windows in !Process are the source and destination windows.
   The source window can be identified by the toolbox, the destination window
 by the pane window with the arrows.

   The toolbox
  =============
   The toolbox contains icons for various of the most frequently used
   operations, such as zoom, pan, copy image, set colour etc. Most operations
 can be aborted by selecting another operation or by clicking ADJUST on the
 selected icon. From top to bottom, left to right, the icons are:

      Select area
      -----------
      This works exactly as the menu option Misc.Image.Select area.

      Use selected area
      -----------------
      If this icon is set (slabbed inwards) only the selected area of the
      source image will be processed. If an area is selected and used,
      pressing MENU over this icon will open a window containing icons to
      control the selected area. These icons work in the same way as the
      sub menu to the menu option Image.Select area.

      Copy to destination
      -------------------
      This copies the source image (or the selected part of the source image)
      to the destination image.

      Copy from destination
      ---------------------
      The reverse of 'Copy to destination'.

      Calculate histogram
      -------------------
      Calculate and display the histogram of the source image.

      Open RGB colour selector
      ------------------------

      Swap images
      -----------
      Swap source and destination images.

      Zoom
      ----
      When this is selected, you can enlarge a portion of the image simply by
      dragging a box in the source image window. Click MENU over this icon to
      open a window with 8 preset zoom factors.

      Painting tools
      --------------
      Click MENU over this to reveal the 8 painting tools:
            Pencil
            Filled rectangle
            Rectangle
            Filled circle
            Circle outline
            Lines
            Flood fill
            Global replace
            Spraycan
            Triangle fill
            Triangle
            Parallelogram fill
            Parallelogram outline
            Ellipse fill
            Ellipse outline
            Smooth line

      Note that the painting tools write to the source image, NOT to the
      destination image.

      Pan
      ---
      Simple, really.

   The menus
  ===========

      The icon bar menu
      =================

      Info
      ----
      ...with the usual program info window.

      Views.Tidy
      ----------
      Tries ever so hard to tidy the image viewers.

      Views.----
      ----------
      A list of all the image viewers.

      Create image
      ------------
      Creates a new blank image.

      Drop file
      ---------

      Quit
      ----


      The main menu
      =============

      Miscellaneous.Options.Automatic swap
      ------------------------------------
      If this options is selected, the source and destination image will be
      swapped automatically after any operation has been applied to the image.

      Miscellaneous.Options.Disable DMA
      ---------------------------------
      If this option is selected, the sound and video DMA will be disabled
      while !Process is processing an image. In hi-res modes on an ARM2 this
      can increase processing-speed with as much 100% or more.

      Miscellaneous.Options.Show toolbox
      ----------------------------------
      If this option is selected, a toolbox will appear on the left side of the
      source image window, and a pane window appears on the left side of the
      destination image window.

      Miscellaneous.Options.Normal panning
      ------------------------------------
      Switches between the two different types of panning.

      Miscellaneous.Options.Display in greytones
      ------------------------------------------
      Displays the images (if they are in colour) in greytones.
      Greyscaled image can also be shown in colour, by deselecting this option.

      Miscellaneous.Edit pencil/spraycan
      ----------------------------------
      Select this to set the shape/size of the pencil tool or the size/
      intensity of the spraycan.

      Miscellaneous.Plot type
      -----------------------
      This enables you to select which plot action the painting tools should
      use. The default is Set, which means plot the selected colour. The other
      possible plot actions are:
            OR          OR the colour in the image with the selected colour.
            AND         AND ......
            EOR         EOR ......
            Invert      Invert the colour in the image (ignore the selected
                         colour).
            Don't plot  Speaks for itself, doesn't it?
            AND NOT     AND the colour in the image with the inverse of the
                        selected colour.
            OR NOT      OR ......
      The plot type affects all the painting tools except Spraycan, Flood fill
      and Global replace.

      Miscellaneous.Reload last
      -------------------------
      This enables you to reload the last saved image (for that particular
      image viewer). In some cases you might experience an error like
      'Not enough room in spritearea'. This will typically happen if the image
      you are trying to reload has a palette, as !Process stores the images
      without palette. There simply isn't room for the extra palette data.


      Image.Image info
      ----------------
      Leads to a window with image info.


      Image.Convert to greyscale
      --------------------------
      Converts the image to 256 greytones. This cannot be reversed.

      Image.Copy source image
      -----------------------
      Selecting this option will copy the source image to the destination
      image.

      Image.Select area
      -----------------
      This entry allows you to select a part of the image. Almost all
      operations on the image will only have effect in the selected area.
      Select the option, then click SELECT in one corner of the rectangle you
      wish to select and click SELECT again in the other corner.
      You can abort the cutting by clicking MENU.
      If an area already has been selected, it is possible to adjust the
      position/size of the area using the options in the sub-menu to this entry.
             Extend top/bottom/right/left will move to appropiate side of
             the rectangle to the top/bottom/right side/left side of the
             full image.
             Top/bottom/right/left neighbour will set the rectangle to an
             area with the same width/height as before, but positioned
             above/below/to the right of/to the left of the previous area,
             so that no pixels overlap.

      Image.Clear area
      ----------------
      This will reset the selected part of the image to the full image.

      Image.Use full image
      --------------------
      If this option is selected (ticked), the full image is be used.

      Image.Use selected area
      -----------------------
      If this option is selected, only the selected part of the image will be
      affected by the processing.


      Range.Reduce range
      ------------------
      This uses a simple algorithme to reduce the range of the colours in the
      source image. All colours are moved towards a boring greytone (red, green
      and blue = 128).

      Range.Expand range
      ------------------
      All colours are moved away from the greytone mentioned above.

      Range.Calculate histogram
      -------------------------
      This calculates and displays the colour histogram of the image.
      There will almost always be at least a small amount of both red, green
      and blue in all images, even after the image has been thru e.g. a blue
      filter. This is due to the fact that the bottom two bits of each byte is
      common to the three colour components.

      Range.Stretch
      -------------
      Stretches the colour range of the image. This will stretch a selected
      part of the colour histogram so that this part fills the entire range.
      If a colour component is outside the selected part it becomes either 0
      (if below) or 255 (=full, if above).
      Selecting a part of the histogram is done using the lowered rectangle
      below the histogram. Clicking ADJUST in this sets the upper limit,
      clicking SELECT sets the lower limit.

      Range.Equalize
      --------------
      Histogram equalisation. This will attempt to equalize the histogram so
      that there is a (roughly) equal number of pixels in each of the possible
      shades.

      Range.Transfer median
      ---------------------
      Calculates the mean colour of the image, and transfers it to the RGB
      colour selector. This is especially useful if you want to convert a
      colour image to greytones, as the mean colour will ensure a reasonably
      good conversion.

      Range.Colour correction
      -----------------------
      Uses one of three algorithems to perform colour-correction. The curve
      shows 'New colour' vs 'Old colour'.

      Gamma (Gamma-correction): Each colour-component is translated to a new
      colour using the formula:   NewCol = (OldCol ^ Gamma)
      Gamma is set using the two up- and down-icons.
      Gamma-correction is particually useful on scanned/digitized images.

      P-lin: Basically the same as Gamma-corr. You can adjust the curve by
      clicking SELECT on it.

      Step: Allows you to control the translation of each RGB value to a new
      RGB-value.


      Process.Invert
      --------------
      This will invert the image, giving a negative image.

      Process.Remove TINT
      -------------------
      This simply removes the bottom two bits (the TINT part) of all pixels in
      the source image.

      Process.Brighten
      ----------------
      This adds a small amount to each of the colour components, giving a
      brighter image.

      Process.Darken
      --------------
      The reverse of Brighten.

      Process.Black & White
      ---------------------
      Converts the image to black and white. The colour components are weighted
      according to the selected colour, the median of the three components are
      calculated, and if this is above 50% intensity, the pixel becomes white
      otherwise it becomes black.

      Process.Greytones
      -----------------
      Converts the image to greytones. The colour components are weighted
      according to the selected colour, the median of the three components are
      calculated and this is used to select a greytone.
      The sensitivity of the eye is approx. 3:5:1 (red,green,blue).

      Process.Threshold
      -----------------
      Converts the image to black and white using thresholding.
      Thresholding means that any pixel with 2 or 3 colour components above the
      selected colour will become white, the rest will become black.

      Process.Add colour
      ------------------
      Adds an variable amount of colour to the red, green and blue colour
      components.

      Process.Sub colour
      ------------------
      The reverse of Add colour.

      Process.RGB filter
      ------------------
      This acts like a sort of coloured glass you put in front of the image.
      If the glass is blue, only the blue parts of the image will pass thru
      the glass.

      Process.Translate
      -----------------
      The colours in the destination image becomes a weighted sum of the
      colour components from the source image, eg:
         New RED = 30% Old RED + 60 % Old GREEN + 40% Old BLUE  (etc.)
      Anything above 100% is cut off.

      Process.Shade
      -------------
      All colours are move towards the selected colour. How much they are
      moved is set using the Effect slidebar in the colour selector.

      Process.Isolate
      ---------------
      This will turn all pixel black, except for those that are in the same
      colour as the selected colour (these are turned white).

      Process.RGB separation.True colour
      ----------------------------------
      Process.RGB separation.8 bit per pixel
      --------------------------------------
      Works only if you've got 4 (or more) copies of the image.
      Creates three copies of the source image, one with the red part of the
      image, one with the green part and one with the blue part.
      Actually, two version of this routine is available.
      'True colour' will give you a red, a green and a blue image.
      '8 bit per pixel' will give you three very ugly ill-looking images. These
      images have 256 levels of red/green or blue, but these levels are mapped
      directly to the bytes written to the screen. The effect of this can be
      seen by displaying the image in greytones (see Miscellaneous.Options).
      The 'true colour' version can also be applied by using
       Process.RGB filter.Red/Green/Blue.

      Process.CMYK separation
      -----------------------
      Works only if you've got 5 (or more) copies of the image (see Options).
      See 'RGB seperation'.

      Process.HSV separation
      ----------------------
      Works only if you've got 4 (or more) copies of the image.
      Creates three images showing the values of Hue, Saturation and Value.
      Not really very useful, but someone might find it interesting.

      Filters.Noise (weak)
      --------------------
      Noise removing filter. If the two neighbours of a pixel is in the same
      colour, the center pixel becomes that colour too.

      Filters.Noise (strong)
      ----------------------
      The center pixel is compared with its neighbours to the left, right, top
      and bottom. If the center pixel is the brightest of these, it becomes the
      average of the four other pixels.

      Filters.Average
      ---------------
      Smoothen the image a lot.....
      The center pixels becomes the average of colour of itself and its 8
      neighbours. The kernel looks like this:
                                                1   1   1
                                                1   1   1
                                                1   1   1

      Filters.Sharpen
      --------------
      Sharpens the edges in an image.
      Uses the following kernel:
                                                0  -1   1
                                              - 1   5   1
                                                0  -1   0

      Filters.Smoothen (strong)
      -------------------------
      Doesn't smoothen the image quite as much a 'Average'.
      Uses the following kernel:
                                                1   2   1
                                                2   4   2
                                                1   2   1

      Filters.Smoothen (weak)
      -----------------------
      Hardly doesn't smoothen the image at all.
      Uses the following kernel:
                                                1   1   1
                                                1   24  1
                                                1   1   1

      Filters.Median
      --------------
      The center pixel becomes the median of the 8 surrounding pixels.

      Filters.Vertical edges
      ----------------------
      Detects vertical edges.
      Uses the following kernel:
                                                1   0  -1
                                                2   0  -2
                                                1   0  -1

      Filters.Horizontal edges
      ------------------------
      Detects horizontal edges.
      The kernel is simply the transposed of the one used for vertical edges.

      Filters.Edges
      -------------
      Detects edges of any orientation.
      Kernel:                                   2   1   0
                                                1   0  -1
                                                0  -1  -2

      Filters.Minimum
      ---------------
      The minimum of the 9 pixels (the center pixel and its 8 neighbour) is
      found, and this is the new colour of the center pixel.

      Filters.Maximum
      ---------------
      As 'Minimum', except it finds the maximum.

      Filters.Difference
      ------------------
      My own invention! If the difference between the center pixel and the
      average of the 8 others is larger than the selected colour, the average
      is used, otherwise the pixel is left unchanged.


      Effects.Scratch
      ---------------
      Gives the impression that the surface of the image was scratched with a
      nail while the paint was still wet.

      Effects.Ripple
      --------------
      An old-time favourite of all demo-makers.
      If the 'Double' option is on, a special ripple will be used... 

      Effects.Trace edges
      -------------------
      If the distance between any of the three colour component (for any two
      adjectant pixels) are greater than the selected minimum distance, the
      pixels are said to lie on an edge and are coloured black (the rest is
      coloured white).

      Effects.Mosaic
      --------------
      Select this, then click somewhere in the bottom left corner of the source
      image window, and see what happens. Abort by clicking MENU or ADJUST.

      Effects.Pointillise
      -------------------
      Dots, Overlap, Wild : Try them, perhaps you'll like them.

      Effects.Twist
      -------------
      Experiment......

      Effects.Extend area
      -------------------
      Any white or black area (blob) in the image will be extended by adding a
      new set of white or black pixels all around its border.

      Effects.Add noise
      -----------------
      A simple yet effective noise generator. Adds noise to either the source
      or the destination image.
      Higher intensity means more noise, but due to the primitive nature of the
      noise-generator the position of the noisy pixels will rapidly begin to
      repeat themself.

      Effects.Cycle bytes
      -------------------
      Adds/subtracts 1 from each byte in source image, and writes the byte to
      the destination image.

      If Repeatedly is selected (ticked) the bytes in the destination image
      will be cycled repeatedly until you click MENU.
      Works only in 256 colour modes (for speed reasons).
      If Multi-tasking is selected, the colour cycling will multitask, and
      stops when you click any of the mouse buttons over any window/icon that
      belongs to !Process.

      Effects.Mask
      ------------
      Only those pixels that are black on the destination image will be copied
      from the source image, the rest will be left unchanged.

      Effects.Mix colours
      -------------------
      Mixes the colours randomly.

      Effects.Wheel
      -------------
      Basically, this is just a left-over from the Distort-routine (see More
      tools). You select an area (triangular) and a circle, and 9 copies of the
      triangle are then distorted to fill the circle.

      Effects.Squash.Circle
      ---------------------
      Squashed the image to fit inside a circle.
      
      Effects.Squash.Triangle
      -----------------------
      See above. Works with all images.
      
      Effects.Whirl.Whirl
      -------------------
      Hmm, not really that easy to explain, but...
      A kind of rotation. The rotation angle depends on the distance from the
      center fo the image. The routine is quite slow (10000 pixels/second) due
      the the amount of maths that is required.
      The rotation angle increses when you get closer to the center of the
      image.

      Effects.Whirl.Son of Whirl
      --------------------------
      Like above, just different!
      The rotation angle decreases when you get closer to the center of the
      image.

      Effects.Whirl.Whirl revisited
      -----------------------------
      Like above and the one above that one, but again it's different from
      the other one and from the other other one coz otherwise there wouldn't
      really be any meaning in including this effect or the one above it.
      Has a small bug that causes black rings to occur if the angle is <30.

      
      Arithmetic
      ----------
      These options perform arithmetic and logical operations on pairs of
      pixels from the source and destination images. The result is written to
      the destination image as always.

      Arithmetic.Source + Dest
      ------------------------
      The destination image becomes the sum of the two images.

      Arithmetic.Source - Dest
      ------------------------
      See above.

      Arithmetic.Dest - Source
      ------------------------
      See above.

      Arithmetic.Source EOR Dest
      --------------------------
      The two pixels are EORed bit by bit.

      Arithmetic.Source AND Dest
      --------------------------
      The two pixels are ANDed.

      Arithmetic.Source OR Dest
      -------------------------
      The two pixels are ORed.

      Arithmetic.Source = Dest
      ------------------------
      The destination pixel becomes white if the source pixel is in the same
      colour as the old destination pixel, otherwise it becomes black.

      Arithmetic.Source <> Dest
      -------------------------
      The destination pixel becomes white if the source-pixel is in a different
      colour than the old destination pixel.

      Arithmetic.Source < Dest
      ------------------------
      See above.

      Arithmetic.Source > Dest
      ------------------------
      See above.

      Arithmetic.MAX(Source;Dest)
      ---------------------------
      The new pixel is coloured as the maximum of each of the three colour
      components.

      Arithmetic.MIN(Source;Dest)
      ---------------------------
      As 'MAX(Source;Dest)', except it uses the minimum.

      Arithmetic.Overlay
      ------------------
      The destination image is used as a RGB-filter for the source image:
      White is transparent, black is non-transparent, red allows red colour to
      pass thru the filter etc.
      Destination RED = (Source RED * Destination RED)/256

      Arithmetic.Combine
      ------------------
      The destination image becomes a weighted average of the two images, the
      weight is set in the sub-window to this option.
      The weight is a number from 0-255, and is used like this:
      Dest RED = ((255-Weight) * Source RED  +  Weight * Dest RED)/255
      Thus weight=0 will copy the source image to the destination image, and
      weight=255 will leave the destination image unaltered.

      Arithmetic.ABS(Source - Dest)
      -----------------------------
      See 'Source - Dest'.


      More tools.Clear
      ----------------
      An easy way of clearing either the source or destination image.

      More tools.Flip about X-axis
      ----------------------------
      Flip the source/destination image about the X-axis.

      More tools.Flip about Y-axis
      ----------------------------
      Flip the source/destination image about the Y-axis.

      More tools.Rotate
      -----------------
      The destination image becomes a rotated copy of the source image.
      Rotation is anti-clockwise, and if an area is selected only that part of
      the image will be rotated.

      More tools.Shading.Radial to black
      ----------------------------------
      This generates a radial shading from the selected colour to black. The
      area affected is selected using the usual rubberband-circle. The colour
      outside the circle becomes black (hence the name 'to black'). Note that
      although you select the circle in the source window, the shading will
      appear in the destination image. The reason for this is that this tool
      is meant to be follow by Arithmetic.Overlay to create a shading of the
      whole image.

      More tools.Shading.Radial to white
      ----------------------------------
      See above.

      More tools.Shading.Radial from black
      ------------------------------------
      See above.

      More tools.Shading.Radial from white
      ------------------------------------
      See above.

      More tools.Shading.Linear to black
      ----------------------------------
      As the 'More tools.Shading.Radial ....' tools, but performs a linear
      shading.

      More tools.Shading.Linear to white
      ----------------------------------
      See above.

      More tools.Shading.Use dithering
      --------------------------------
      This toggles whether the shading tools should use dithering to increase
      the number of shade or not. The image quality is greatly improved when
      dithering is ON, but the dithering makes it much harder to process the
      image afterwards.

      More tools.Distort triangle
      ---------------------------
      This allows you to specify two triangles and then distort the first one
      to fit into the second one. The triangle will be read from the source
      image, and is written to the destination image.

      More tools.Distort quadrangle
      -----------------------------
      Allows you to distort (almost) any four sided shape.

      More tools.Smudge
      -----------------
      Basically, this is just RECTANGLE x1,y1,s TO x2,y2, but it looks good
      anyway, doesn't it?

      Save image
      ----------
      All images can be saved in the usual way. When you save an image from any
      of the image viewers, the new spritefile becomes the 'last saved image'
      for that particular image viewer, which means that it is this file that
      will be loaded by the 'Reload last' option.
      The images can only be saved as sprites, with or without a palette with
      256 entries. This format is only understood by Translator, ChangeFSI and
      a few other programs. !Paint in RISC OS 2 doesn't recognise the palette,
      but RISC OS 3 !Paint does.


      Zoom
      ----
      The images can be shown in any magnification from 10% to 1999%.


      The other menu that hasn't been mentioned yet
      =============================================
      This menu appears when you click MENU over an image viewer that contains
      neither the source image nor the destination image.

      Use as source
      -------------
      Will select the image as the new source image.

      Use as destination
      ------------------
      See above.

      Copy.Copy from source
      ---------------------
      This entry (and the three entries below) allows you to copy the image to
      either the source or the destination image.

      Copy.Copy from destination
      --------------------------

      Copy.Copy to source
      -------------------

      Copy.Copy to destination
      ------------------------

      Reload last
      -----------
      See Misc.Reload last

      Save image
      ----------
      See above.

      Zoom
      ----
      See above.


   Known problems, bugs and unfinished things
  ============================================
   The filters doesn't work on the pixels on the edges of the image/selected
 area. This isn't a bug, it was just so much easier and faster to do it that
 way.......
   Redrawing isn't always correct after using the rubberband tools (circle,
 lines, rectangles etc.) outside a selected area.
   The Distort triangle/Distort quadrilateral routine sometimes produces
 really weird results. I haven't yet found out why (or when) but I think it
 has got something to do with the corners of the shape being selected
 clockwise or anti-clockwise.
   The Distort quadrangle doesn't allow shapes where any of the interior
 angles are > 180 (deg.). It doesn't generate an error, it just doesn't give
 the expected result.
   A small bug prevents !Process from displaying some spritefiles if the sprite-
 file header isn't entirely correct, eg. word #3 is invalid, although this
 doesn't cause problems with !Paint.
   The whirl effect-family may fail on very large image or when using very
 small angles.

------------------------------------------------------------------------------

   Henrik Bjerregaard Pedersen
   Stengaards Alle 13 B
   DK-2800 Lyngby
   Denmark

   Phone (+45) 42 88 37 56
00000000  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000020  20 20 20 20 21 50 72 6f  63 65 73 73 0a 20 20 20  |    !Process.   |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 3d  3d 3d 3d 3d 3d 3d 3d 3d  |       =========|
00000050  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000060  3d 3d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |==.             |
00000070  20 20 20 20 20 20 20 20  20 20 20 20 20 32 35 36  |             256|
00000080  20 63 6f 6c 6f 75 72 20  69 6d 61 67 65 20 70 72  | colour image pr|
00000090  6f 63 65 73 73 69 6e 67  0a 20 20 20 20 20 20 20  |ocessing.       |
000000a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 62  |               b|
000000c0  79 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |y.              |
000000d0  20 20 20 20 20 20 20 20  20 20 20 20 48 65 6e 72  |            Henr|
000000e0  69 6b 20 42 6a 65 72 72  65 67 61 61 72 64 20 50  |ik Bjerregaard P|
000000f0  65 64 65 72 73 65 6e 0a  0a 0a 20 20 20 41 62 6f  |edersen...   Abo|
00000100  75 74 20 21 50 72 6f 63  65 73 73 0a 20 20 3d 3d  |ut !Process.  ==|
00000110  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 0a 20  |==============. |
00000120  20 20 21 50 72 6f 63 65  73 73 20 69 73 20 61 20  |  !Process is a |
00000130  32 35 36 2d 63 6f 6c 6f  75 72 20 73 70 72 69 74  |256-colour sprit|
00000140  65 20 70 72 6f 63 65 73  73 69 6e 67 2f 6d 61 6e  |e processing/man|
00000150  69 70 75 6c 61 74 69 6f  6e 20 70 72 6f 67 72 61  |ipulation progra|
00000160  6d 2e 0a 20 20 20 49 74  20 65 6e 61 62 6c 65 73  |m..   It enables|
00000170  20 79 6f 75 20 74 6f 20  6d 61 6e 69 70 75 6c 61  | you to manipula|
00000180  74 65 20 32 35 36 2d 63  6f 6c 6f 75 72 20 73 70  |te 256-colour sp|
00000190  72 69 74 65 73 20 69 6e  20 61 20 76 61 72 69 65  |rites in a varie|
000001a0  74 79 20 6f 66 20 77 61  79 73 2c 0a 20 69 6e 63  |ty of ways,. inc|
000001b0  6c 75 64 69 6e 67 20 6e  6f 69 73 65 2d 72 65 6d  |luding noise-rem|
000001c0  6f 76 61 6c 2c 20 73 68  61 72 70 65 6e 69 6e 67  |oval, sharpening|
000001d0  2c 20 73 6d 6f 6f 74 68  65 6e 69 6e 67 2c 20 69  |, smoothening, i|
000001e0  6e 76 65 72 74 69 6e 67  2c 20 63 6f 6c 6f 75 72  |nverting, colour|
000001f0  0a 20 73 65 70 61 72 61  74 69 6f 6e 2c 20 63 6f  |. separation, co|
00000200  6e 76 65 72 73 69 6f 6e  20 74 6f 20 62 6c 61 63  |nversion to blac|
00000210  6b 2f 77 68 69 74 65 20  6f 72 20 67 72 65 79 74  |k/white or greyt|
00000220  6f 6e 65 73 2c 20 65 64  67 65 2d 64 65 74 65 63  |ones, edge-detec|
00000230  74 69 6f 6e 20 61 6e 64  20 6d 6f 72 65 2e 0a 20  |tion and more.. |
00000240  42 65 73 69 64 65 73 20  74 68 61 74 2c 20 21 50  |Besides that, !P|
00000250  72 6f 63 65 73 73 20 61  6c 73 6f 20 69 6e 63 6c  |rocess also incl|
00000260  75 64 65 73 20 73 6f 6d  65 20 6f 66 20 74 68 65  |udes some of the|
00000270  20 66 65 61 74 75 72 65  73 20 66 6f 75 6e 64 20  | features found |
00000280  69 6e 20 21 50 61 69 6e  74 20 6f 72 0a 20 6f 74  |in !Paint or. ot|
00000290  68 65 72 20 62 61 73 69  63 20 64 72 61 77 69 6e  |her basic drawin|
000002a0  67 20 70 61 63 6b 61 67  65 73 2e 0a 0a 20 20 20  |g packages...   |
000002b0  54 68 65 20 66 6f 6c 6c  6f 77 69 6e 67 20 69 73  |The following is|
000002c0  20 6f 6e 6c 79 20 61 20  62 72 69 65 66 20 73 75  | only a brief su|
000002d0  6d 6d 61 72 79 20 6f 66  20 74 68 65 20 66 65 61  |mmary of the fea|
000002e0  74 75 72 65 73 20 6f 66  20 21 50 72 6f 63 65 73  |tures of !Proces|
000002f0  73 2e 20 54 68 65 0a 20  6e 75 6d 62 65 72 20 6f  |s. The. number o|
00000300  66 20 77 61 79 73 20 79  6f 75 20 63 61 6e 20 64  |f ways you can d|
00000310  69 73 74 6f 72 74 2f 61  6c 74 65 72 2f 6d 61 6e  |istort/alter/man|
00000320  69 70 75 6c 61 74 65 20  61 6e 20 69 6d 61 67 65  |ipulate an image|
00000330  20 61 72 65 20 65 6e 64  6c 65 73 73 2c 20 61 6e  | are endless, an|
00000340  64 0a 20 77 6f 75 6c 64  20 74 68 65 72 65 66 6f  |d. would therefo|
00000350  72 20 72 65 71 75 69 72  65 20 61 20 52 41 54 48  |r require a RATH|
00000360  45 52 20 6c 61 72 67 65  20 21 48 65 6c 70 2d 66  |ER large !Help-f|
00000370  69 6c 65 20 74 6f 20 64  65 73 63 72 69 62 65 20  |ile to describe |
00000380  69 6e 20 64 65 74 61 69  6c 73 2e 0a 20 20 20 54  |in details..   T|
00000390  68 65 20 62 65 73 74 20  28 61 6e 64 20 6d 6f 73  |he best (and mos|
000003a0  74 20 61 6d 75 73 69 6e  67 29 20 77 61 79 20 74  |t amusing) way t|
000003b0  6f 20 64 69 73 63 6f 76  65 72 20 74 68 65 20 70  |o discover the p|
000003c0  6f 73 73 69 62 69 6c 69  74 69 65 73 20 69 6e 20  |ossibilities in |
000003d0  28 61 6e 64 20 74 68 65  0a 20 6c 69 6d 69 74 73  |(and the. limits|
000003e0  20 6f 66 29 20 21 50 72  6f 63 65 73 73 2c 20 69  | of) !Process, i|
000003f0  73 20 74 6f 20 6c 6f 61  64 20 61 6e 20 69 6d 61  |s to load an ima|
00000400  67 65 20 61 6e 64 20 73  69 6d 70 6c 79 20 74 72  |ge and simply tr|
00000410  79 20 74 68 65 20 64 69  66 66 65 72 65 6e 74 0a  |y the different.|
00000420  20 6f 70 65 72 61 74 69  6f 6e 73 20 6f 6e 65 20  | operations one |
00000430  62 79 20 6f 6e 65 2e 20  48 6f 77 65 76 65 72 2c  |by one. However,|
00000440  20 49 20 73 74 72 6f 6e  67 6c 79 20 72 65 63 6f  | I strongly reco|
00000450  6d 6d 65 6e 64 20 74 68  61 74 20 79 6f 75 20 72  |mmend that you r|
00000460  65 61 64 20 74 68 69 73  20 66 69 6c 65 2c 0a 20  |ead this file,. |
00000470  6f 74 68 65 72 77 69 73  65 20 79 6f 75 20 6d 61  |otherwise you ma|
00000480  79 20 68 61 76 65 20 74  72 6f 75 62 6c 65 20 77  |y have trouble w|
00000490  69 74 68 20 73 6f 6d 65  20 6f 66 20 74 68 65 20  |ith some of the |
000004a0  66 65 61 74 75 72 65 73  2e 0a 0a 20 20 20 50 72  |features...   Pr|
000004b0  6f 62 6c 65 6d 73 0a 20  20 3d 3d 3d 3d 3d 3d 3d  |oblems.  =======|
000004c0  3d 3d 3d 0a 20 20 20 57  68 65 6e 65 76 65 72 20  |===.   Whenever |
000004d0  70 6f 73 73 69 62 6c 65  2c 20 79 6f 75 20 73 68  |possible, you sh|
000004e0  6f 75 6c 64 20 65 6e 73  75 72 65 20 74 68 61 74  |ould ensure that|
000004f0  20 74 68 65 20 69 6d 61  67 65 73 20 79 6f 75 20  | the images you |
00000500  6c 6f 61 64 20 69 6e 74  6f 20 50 72 6f 63 65 73  |load into Proces|
00000510  73 0a 20 61 72 65 20 63  72 65 61 74 65 64 20 77  |s. are created w|
00000520  69 74 68 6f 75 74 20 70  61 6c 65 74 74 65 20 6f  |ithout palette o|
00000530  72 20 6d 61 73 6b 2c 20  61 6e 64 20 74 68 61 74  |r mask, and that|
00000540  20 74 68 65 20 73 70 72  69 74 65 66 69 6c 65 20  | the spritefile |
00000550  63 6f 6e 74 61 69 6e 73  20 6f 6e 6c 79 0a 20 6f  |contains only. o|
00000560  6e 65 20 73 70 72 69 74  65 2e 0a 0a 20 20 20 56  |ne sprite...   V|
00000570  6f 63 61 62 75 6c 61 72  79 0a 20 20 3d 3d 3d 3d  |ocabulary.  ====|
00000580  3d 3d 3d 3d 3d 3d 3d 3d  0a 20 20 20 53 6f 75 72  |========.   Sour|
00000590  63 65 20 69 6d 61 67 65  20 20 20 20 20 20 2e 2e  |ce image      ..|
000005a0  2e 20 74 68 65 20 69 6d  61 67 65 20 66 72 6f 6d  |. the image from|
000005b0  20 77 68 69 63 68 20 70  69 78 65 6c 73 2f 69 6e  | which pixels/in|
000005c0  66 6f 72 6d 61 74 69 6f  6e 20 69 73 20 52 45 41  |formation is REA|
000005d0  44 2e 0a 20 20 20 44 65  73 74 69 6e 61 74 69 6f  |D..   Destinatio|
000005e0  6e 20 69 6d 61 67 65 20  2e 2e 2e 20 74 68 65 20  |n image ... the |
000005f0  69 6d 61 67 65 20 74 6f  20 77 68 69 63 68 20 70  |image to which p|
00000600  69 78 65 6c 73 2f 69 6e  66 6f 72 6d 61 74 69 6f  |ixels/informatio|
00000610  6e 20 69 73 20 57 52 49  54 54 45 4e 2e 0a 20 20  |n is WRITTEN..  |
00000620  20 43 6f 6c 6f 75 72 20  63 6f 6d 70 6f 6e 65 6e  | Colour componen|
00000630  74 20 20 2e 2e 2e 20 61  20 76 61 6c 75 65 20 69  |t  ... a value i|
00000640  6e 20 74 68 65 20 72 61  6e 67 65 20 30 2d 32 35  |n the range 0-25|
00000650  35 2c 20 64 65 73 63 72  69 62 69 6e 67 20 74 68  |5, describing th|
00000660  65 20 61 6d 6f 75 6e 74  20 6f 66 0a 20 20 20 20  |e amount of.    |
00000670  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000680  20 20 20 20 20 65 69 74  68 65 72 20 52 45 44 2c  |     either RED,|
00000690  20 47 52 45 45 4e 20 6f  72 20 42 4c 55 45 2e 20  | GREEN or BLUE. |
000006a0  30 20 69 73 20 6e 6f 74  68 69 6e 67 2c 20 32 35  |0 is nothing, 25|
000006b0  35 20 69 73 20 66 75 6c  6c 2e 0a 20 20 20 4b 65  |5 is full..   Ke|
000006c0  72 6e 65 6c 20 20 20 20  20 20 20 20 20 20 20 20  |rnel            |
000006d0  2e 2e 2e 20 61 20 33 78  33 20 6d 61 74 72 69 78  |... a 3x3 matrix|
000006e0  20 77 68 69 63 68 20 69  73 20 6d 75 6c 74 69 70  | which is multip|
000006f0  6c 69 65 64 20 77 69 74  68 20 74 68 65 20 63 6f  |lied with the co|
00000700  6c 6f 75 72 0a 20 20 20  20 20 20 20 20 20 20 20  |lour.           |
00000710  20 20 20 20 20 20 20 20  20 20 20 20 20 20 63 6f  |              co|
00000720  6d 70 6f 6e 65 6e 74 73  20 6f 66 20 61 20 63 65  |mponents of a ce|
00000730  6e 74 65 72 20 70 69 78  65 6c 20 61 6e 64 20 69  |nter pixel and i|
00000740  74 73 20 38 20 6e 65 69  67 68 62 6f 75 72 73 2e  |ts 8 neighbours.|
00000750  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000760  20 20 20 20 20 20 20 20  20 20 54 68 65 20 61 76  |          The av|
00000770  65 72 61 67 65 20 6f 66  20 74 68 65 20 39 20 65  |erage of the 9 e|
00000780  6c 65 6d 65 6e 74 73 20  6f 66 20 74 68 65 20 6b  |lements of the k|
00000790  65 72 6e 65 6c 20 69 73  0a 20 20 20 20 20 20 20  |ernel is.       |
000007a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007b0  20 20 63 61 6c 63 75 6c  61 74 65 64 2c 20 61 6e  |  calculated, an|
000007c0  64 20 74 68 69 73 20 62  65 63 6f 6d 65 73 20 74  |d this becomes t|
000007d0  68 65 20 63 6f 6c 6f 75  72 20 6f 66 20 74 68 65  |he colour of the|
000007e0  20 63 65 6e 74 65 72 0a  20 20 20 20 20 20 20 20  | center.        |
000007f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000800  20 70 69 78 65 6c 2e 0a  20 20 20 49 6d 61 67 65  | pixel..   Image|
00000810  20 76 69 65 77 65 72 20  20 20 20 20 20 2e 2e 2e  | viewer      ...|
00000820  20 61 6e 79 20 6f 66 20  74 68 65 20 28 66 72 6f  | any of the (fro|
00000830  6d 20 74 77 6f 20 74 6f  20 6e 69 6e 65 29 20 69  |m two to nine) i|
00000840  6d 61 67 65 20 77 69 6e  64 6f 77 73 2e 0a 0a 20  |mage windows... |
00000850  20 20 53 74 61 72 74 69  6e 67 0a 20 20 3d 3d 3d  |  Starting.  ===|
00000860  3d 3d 3d 3d 3d 3d 3d 0a  20 20 20 44 6f 75 62 6c  |=======.   Doubl|
00000870  65 20 63 6c 69 63 6b 20  6f 6e 20 74 68 65 20 21  |e click on the !|
00000880  50 72 6f 63 65 73 73 2d  69 63 6f 6e 2c 20 61 6e  |Process-icon, an|
00000890  64 20 74 68 65 20 70 72  6f 67 72 61 6d 20 69 6e  |d the program in|
000008a0  73 74 61 6c 6c 73 20 69  74 73 65 6c 66 20 6f 6e  |stalls itself on|
000008b0  20 74 68 65 0a 20 69 63  6f 6e 62 61 72 2e 0a 20  | the. iconbar.. |
000008c0  20 20 21 50 72 6f 63 65  73 73 20 77 69 6c 6c 20  |  !Process will |
000008d0  63 6c 61 69 6d 20 61 70  70 72 6f 78 2e 20 31 36  |claim approx. 16|
000008e0  30 6b 20 61 73 20 6c 6f  6e 67 20 61 73 20 6e 6f  |0k as long as no|
000008f0  20 69 6d 61 67 65 20 69  73 20 6c 6f 61 64 65 64  | image is loaded|
00000900  2e 20 41 66 74 65 72 0a  20 6c 6f 61 64 69 6e 67  |. After. loading|
00000910  20 61 6e 20 69 6d 61 67  65 2c 20 74 68 65 20 77  | an image, the w|
00000920  69 6d 70 73 6c 6f 74 20  77 69 6c 6c 20 62 65 20  |impslot will be |
00000930  69 6e 63 72 65 61 73 65  64 20 77 69 74 68 20 61  |increased with a|
00000940  74 20 6c 65 61 73 74 20  74 77 69 63 65 20 74 68  |t least twice th|
00000950  65 20 73 69 7a 65 0a 20  6f 66 20 74 68 65 20 73  |e size. of the s|
00000960  70 72 69 74 65 66 69 6c  65 2e 0a 0a 20 20 20 53  |pritefile...   S|
00000970  74 6f 70 70 69 6e 67 0a  20 20 3d 3d 3d 3d 3d 3d  |topping.  ======|
00000980  3d 3d 3d 3d 0a 20 20 20  53 65 6c 65 63 74 20 74  |====.   Select t|
00000990  68 65 20 6f 70 74 69 6f  6e 20 51 75 69 74 20 66  |he option Quit f|
000009a0  72 6f 6d 20 74 68 65 20  69 63 6f 6e 62 61 72 20  |rom the iconbar |
000009b0  6d 65 6e 75 2e 0a 20 20  20 49 66 20 79 6f 75 20  |menu..   If you |
000009c0  65 6e 64 20 75 70 20 69  6e 20 61 6e 20 65 6e 64  |end up in an end|
000009d0  6c 65 73 73 20 6c 6f 6f  70 20 6f 66 20 65 72 72  |less loop of err|
000009e0  6f 72 20 6d 65 73 73 61  67 65 73 2c 20 79 6f 75  |or messages, you|
000009f0  20 63 61 6e 20 69 6e 20  6d 6f 73 74 20 63 61 73  | can in most cas|
00000a00  65 73 0a 20 20 65 78 69  74 20 74 68 65 20 70 72  |es.  exit the pr|
00000a10  6f 67 72 61 6d 20 62 79  20 70 72 65 73 73 69 6e  |ogram by pressin|
00000a20  67 20 44 45 4c 45 54 45  20 77 68 69 6c 65 20 63  |g DELETE while c|
00000a30  6c 69 63 6b 69 6e 67 20  6f 6e 20 74 68 65 20 4f  |licking on the O|
00000a40  4b 20 69 63 6f 6e 20 69  6e 20 74 68 65 0a 20 20  |K icon in the.  |
00000a50  65 72 72 6f 72 20 62 6f  78 2e 0a 0a 20 20 20 4c  |error box...   L|
00000a60  6f 61 64 69 6e 67 0a 20  20 3d 3d 3d 3d 3d 3d 3d  |oading.  =======|
00000a70  3d 3d 0a 20 20 20 44 72  61 67 20 61 73 20 73 70  |==.   Drag as sp|
00000a80  72 69 74 65 66 69 6c 65  20 63 6f 6e 74 61 69 6e  |ritefile contain|
00000a90  69 6e 67 20 61 20 32 35  36 20 63 6f 6c 6f 75 72  |ing a 256 colour|
00000aa0  20 73 70 72 69 74 65 20  61 73 20 74 68 65 20 66  | sprite as the f|
00000ab0  69 72 73 74 20 73 70 72  69 74 65 20 74 6f 20 74  |irst sprite to t|
00000ac0  68 65 0a 20 69 63 6f 6e  62 61 72 20 69 63 6f 6e  |he. iconbar icon|
00000ad0  2c 20 61 6e 64 20 69 74  20 77 69 6c 6c 20 62 65  |, and it will be|
00000ae0  20 6c 6f 61 64 65 64 20  61 6e 64 20 77 69 6c 6c  | loaded and will|
00000af0  20 61 70 70 65 61 72 20  69 6e 20 61 20 77 69 6e  | appear in a win|
00000b00  64 6f 77 2e 0a 20 20 20  43 6c 69 63 6b 20 4d 45  |dow..   Click ME|
00000b10  4e 55 20 77 68 65 6e 20  74 68 65 20 6d 6f 75 73  |NU when the mous|
00000b20  65 20 69 73 20 69 6e 73  69 64 65 20 74 68 69 73  |e is inside this|
00000b30  20 77 69 6e 64 6f 77 2c  20 61 6e 64 20 74 68 65  | window, and the|
00000b40  20 6d 61 69 6e 20 6d 65  6e 75 20 61 70 70 65 61  | main menu appea|
00000b50  72 73 2e 0a 20 20 20 50  72 6f 63 65 73 73 20 77  |rs..   Process w|
00000b60  69 6c 6c 20 61 6c 73 6f  20 6c 6f 61 64 20 41 49  |ill also load AI|
00000b70  4d 20 66 69 6c 65 73 2c  20 43 6c 65 61 72 20 66  |M files, Clear f|
00000b80  69 6c 65 73 20 28 69 6e  20 32 35 36 20 67 72 65  |iles (in 256 gre|
00000b90  79 74 6f 6e 65 73 29 20  61 6e 64 20 73 70 72 69  |ytones) and spri|
00000ba0  74 65 73 0a 20 77 69 74  68 20 61 20 32 35 36 20  |tes. with a 256 |
00000bb0  65 6e 74 72 79 20 67 72  65 79 73 63 61 6c 65 64  |entry greyscaled|
00000bc0  20 70 61 6c 65 74 74 65  2e 0a 20 20 20 41 66 74  | palette..   Aft|
00000bd0  65 72 20 61 70 70 6c 79  69 6e 67 20 61 20 66 69  |er applying a fi|
00000be0  6c 74 65 72 2f 65 66 66  65 63 74 20 74 68 65 20  |lter/effect the |
00000bf0  70 72 6f 63 65 73 73 65  64 20 69 6d 61 67 65 20  |processed image |
00000c00  77 69 6c 6c 20 61 70 70  65 61 72 20 69 6e 20 61  |will appear in a|
00000c10  6e 6f 74 68 65 72 0a 20  77 69 6e 64 6f 77 2e 20  |nother. window. |
00000c20  49 66 20 79 6f 75 20 64  72 61 67 20 61 20 73 70  |If you drag a sp|
00000c30  72 69 74 65 66 69 6c 65  20 74 6f 20 65 69 74 68  |ritefile to eith|
00000c40  65 72 20 6f 66 20 74 68  65 73 65 20 77 69 6e 64  |er of these wind|
00000c50  6f 77 73 2c 20 21 50 72  6f 63 65 73 73 20 77 69  |ows, !Process wi|
00000c60  6c 6c 0a 20 61 74 74 65  6d 70 74 20 74 6f 20 6c  |ll. attempt to l|
00000c70  6f 61 64 20 74 68 65 20  66 69 6c 65 2c 20 62 75  |oad the file, bu|
00000c80  74 20 77 69 6c 6c 20 66  61 69 6c 20 69 66 20 74  |t will fail if t|
00000c90  68 65 20 66 69 72 73 74  20 73 70 72 69 74 65 20  |he first sprite |
00000ca0  69 6e 20 74 68 65 20 66  69 6c 65 20 69 73 6e 27  |in the file isn'|
00000cb0  74 0a 20 74 68 65 20 73  61 6d 65 20 73 69 7a 65  |t. the same size|
00000cc0  20 61 6e 64 20 69 6e 20  74 68 65 20 73 61 6d 65  | and in the same|
00000cd0  20 6d 6f 64 65 20 61 73  20 74 68 65 20 6f 72 69  | mode as the ori|
00000ce0  67 69 6e 61 6c 2c 20 6f  72 20 69 66 20 74 68 65  |ginal, or if the|
00000cf0  20 66 69 6c 65 20 68 61  73 20 61 0a 20 64 69 66  | file has a. dif|
00000d00  66 65 72 65 6e 74 20 73  69 7a 65 20 74 68 61 6e  |ferent size than|
00000d10  20 74 68 65 20 6f 72 69  67 69 6e 61 6c 2e 0a 20  | the original.. |
00000d20  20 20 50 6c 65 61 73 65  20 6e 6f 74 65 20 74 68  |  Please note th|
00000d30  61 74 20 21 50 72 6f 63  65 73 73 20 69 67 6e 6f  |at !Process igno|
00000d40  72 65 73 20 74 68 65 20  70 61 6c 65 74 74 65 20  |res the palette |
00000d50  6f 66 20 74 68 65 20 73  70 72 69 74 65 2c 20 61  |of the sprite, a|
00000d60  6e 64 20 73 69 6d 70 6c  79 20 75 73 65 73 0a 20  |nd simply uses. |
00000d70  74 68 65 20 64 65 66 61  75 6c 74 20 32 35 36 20  |the default 256 |
00000d80  63 6f 6c 6f 75 72 20 70  61 6c 65 74 74 65 2e 0a  |colour palette..|
00000d90  0a 20 20 20 50 72 69 6e  74 69 6e 67 0a 20 20 3d  |.   Printing.  =|
00000da0  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 20 20 20 54 68 69  |=========.   Thi|
00000db0  73 20 69 73 6e 27 74 20  77 68 61 74 20 21 50 72  |s isn't what !Pr|
00000dc0  6f 63 65 73 73 20 69 73  20 62 65 73 74 20 61 74  |ocess is best at|
00000dd0  2e 20 49 6e 20 66 61 63  74 2c 20 69 74 20 64 6f  |. In fact, it do|
00000de0  65 73 6e 27 74 20 70 72  69 6e 74 20 61 74 20 61  |esn't print at a|
00000df0  6c 6c 2c 20 73 6f 0a 20  77 68 61 74 20 79 6f 75  |ll, so. what you|
00000e00  27 6c 6c 20 6e 65 65 64  20 74 6f 20 64 6f 20 69  |'ll need to do i|
00000e10  73 20 74 6f 20 73 61 76  65 20 74 68 65 20 69 6d  |s to save the im|
00000e20  61 67 65 20 28 65 69 74  68 65 72 20 74 6f 20 64  |age (either to d|
00000e30  69 73 63 20 6f 72 20 64  69 72 65 63 74 6c 79 20  |isc or directly |
00000e40  74 6f 0a 20 21 50 61 69  6e 74 29 20 61 6e 64 20  |to. !Paint) and |
00000e50  74 68 65 6e 20 75 73 65  20 21 50 61 69 6e 74 73  |then use !Paints|
00000e60  20 70 72 69 6e 74 69 6e  67 20 66 61 63 69 6c 69  | printing facili|
00000e70  74 69 65 73 20 69 6e 20  63 6f 6e 6a 75 6e 63 74  |ties in conjunct|
00000e80  69 6f 6e 20 77 69 74 68  20 61 0a 20 52 49 53 43  |ion with a. RISC|
00000e90  20 4f 53 20 50 44 72 69  76 65 72 20 74 6f 20 67  | OS PDriver to g|
00000ea0  65 74 20 79 6f 75 72 20  70 69 65 63 65 20 6f 66  |et your piece of|
00000eb0  20 61 72 74 20 6f 6e 20  70 61 70 65 72 2e 0a 0a  | art on paper...|
00000ec0  20 20 20 47 72 65 79 73  63 61 6c 65 64 20 69 6d  |   Greyscaled im|
00000ed0  61 67 65 73 0a 20 20 3d  3d 3d 3d 3d 3d 3d 3d 3d  |ages.  =========|
00000ee0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 0a 20 20 20 21 50  |==========.   !P|
00000ef0  72 6f 63 65 73 73 20 61  63 63 65 70 74 73 20 33  |rocess accepts 3|
00000f00  20 74 79 70 65 73 20 6f  66 20 67 72 65 79 73 63  | types of greysc|
00000f10  61 6c 65 64 20 69 6d 61  67 65 73 3a 0a 0a 20 20  |aled images:..  |
00000f20  20 41 49 4d 20 28 32 35  36 78 32 35 36 20 70 69  | AIM (256x256 pi|
00000f30  78 65 6c 73 2c 20 38 20  62 70 70 2c 20 61 6c 77  |xels, 8 bpp, alw|
00000f40  61 79 73 20 67 72 65 79  73 63 61 6c 65 64 29 0a  |ays greyscaled).|
00000f50  20 20 20 43 6c 65 61 72  20 28 38 20 62 70 70 2c  |   Clear (8 bpp,|
00000f60  20 67 72 65 79 73 63 61  6c 65 64 20 70 61 6c 65  | greyscaled pale|
00000f70  74 74 65 29 0a 20 20 20  53 70 72 69 74 65 73 20  |tte).   Sprites |
00000f80  28 77 69 74 68 20 61 20  70 61 6c 65 74 74 65 20  |(with a palette |
00000f90  77 69 74 68 20 32 35 36  20 67 72 65 79 73 63 61  |with 256 greysca|
00000fa0  6c 65 64 20 65 6e 74 72  69 65 73 29 2e 0a 0a 20  |led entries)... |
00000fb0  20 20 42 65 73 69 64 65  20 74 68 65 73 65 2c 20  |  Beside these, |
00000fc0  50 72 6f 63 65 73 73 20  63 61 6e 20 63 6f 6e 76  |Process can conv|
00000fd0  65 72 74 20 61 6e 79 20  6c 6f 61 64 65 64 20 63  |ert any loaded c|
00000fe0  6f 6c 6f 75 72 20 73 70  72 69 74 65 20 74 6f 20  |olour sprite to |
00000ff0  38 20 62 70 70 0a 20 67  72 65 79 74 6f 6e 65 73  |8 bpp. greytones|
00001000  2e 0a 20 20 20 53 6f 6d  65 20 6f 66 20 74 68 65  |..   Some of the|
00001010  20 6f 70 65 72 61 74 69  6f 6e 73 20 70 72 6f 76  | operations prov|
00001020  69 64 65 64 20 62 79 20  50 72 6f 63 65 73 73 20  |ided by Process |
00001030  61 72 65 20 6d 65 61 6e  69 6e 67 6c 65 73 73 20  |are meaningless |
00001040  77 68 65 6e 20 61 70 70  6c 69 65 64 20 74 6f 0a  |when applied to.|
00001050  20 61 20 67 72 65 79 73  63 61 6c 65 64 20 69 6d  | a greyscaled im|
00001060  61 67 65 20 28 65 67 20  52 47 42 20 73 65 70 61  |age (eg RGB sepa|
00001070  72 61 74 69 6f 6e 2c 20  47 72 65 79 73 63 61 6c  |ration, Greyscal|
00001080  65 20 63 6f 6e 76 65 72  73 69 6f 6e 20 65 74 63  |e conversion etc|
00001090  2e 29 2e 20 49 6e 20 74  68 65 73 65 0a 20 63 61  |.). In these. ca|
000010a0  73 65 73 20 74 68 65 20  6f 70 65 72 61 74 69 6f  |ses the operatio|
000010b0  6e 20 77 69 6c 6c 20 62  65 20 69 6e 61 63 63 65  |n will be inacce|
000010c0  73 69 62 6c 65 2f 73 68  61 64 65 64 20 69 6e 20  |sible/shaded in |
000010d0  74 68 65 20 6d 65 6e 75  2e 0a 0a 20 20 20 4f 70  |the menu...   Op|
000010e0  74 69 6f 6e 73 0a 20 20  3d 3d 3d 3d 3d 3d 3d 3d  |tions.  ========|
000010f0  3d 0a 20 20 20 57 68 65  6e 20 73 74 61 72 74 65  |=.   When starte|
00001100  64 2c 20 21 50 72 6f 63  65 73 73 20 72 65 61 64  |d, !Process read|
00001110  73 20 74 68 65 20 73 79  73 74 65 6d 76 61 72 69  |s the systemvari|
00001120  61 62 6c 65 20 50 72 6f  63 65 73 73 24 4f 70 74  |able Process$Opt|
00001130  69 6f 6e 73 20 77 68 69  63 68 20 6d 61 79 0a 20  |ions which may. |
00001140  63 6f 6e 74 61 69 6e 20  74 68 65 20 66 6f 6c 6c  |contain the foll|
00001150  6f 77 69 6e 67 20 6f 70  74 69 6f 6e 73 3a 0a 0a  |owing options:..|
00001160  20 20 20 20 20 20 20 20  20 4e 61 6d 65 20 20 20  |         Name   |
00001170  20 20 20 20 20 4d 65 61  6e 69 6e 67 0a 20 20 20  |     Meaning.   |
00001180  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
00001190  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000011c0  2d 2d 0a 20 20 20 20 20  20 20 20 20 6d 61 78 32  |--.         max2|
000011d0  20 20 20 20 20 20 20 20  53 65 74 73 20 74 68 65  |        Sets the|
000011e0  20 6e 75 6d 62 65 72 20  6f 66 20 63 6f 70 69 65  | number of copie|
000011f0  73 20 6f 66 20 74 68 65  20 69 6d 61 67 65 20 21  |s of the image !|
00001200  50 72 6f 63 65 73 73 0a  20 20 20 20 20 20 20 20  |Process.        |
00001210  20 6d 61 78 33 20 20 20  20 20 20 20 20 63 72 65  | max3        cre|
00001220  61 74 65 73 20 77 68 65  6e 20 61 20 66 69 6c 65  |ates when a file|
00001230  20 69 73 20 6c 6f 61 64  65 64 2e 0a 20 20 20 20  | is loaded..    |
00001240  20 20 20 20 20 6d 61 78  34 20 20 65 74 63 20 20  |     max4  etc  |
00001250  20 4d 69 6e 69 6d 75 6d  20 69 73 20 32 2c 20 6d  | Minimum is 2, m|
00001260  61 78 69 6d 75 6d 20 69  73 20 39 2e 20 49 66 20  |aximum is 9. If |
00001270  79 6f 75 20 64 6f 6e 27  74 20 73 65 74 20 6d 61  |you don't set ma|
00001280  78 0a 20 20 20 20 20 20  20 20 20 6d 61 78 39 20  |x.         max9 |
00001290  20 20 20 20 20 20 20 6f  72 20 73 65 74 20 69 74  |       or set it|
000012a0  20 74 6f 20 61 6e 20 69  6c 6c 65 67 61 6c 20 76  | to an illegal v|
000012b0  61 6c 75 65 2c 20 6d 61  78 34 20 69 73 20 75 73  |alue, max4 is us|
000012c0  65 64 2e 0a 0a 20 20 20  20 20 20 20 20 20 73 77  |ed...         sw|
000012d0  61 70 20 20 20 20 20 20  20 20 41 75 74 6f 6d 61  |ap        Automa|
000012e0  74 69 63 20 73 77 61 70  70 69 6e 67 20 6f 6e 2e  |tic swapping on.|
000012f0  0a 0a 20 20 20 20 20 20  20 20 20 64 6d 61 20 20  |..         dma  |
00001300  20 20 20 20 20 20 20 44  69 73 61 62 6c 65 20 44  |       Disable D|
00001310  4d 41 20 64 75 72 69 6e  67 20 6c 65 6e 67 74 68  |MA during length|
00001320  79 20 63 61 6c 63 75 6c  61 74 69 6f 6e 73 2e 0a  |y calculations..|
00001330  0a 20 20 20 20 20 20 20  20 20 74 6f 6f 6c 73 20  |.         tools |
00001340  20 20 20 20 20 20 53 68  6f 77 20 74 6f 6f 6c 62  |      Show toolb|
00001350  6f 78 2e 0a 0a 20 20 20  54 6f 20 70 65 72 66 6f  |ox...   To perfo|
00001360  72 6d 20 52 47 42 20 73  65 70 61 72 61 74 69 6f  |rm RGB separatio|
00001370  6e 20 6d 61 78 34 20 69  73 20 6e 65 65 64 65 64  |n max4 is needed|
00001380  2c 20 74 6f 20 70 65 72  66 6f 72 6d 20 43 4d 59  |, to perform CMY|
00001390  4b 20 73 65 70 61 72 61  74 69 6f 6e 20 6d 61 78  |K separation max|
000013a0  35 0a 20 69 73 20 6e 65  65 64 65 64 2e 0a 0a 20  |5. is needed... |
000013b0  20 20 54 68 65 20 73 79  73 74 65 6d 20 76 61 72  |  The system var|
000013c0  69 61 62 6c 65 20 50 72  6f 63 65 73 73 24 57 69  |iable Process$Wi|
000013d0  6e 64 6f 77 54 69 74 6c  65 20 68 6f 6c 64 73 20  |ndowTitle holds |
000013e0  74 68 65 20 74 65 6d 70  6c 61 74 65 20 73 74 72  |the template str|
000013f0  69 6e 67 20 66 6f 72 20  74 68 65 0a 20 74 65 78  |ing for the. tex|
00001400  74 20 69 6e 20 74 68 65  20 74 69 74 6c 65 62 61  |t in the titleba|
00001410  72 20 6f 66 20 74 68 65  20 69 6d 61 67 65 20 76  |r of the image v|
00001420  69 65 77 65 72 73 2e 0a  20 20 20 54 68 65 20 76  |iewers..   The v|
00001430  61 72 69 61 62 6c 65 20  69 73 20 73 65 74 20 69  |ariable is set i|
00001440  6e 20 21 50 72 6f 63 65  73 73 2e 21 52 75 6e 2c  |n !Process.!Run,|
00001450  20 61 6e 64 20 6d 61 79  20 62 65 20 61 6c 74 65  | and may be alte|
00001460  72 65 64 20 74 6f 20 69  6e 63 6c 75 64 65 20 61  |red to include a|
00001470  6e 79 20 6f 66 0a 20 74  68 65 20 67 69 76 65 6e  |ny of. the given|
00001480  20 70 69 65 63 65 73 20  6f 66 20 69 6e 66 6f 72  | pieces of infor|
00001490  6d 61 74 69 6f 6e 3a 0a  0a 20 20 20 20 20 20 20  |mation:..       |
000014a0  20 20 41 72 67 20 20 20  20 20 20 20 53 75 62 73  |  Arg       Subs|
000014b0  74 69 74 75 74 65 64 20  77 69 74 68 0a 20 20 20  |tituted with.   |
000014c0  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
000014d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000014e0  0a 20 20 20 20 20 20 20  20 20 25 25 30 20 20 20  |.         %%0   |
000014f0  20 20 20 20 22 50 72 6f  63 65 73 73 22 0a 20 20  |    "Process".  |
00001500  20 20 20 20 20 20 20 25  25 31 20 20 20 20 20 20  |       %%1      |
00001510  20 54 68 65 20 6e 61 6d  65 20 28 66 75 6c 6c 20  | The name (full |
00001520  70 61 74 68 29 20 6f 66  20 74 68 65 20 73 70 72  |path) of the spr|
00001530  69 74 65 20 66 69 6c 65  0a 20 20 20 20 20 20 20  |ite file.       |
00001540  20 20 25 25 32 20 20 20  20 20 20 20 54 68 65 20  |  %%2       The |
00001550  6e 61 6d 65 20 28 6c 61  73 74 20 70 61 72 74 29  |name (last part)|
00001560  20 6f 66 20 74 68 65 20  73 70 72 69 74 65 20 66  | of the sprite f|
00001570  69 6c 65 0a 20 20 20 20  20 20 20 20 20 25 25 33  |ile.         %%3|
00001580  20 20 20 20 20 20 20 54  68 65 20 6e 61 6d 65 20  |       The name |
00001590  6f 66 20 74 68 65 20 73  70 72 69 74 65 0a 20 20  |of the sprite.  |
000015a0  20 20 20 20 20 20 20 25  25 34 20 20 20 20 20 20  |       %%4      |
000015b0  20 54 68 65 20 6d 6f 64  65 20 69 6e 20 77 68 69  | The mode in whi|
000015c0  63 68 20 74 68 65 20 73  70 72 69 74 65 20 77 61  |ch the sprite wa|
000015d0  73 20 63 72 65 61 74 65  64 0a 20 20 20 20 20 20  |s created.      |
000015e0  20 20 20 25 25 35 20 20  20 20 20 20 20 53 69 7a  |   %%5       Siz|
000015f0  65 20 58 20 6f 66 20 73  70 72 69 74 65 20 28 70  |e X of sprite (p|
00001600  69 78 65 6c 73 29 0a 20  20 20 20 20 20 20 20 20  |ixels).         |
00001610  25 25 36 20 20 20 20 20  20 20 53 69 7a 65 20 59  |%%6       Size Y|
00001620  20 6f 66 20 73 70 72 69  74 65 20 28 70 69 78 65  | of sprite (pixe|
00001630  6c 73 29 0a 20 20 20 20  20 20 20 20 20 25 25 37  |ls).         %%7|
00001640  20 20 20 20 20 20 20 54  68 65 20 69 6d 61 67 65  |       The image|
00001650  20 76 69 65 77 65 72 27  73 20 6e 75 6d 62 65 72  | viewer's number|
00001660  20 28 31 20 2d 20 6d 61  78 29 0a 20 20 20 20 20  | (1 - max).     |
00001670  20 20 20 20 25 25 38 20  20 20 20 20 20 20 5a 6f  |    %%8       Zo|
00001680  6f 6d 20 66 61 63 74 6f  72 20 58 0a 20 20 20 20  |om factor X.    |
00001690  20 20 20 20 20 25 25 39  20 20 20 20 20 20 20 5a  |     %%9       Z|
000016a0  6f 6f 6d 20 66 61 63 74  6f 72 20 59 0a 0a 20 20  |oom factor Y..  |
000016b0  20 4d 61 70 73 0a 20 20  3d 3d 3d 3d 3d 3d 0a 20  | Maps.  ======. |
000016c0  20 20 4d 61 70 73 20 61  72 65 20 74 61 62 6c 65  |  Maps are table|
000016d0  73 20 74 72 61 6e 73 6c  61 74 69 6e 67 20 6f 6e  |s translating on|
000016e0  65 20 63 6f 6c 6f 75 72  20 74 6f 20 61 6e 6f 74  |e colour to anot|
000016f0  68 65 72 2e 20 32 35 36  2d 63 6f 6c 6f 75 72 20  |her. 256-colour |
00001700  69 6d 61 67 65 73 20 75  73 65 20 6f 6e 65 0a 20  |images use one. |
00001710  62 79 74 65 20 70 65 72  20 70 69 78 65 6c 2c 20  |byte per pixel, |
00001720  73 6f 20 6d 61 70 70 69  6e 67 20 69 73 20 73 69  |so mapping is si|
00001730  6d 70 6c 79 20 64 6f 6e  65 20 75 73 69 6e 67 20  |mply done using |
00001740  61 20 32 35 36 2d 62 79  74 65 73 20 74 61 62 6c  |a 256-bytes tabl|
00001750  65 2c 20 73 6f 20 74 68  61 74 20 61 0a 20 62 79  |e, so that a. by|
00001760  74 65 20 77 69 74 68 20  76 61 6c 75 65 20 6e 20  |te with value n |
00001770  69 73 20 74 72 61 6e 73  6c 61 74 65 64 20 69 6e  |is translated in|
00001780  74 6f 20 74 68 65 20 6e  27 74 68 20 65 6e 74 72  |to the n'th entr|
00001790  79 20 69 6e 20 74 68 65  20 74 61 62 6c 65 2e 0a  |y in the table..|
000017a0  20 20 20 4d 61 6e 79 20  6f 66 20 74 68 65 20 6f  |   Many of the o|
000017b0  70 65 72 61 74 69 6f 6e  73 20 69 6e 20 21 50 72  |perations in !Pr|
000017c0  6f 63 65 73 73 20 61 72  65 20 70 65 72 66 6f 72  |ocess are perfor|
000017d0  6d 65 64 20 75 73 69 6e  67 20 6d 61 70 73 2c 20  |med using maps, |
000017e0  74 6f 20 6e 61 6d 65 20  61 20 66 65 77 3a 0a 20  |to name a few:. |
000017f0  49 6e 76 65 72 74 2c 20  41 64 64 20 63 6f 6c 6f  |Invert, Add colo|
00001800  75 72 2c 20 52 47 42 20  66 69 6c 74 65 72 2c 20  |ur, RGB filter, |
00001810  54 72 61 6e 73 6c 61 74  65 2c 20 47 72 65 79 74  |Translate, Greyt|
00001820  6f 6e 65 73 2c 20 42 72  69 67 68 74 65 6e 2c 20  |ones, Brighten, |
00001830  53 74 72 65 74 63 68 0a  20 68 69 73 74 6f 67 72  |Stretch. histogr|
00001840  61 6d 2c 20 45 71 75 61  6c 69 7a 65 20 68 69 73  |am, Equalize his|
00001850  74 6f 67 72 61 6d 2c 20  45 78 70 61 6e 64 2f 52  |togram, Expand/R|
00001860  65 64 75 63 65 20 72 61  6e 67 65 20 65 74 63 2e  |educe range etc.|
00001870  0a 20 20 20 49 74 20 69  73 20 70 6f 73 73 69 62  |.   It is possib|
00001880  6c 65 20 74 6f 20 63 72  65 61 74 65 20 79 6f 75  |le to create you|
00001890  72 20 6f 77 6e 20 6d 61  70 20 61 6e 64 20 61 70  |r own map and ap|
000018a0  70 6c 79 20 69 74 20 74  6f 20 74 68 65 20 6c 6f  |ply it to the lo|
000018b0  61 64 65 64 20 69 6d 61  67 65 2e 20 49 66 0a 20  |aded image. If. |
000018c0  79 6f 75 20 64 72 61 67  20 61 20 32 35 36 2d 62  |you drag a 256-b|
000018d0  79 74 65 73 20 44 61 74  61 2d 66 69 6c 65 20 28  |ytes Data-file (|
000018e0  66 69 6c 65 74 79 70 65  20 26 46 46 44 29 20 74  |filetype &FFD) t|
000018f0  6f 20 61 6e 79 20 6f 66  20 74 68 65 20 69 6d 61  |o any of the ima|
00001900  67 65 20 76 69 65 77 65  72 73 2c 0a 20 74 68 65  |ge viewers,. the|
00001910  20 66 69 6c 65 20 77 69  6c 6c 20 62 65 20 6c 6f  | file will be lo|
00001920  61 64 65 64 20 61 6e 64  20 75 73 65 64 20 61 73  |aded and used as|
00001930  20 61 20 6d 61 70 20 6f  6e 20 74 68 61 74 20 70  | a map on that p|
00001940  61 72 74 69 63 75 6c 61  72 20 69 6d 61 67 65 2e  |articular image.|
00001950  0a 20 20 20 59 6f 75 20  63 61 6e 20 65 64 69 74  |.   You can edit|
00001960  20 74 68 65 20 42 41 53  49 43 2d 70 72 6f 67 72  | the BASIC-progr|
00001970  61 6d 20 47 65 6e 4d 61  70 20 74 6f 20 73 75 69  |am GenMap to sui|
00001980  74 20 79 6f 75 72 20 6f  77 6e 20 70 75 72 70 6f  |t your own purpo|
00001990  73 65 73 2e 0a 0a 20 20  20 54 68 65 20 63 6f 6c  |ses...   The col|
000019a0  6f 75 72 20 73 65 6c 65  63 74 6f 72 0a 20 20 3d  |our selector.  =|
000019b0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000019c0  3d 3d 3d 3d 0a 20 20 20  54 68 65 20 63 6f 6c 6f  |====.   The colo|
000019d0  75 72 20 73 65 6c 65 63  74 6f 72 20 69 73 20 61  |ur selector is a|
000019e0  20 77 69 6e 64 6f 77 20  74 68 61 74 20 70 6f 70  | window that pop|
000019f0  73 20 75 70 20 77 68 65  6e 65 76 65 72 20 61 20  |s up whenever a |
00001a00  73 65 6c 65 63 74 65 64  20 6f 70 65 72 61 74 69  |selected operati|
00001a10  6f 6e 0a 20 6e 65 65 64  73 20 61 20 63 6f 6c 6f  |on. needs a colo|
00001a20  75 72 20 61 73 20 69 6e  70 75 74 2e 20 54 68 65  |ur as input. The|
00001a30  20 77 69 6e 64 6f 77 20  63 6f 6e 74 61 69 6e 73  | window contains|
00001a40  20 74 68 72 65 65 20 73  6c 69 64 65 62 61 72 73  | three slidebars|
00001a50  2c 20 52 65 64 2c 20 47  72 65 65 6e 20 61 6e 64  |, Red, Green and|
00001a60  0a 20 42 6c 75 65 20 77  68 69 63 68 20 63 61 6e  |. Blue which can|
00001a70  20 62 65 20 75 73 65 64  20 74 6f 20 73 65 6c 65  | be used to sele|
00001a80  63 74 20 74 68 65 20 63  6f 6c 6f 75 72 2c 20 77  |ct the colour, w|
00001a90  68 69 63 68 20 77 69 6c  6c 20 62 65 20 73 68 6f  |hich will be sho|
00001aa0  77 6e 20 74 6f 20 74 68  65 20 72 69 67 68 74 0a  |wn to the right.|
00001ab0  20 6f 66 20 74 68 65 20  73 6c 69 64 65 62 61 72  | of the slidebar|
00001ac0  73 2e 20 54 68 65 20 66  69 76 65 20 69 63 6f 6e  |s. The five icon|
00001ad0  73 20 61 74 20 74 68 65  20 62 6f 74 74 6f 6d 20  |s at the bottom |
00001ae0  6f 66 20 74 68 65 20 77  69 6e 64 6f 77 20 61 72  |of the window ar|
00001af0  65 3a 0a 0a 20 20 20 50  69 63 6b 20 20 20 20 20  |e:..   Pick     |
00001b00  20 20 20 43 6c 69 63 6b  20 6f 6e 20 74 68 69 73  |   Click on this|
00001b10  20 61 6e 64 20 79 6f 75  20 63 61 6e 20 73 65 6c  | and you can sel|
00001b20  65 63 74 20 61 20 63 6f  6c 6f 75 72 20 62 79 20  |ect a colour by |
00001b30  63 6c 69 63 6b 69 6e 67  0a 20 20 20 20 20 20 20  |clicking.       |
00001b40  20 20 20 20 20 20 20 20  53 45 4c 45 43 54 20 69  |        SELECT i|
00001b50  6e 20 74 68 65 20 73 6f  75 72 63 65 20 77 69 6e  |n the source win|
00001b60  64 6f 77 2e 0a 20 20 20  42 6c 61 63 6b 20 20 20  |dow..   Black   |
00001b70  20 20 20 20 53 65 74 73  20 61 6c 6c 20 74 68 72  |    Sets all thr|
00001b80  65 65 20 73 6c 69 64 65  62 61 72 73 20 74 6f 20  |ee slidebars to |
00001b90  30 20 28 3d 62 6c 61 63  6b 29 2e 0a 20 20 20 57  |0 (=black)..   W|
00001ba0  68 69 74 65 20 20 20 20  20 20 20 53 65 74 73 20  |hite       Sets |
00001bb0  61 6c 6c 20 74 68 72 65  65 20 73 6c 69 64 65 62  |all three slideb|
00001bc0  61 72 73 20 74 6f 20 66  75 6c 6c 20 28 3d 77 68  |ars to full (=wh|
00001bd0  69 74 65 29 2e 0a 20 20  20 43 61 6e 63 65 6c 20  |ite)..   Cancel |
00001be0  20 20 20 20 20 41 62 6f  72 74 20 74 68 65 20 6f  |     Abort the o|
00001bf0  70 65 72 61 74 69 6f 6e  2f 63 6c 6f 73 65 20 74  |peration/close t|
00001c00  68 65 20 77 69 6e 64 6f  77 2e 0a 20 20 20 4f 4b  |he window..   OK|
00001c10  20 20 20 20 20 20 20 20  20 20 41 70 70 6c 79 20  |          Apply |
00001c20  74 68 65 20 66 69 6c 74  65 72 2f 65 66 66 65 63  |the filter/effec|
00001c30  74 2f 6f 70 65 72 61 74  69 6f 6e 20 6f 72 20 63  |t/operation or c|
00001c40  6c 6f 73 65 20 74 68 65  20 77 69 6e 64 6f 77 2e  |lose the window.|
00001c50  0a 0a 20 20 20 49 66 20  79 6f 75 20 63 6c 69 63  |..   If you clic|
00001c60  6b 20 41 44 4a 55 53 54  20 6f 6e 20 65 69 74 68  |k ADJUST on eith|
00001c70  65 72 20 6f 66 20 74 68  65 20 73 6c 69 64 65 62  |er of the slideb|
00001c80  61 72 73 2c 20 61 6c 6c  20 74 68 72 65 65 20 62  |ars, all three b|
00001c90  61 72 73 20 77 69 6c 6c  20 62 65 20 6d 6f 76 65  |ars will be move|
00001ca0  64 2e 0a 20 20 20 54 68  65 20 70 61 6c 65 74 74  |d..   The palett|
00001cb0  65 20 69 6e 20 74 68 65  20 72 69 67 68 74 20 73  |e in the right s|
00001cc0  69 64 65 20 6f 66 20 74  68 65 20 69 6d 61 67 65  |ide of the image|
00001cd0  20 63 61 6e 20 62 65 20  75 73 65 64 20 74 6f 20  | can be used to |
00001ce0  73 65 6c 65 63 74 20 61  6e 79 20 6f 66 20 74 68  |select any of th|
00001cf0  65 0a 20 32 35 36 20 64  65 66 61 75 6c 74 20 63  |e. 256 default c|
00001d00  6f 6c 6f 75 72 73 20 75  73 65 64 20 69 6e 20 38  |olours used in 8|
00001d10  20 62 70 70 20 6d 6f 64  65 73 2e 0a 0a 20 20 20  | bpp modes...   |
00001d20  54 68 65 20 67 72 65 79  20 76 61 6c 75 65 20 73  |The grey value s|
00001d30  65 6c 65 63 74 6f 72 0a  20 20 3d 3d 3d 3d 3d 3d  |elector.  ======|
00001d40  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00001d50  3d 3d 3d 0a 20 20 20 54  68 69 73 20 69 73 20 65  |===.   This is e|
00001d60  78 61 63 74 6c 79 20 74  68 65 20 73 61 6d 65 20  |xactly the same |
00001d70  61 73 20 74 68 65 20 63  6f 6c 6f 75 72 20 73 65  |as the colour se|
00001d80  6c 65 63 74 6f 72 2c 20  65 78 63 65 70 74 20 74  |lector, except t|
00001d90  68 61 74 20 79 6f 75 20  6f 6e 6c 79 20 75 73 65  |hat you only use|
00001da0  20 61 0a 20 73 69 6e 67  6c 65 20 73 6c 69 64 65  | a. single slide|
00001db0  62 61 72 20 74 6f 20 73  65 6c 65 63 74 20 74 68  |bar to select th|
00001dc0  65 20 63 6f 6c 6f 75 72  2f 67 72 65 79 20 76 61  |e colour/grey va|
00001dd0  6c 75 65 2e 0a 0a 20 20  20 54 68 65 20 77 69 6e  |lue...   The win|
00001de0  64 6f 77 73 0a 20 20 3d  3d 3d 3d 3d 3d 3d 3d 3d  |dows.  =========|
00001df0  3d 3d 3d 3d 0a 20 20 20  54 68 65 20 74 77 6f 20  |====.   The two |
00001e00  6d 61 69 6e 20 77 69 6e  64 6f 77 73 20 69 6e 20  |main windows in |
00001e10  21 50 72 6f 63 65 73 73  20 61 72 65 20 74 68 65  |!Process are the|
00001e20  20 73 6f 75 72 63 65 20  61 6e 64 20 64 65 73 74  | source and dest|
00001e30  69 6e 61 74 69 6f 6e 20  77 69 6e 64 6f 77 73 2e  |ination windows.|
00001e40  0a 20 20 20 54 68 65 20  73 6f 75 72 63 65 20 77  |.   The source w|
00001e50  69 6e 64 6f 77 20 63 61  6e 20 62 65 20 69 64 65  |indow can be ide|
00001e60  6e 74 69 66 69 65 64 20  62 79 20 74 68 65 20 74  |ntified by the t|
00001e70  6f 6f 6c 62 6f 78 2c 20  74 68 65 20 64 65 73 74  |oolbox, the dest|
00001e80  69 6e 61 74 69 6f 6e 20  77 69 6e 64 6f 77 0a 20  |ination window. |
00001e90  62 79 20 74 68 65 20 70  61 6e 65 20 77 69 6e 64  |by the pane wind|
00001ea0  6f 77 20 77 69 74 68 20  74 68 65 20 61 72 72 6f  |ow with the arro|
00001eb0  77 73 2e 0a 0a 20 20 20  54 68 65 20 74 6f 6f 6c  |ws...   The tool|
00001ec0  62 6f 78 0a 20 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |box.  ==========|
00001ed0  3d 3d 3d 0a 20 20 20 54  68 65 20 74 6f 6f 6c 62  |===.   The toolb|
00001ee0  6f 78 20 63 6f 6e 74 61  69 6e 73 20 69 63 6f 6e  |ox contains icon|
00001ef0  73 20 66 6f 72 20 76 61  72 69 6f 75 73 20 6f 66  |s for various of|
00001f00  20 74 68 65 20 6d 6f 73  74 20 66 72 65 71 75 65  | the most freque|
00001f10  6e 74 6c 79 20 75 73 65  64 0a 20 20 20 6f 70 65  |ntly used.   ope|
00001f20  72 61 74 69 6f 6e 73 2c  20 73 75 63 68 20 61 73  |rations, such as|
00001f30  20 7a 6f 6f 6d 2c 20 70  61 6e 2c 20 63 6f 70 79  | zoom, pan, copy|
00001f40  20 69 6d 61 67 65 2c 20  73 65 74 20 63 6f 6c 6f  | image, set colo|
00001f50  75 72 20 65 74 63 2e 20  4d 6f 73 74 20 6f 70 65  |ur etc. Most ope|
00001f60  72 61 74 69 6f 6e 73 0a  20 63 61 6e 20 62 65 20  |rations. can be |
00001f70  61 62 6f 72 74 65 64 20  62 79 20 73 65 6c 65 63  |aborted by selec|
00001f80  74 69 6e 67 20 61 6e 6f  74 68 65 72 20 6f 70 65  |ting another ope|
00001f90  72 61 74 69 6f 6e 20 6f  72 20 62 79 20 63 6c 69  |ration or by cli|
00001fa0  63 6b 69 6e 67 20 41 44  4a 55 53 54 20 6f 6e 20  |cking ADJUST on |
00001fb0  74 68 65 0a 20 73 65 6c  65 63 74 65 64 20 69 63  |the. selected ic|
00001fc0  6f 6e 2e 20 46 72 6f 6d  20 74 6f 70 20 74 6f 20  |on. From top to |
00001fd0  62 6f 74 74 6f 6d 2c 20  6c 65 66 74 20 74 6f 20  |bottom, left to |
00001fe0  72 69 67 68 74 2c 20 74  68 65 20 69 63 6f 6e 73  |right, the icons|
00001ff0  20 61 72 65 3a 0a 0a 20  20 20 20 20 20 53 65 6c  | are:..      Sel|
00002000  65 63 74 20 61 72 65 61  0a 20 20 20 20 20 20 2d  |ect area.      -|
00002010  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
00002020  20 54 68 69 73 20 77 6f  72 6b 73 20 65 78 61 63  | This works exac|
00002030  74 6c 79 20 61 73 20 74  68 65 20 6d 65 6e 75 20  |tly as the menu |
00002040  6f 70 74 69 6f 6e 20 4d  69 73 63 2e 49 6d 61 67  |option Misc.Imag|
00002050  65 2e 53 65 6c 65 63 74  20 61 72 65 61 2e 0a 0a  |e.Select area...|
00002060  20 20 20 20 20 20 55 73  65 20 73 65 6c 65 63 74  |      Use select|
00002070  65 64 20 61 72 65 61 0a  20 20 20 20 20 20 2d 2d  |ed area.      --|
00002080  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00002090  20 20 20 20 20 20 49 66  20 74 68 69 73 20 69 63  |      If this ic|
000020a0  6f 6e 20 69 73 20 73 65  74 20 28 73 6c 61 62 62  |on is set (slabb|
000020b0  65 64 20 69 6e 77 61 72  64 73 29 20 6f 6e 6c 79  |ed inwards) only|
000020c0  20 74 68 65 20 73 65 6c  65 63 74 65 64 20 61 72  | the selected ar|
000020d0  65 61 20 6f 66 20 74 68  65 0a 20 20 20 20 20 20  |ea of the.      |
000020e0  73 6f 75 72 63 65 20 69  6d 61 67 65 20 77 69 6c  |source image wil|
000020f0  6c 20 62 65 20 70 72 6f  63 65 73 73 65 64 2e 20  |l be processed. |
00002100  49 66 20 61 6e 20 61 72  65 61 20 69 73 20 73 65  |If an area is se|
00002110  6c 65 63 74 65 64 20 61  6e 64 20 75 73 65 64 2c  |lected and used,|
00002120  0a 20 20 20 20 20 20 70  72 65 73 73 69 6e 67 20  |.      pressing |
00002130  4d 45 4e 55 20 6f 76 65  72 20 74 68 69 73 20 69  |MENU over this i|
00002140  63 6f 6e 20 77 69 6c 6c  20 6f 70 65 6e 20 61 20  |con will open a |
00002150  77 69 6e 64 6f 77 20 63  6f 6e 74 61 69 6e 69 6e  |window containin|
00002160  67 20 69 63 6f 6e 73 20  74 6f 0a 20 20 20 20 20  |g icons to.     |
00002170  20 63 6f 6e 74 72 6f 6c  20 74 68 65 20 73 65 6c  | control the sel|
00002180  65 63 74 65 64 20 61 72  65 61 2e 20 54 68 65 73  |ected area. Thes|
00002190  65 20 69 63 6f 6e 73 20  77 6f 72 6b 20 69 6e 20  |e icons work in |
000021a0  74 68 65 20 73 61 6d 65  20 77 61 79 20 61 73 20  |the same way as |
000021b0  74 68 65 0a 20 20 20 20  20 20 73 75 62 20 6d 65  |the.      sub me|
000021c0  6e 75 20 74 6f 20 74 68  65 20 6d 65 6e 75 20 6f  |nu to the menu o|
000021d0  70 74 69 6f 6e 20 49 6d  61 67 65 2e 53 65 6c 65  |ption Image.Sele|
000021e0  63 74 20 61 72 65 61 2e  0a 0a 20 20 20 20 20 20  |ct area...      |
000021f0  43 6f 70 79 20 74 6f 20  64 65 73 74 69 6e 61 74  |Copy to destinat|
00002200  69 6f 6e 0a 20 20 20 20  20 20 2d 2d 2d 2d 2d 2d  |ion.      ------|
00002210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00002220  20 20 20 20 54 68 69 73  20 63 6f 70 69 65 73 20  |    This copies |
00002230  74 68 65 20 73 6f 75 72  63 65 20 69 6d 61 67 65  |the source image|
00002240  20 28 6f 72 20 74 68 65  20 73 65 6c 65 63 74 65  | (or the selecte|
00002250  64 20 70 61 72 74 20 6f  66 20 74 68 65 20 73 6f  |d part of the so|
00002260  75 72 63 65 20 69 6d 61  67 65 29 0a 20 20 20 20  |urce image).    |
00002270  20 20 74 6f 20 74 68 65  20 64 65 73 74 69 6e 61  |  to the destina|
00002280  74 69 6f 6e 20 69 6d 61  67 65 2e 0a 0a 20 20 20  |tion image...   |
00002290  20 20 20 43 6f 70 79 20  66 72 6f 6d 20 64 65 73  |   Copy from des|
000022a0  74 69 6e 61 74 69 6f 6e  0a 20 20 20 20 20 20 2d  |tination.      -|
000022b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000022c0  2d 2d 2d 2d 0a 20 20 20  20 20 20 54 68 65 20 72  |----.      The r|
000022d0  65 76 65 72 73 65 20 6f  66 20 27 43 6f 70 79 20  |everse of 'Copy |
000022e0  74 6f 20 64 65 73 74 69  6e 61 74 69 6f 6e 27 2e  |to destination'.|
000022f0  0a 0a 20 20 20 20 20 20  43 61 6c 63 75 6c 61 74  |..      Calculat|
00002300  65 20 68 69 73 74 6f 67  72 61 6d 0a 20 20 20 20  |e histogram.    |
00002310  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00002320  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 43 61 6c 63  |-----.      Calc|
00002330  75 6c 61 74 65 20 61 6e  64 20 64 69 73 70 6c 61  |ulate and displa|
00002340  79 20 74 68 65 20 68 69  73 74 6f 67 72 61 6d 20  |y the histogram |
00002350  6f 66 20 74 68 65 20 73  6f 75 72 63 65 20 69 6d  |of the source im|
00002360  61 67 65 2e 0a 0a 20 20  20 20 20 20 4f 70 65 6e  |age...      Open|
00002370  20 52 47 42 20 63 6f 6c  6f 75 72 20 73 65 6c 65  | RGB colour sele|
00002380  63 74 6f 72 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |ctor.      -----|
00002390  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000023a0  2d 2d 2d 0a 0a 20 20 20  20 20 20 53 77 61 70 20  |---..      Swap |
000023b0  69 6d 61 67 65 73 0a 20  20 20 20 20 20 2d 2d 2d  |images.      ---|
000023c0  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 53  |--------.      S|
000023d0  77 61 70 20 73 6f 75 72  63 65 20 61 6e 64 20 64  |wap source and d|
000023e0  65 73 74 69 6e 61 74 69  6f 6e 20 69 6d 61 67 65  |estination image|
000023f0  73 2e 0a 0a 20 20 20 20  20 20 5a 6f 6f 6d 0a 20  |s...      Zoom. |
00002400  20 20 20 20 20 2d 2d 2d  2d 0a 20 20 20 20 20 20  |     ----.      |
00002410  57 68 65 6e 20 74 68 69  73 20 69 73 20 73 65 6c  |When this is sel|
00002420  65 63 74 65 64 2c 20 79  6f 75 20 63 61 6e 20 65  |ected, you can e|
00002430  6e 6c 61 72 67 65 20 61  20 70 6f 72 74 69 6f 6e  |nlarge a portion|
00002440  20 6f 66 20 74 68 65 20  69 6d 61 67 65 20 73 69  | of the image si|
00002450  6d 70 6c 79 20 62 79 0a  20 20 20 20 20 20 64 72  |mply by.      dr|
00002460  61 67 67 69 6e 67 20 61  20 62 6f 78 20 69 6e 20  |agging a box in |
00002470  74 68 65 20 73 6f 75 72  63 65 20 69 6d 61 67 65  |the source image|
00002480  20 77 69 6e 64 6f 77 2e  20 43 6c 69 63 6b 20 4d  | window. Click M|
00002490  45 4e 55 20 6f 76 65 72  20 74 68 69 73 20 69 63  |ENU over this ic|
000024a0  6f 6e 20 74 6f 0a 20 20  20 20 20 20 6f 70 65 6e  |on to.      open|
000024b0  20 61 20 77 69 6e 64 6f  77 20 77 69 74 68 20 38  | a window with 8|
000024c0  20 70 72 65 73 65 74 20  7a 6f 6f 6d 20 66 61 63  | preset zoom fac|
000024d0  74 6f 72 73 2e 0a 0a 20  20 20 20 20 20 50 61 69  |tors...      Pai|
000024e0  6e 74 69 6e 67 20 74 6f  6f 6c 73 0a 20 20 20 20  |nting tools.    |
000024f0  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00002500  0a 20 20 20 20 20 20 43  6c 69 63 6b 20 4d 45 4e  |.      Click MEN|
00002510  55 20 6f 76 65 72 20 74  68 69 73 20 74 6f 20 72  |U over this to r|
00002520  65 76 65 61 6c 20 74 68  65 20 38 20 70 61 69 6e  |eveal the 8 pain|
00002530  74 69 6e 67 20 74 6f 6f  6c 73 3a 0a 20 20 20 20  |ting tools:.    |
00002540  20 20 20 20 20 20 20 20  50 65 6e 63 69 6c 0a 20  |        Pencil. |
00002550  20 20 20 20 20 20 20 20  20 20 20 46 69 6c 6c 65  |           Fille|
00002560  64 20 72 65 63 74 61 6e  67 6c 65 0a 20 20 20 20  |d rectangle.    |
00002570  20 20 20 20 20 20 20 20  52 65 63 74 61 6e 67 6c  |        Rectangl|
00002580  65 0a 20 20 20 20 20 20  20 20 20 20 20 20 46 69  |e.            Fi|
00002590  6c 6c 65 64 20 63 69 72  63 6c 65 0a 20 20 20 20  |lled circle.    |
000025a0  20 20 20 20 20 20 20 20  43 69 72 63 6c 65 20 6f  |        Circle o|
000025b0  75 74 6c 69 6e 65 0a 20  20 20 20 20 20 20 20 20  |utline.         |
000025c0  20 20 20 4c 69 6e 65 73  0a 20 20 20 20 20 20 20  |   Lines.       |
000025d0  20 20 20 20 20 46 6c 6f  6f 64 20 66 69 6c 6c 0a  |     Flood fill.|
000025e0  20 20 20 20 20 20 20 20  20 20 20 20 47 6c 6f 62  |            Glob|
000025f0  61 6c 20 72 65 70 6c 61  63 65 0a 20 20 20 20 20  |al replace.     |
00002600  20 20 20 20 20 20 20 53  70 72 61 79 63 61 6e 0a  |       Spraycan.|
00002610  20 20 20 20 20 20 20 20  20 20 20 20 54 72 69 61  |            Tria|
00002620  6e 67 6c 65 20 66 69 6c  6c 0a 20 20 20 20 20 20  |ngle fill.      |
00002630  20 20 20 20 20 20 54 72  69 61 6e 67 6c 65 0a 20  |      Triangle. |
00002640  20 20 20 20 20 20 20 20  20 20 20 50 61 72 61 6c  |           Paral|
00002650  6c 65 6c 6f 67 72 61 6d  20 66 69 6c 6c 0a 20 20  |lelogram fill.  |
00002660  20 20 20 20 20 20 20 20  20 20 50 61 72 61 6c 6c  |          Parall|
00002670  65 6c 6f 67 72 61 6d 20  6f 75 74 6c 69 6e 65 0a  |elogram outline.|
00002680  20 20 20 20 20 20 20 20  20 20 20 20 45 6c 6c 69  |            Elli|
00002690  70 73 65 20 66 69 6c 6c  0a 20 20 20 20 20 20 20  |pse fill.       |
000026a0  20 20 20 20 20 45 6c 6c  69 70 73 65 20 6f 75 74  |     Ellipse out|
000026b0  6c 69 6e 65 0a 20 20 20  20 20 20 20 20 20 20 20  |line.           |
000026c0  20 53 6d 6f 6f 74 68 20  6c 69 6e 65 0a 0a 20 20  | Smooth line..  |
000026d0  20 20 20 20 4e 6f 74 65  20 74 68 61 74 20 74 68  |    Note that th|
000026e0  65 20 70 61 69 6e 74 69  6e 67 20 74 6f 6f 6c 73  |e painting tools|
000026f0  20 77 72 69 74 65 20 74  6f 20 74 68 65 20 73 6f  | write to the so|
00002700  75 72 63 65 20 69 6d 61  67 65 2c 20 4e 4f 54 20  |urce image, NOT |
00002710  74 6f 20 74 68 65 0a 20  20 20 20 20 20 64 65 73  |to the.      des|
00002720  74 69 6e 61 74 69 6f 6e  20 69 6d 61 67 65 2e 0a  |tination image..|
00002730  0a 20 20 20 20 20 20 50  61 6e 0a 20 20 20 20 20  |.      Pan.     |
00002740  20 2d 2d 2d 0a 20 20 20  20 20 20 53 69 6d 70 6c  | ---.      Simpl|
00002750  65 2c 20 72 65 61 6c 6c  79 2e 0a 0a 20 20 20 54  |e, really...   T|
00002760  68 65 20 6d 65 6e 75 73  0a 20 20 3d 3d 3d 3d 3d  |he menus.  =====|
00002770  3d 3d 3d 3d 3d 3d 0a 0a  20 20 20 20 20 20 54 68  |======..      Th|
00002780  65 20 69 63 6f 6e 20 62  61 72 20 6d 65 6e 75 0a  |e icon bar menu.|
00002790  20 20 20 20 20 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |      ==========|
000027a0  3d 3d 3d 3d 3d 3d 3d 0a  0a 20 20 20 20 20 20 49  |=======..      I|
000027b0  6e 66 6f 0a 20 20 20 20  20 20 2d 2d 2d 2d 0a 20  |nfo.      ----. |
000027c0  20 20 20 20 20 2e 2e 2e  77 69 74 68 20 74 68 65  |     ...with the|
000027d0  20 75 73 75 61 6c 20 70  72 6f 67 72 61 6d 20 69  | usual program i|
000027e0  6e 66 6f 20 77 69 6e 64  6f 77 2e 0a 0a 20 20 20  |nfo window...   |
000027f0  20 20 20 56 69 65 77 73  2e 54 69 64 79 0a 20 20  |   Views.Tidy.  |
00002800  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |    ----------. |
00002810  20 20 20 20 20 54 72 69  65 73 20 65 76 65 72 20  |     Tries ever |
00002820  73 6f 20 68 61 72 64 20  74 6f 20 74 69 64 79 20  |so hard to tidy |
00002830  74 68 65 20 69 6d 61 67  65 20 76 69 65 77 65 72  |the image viewer|
00002840  73 2e 0a 0a 20 20 20 20  20 20 56 69 65 77 73 2e  |s...      Views.|
00002850  2d 2d 2d 2d 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |----.      -----|
00002860  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 41 20 6c 69  |-----.      A li|
00002870  73 74 20 6f 66 20 61 6c  6c 20 74 68 65 20 69 6d  |st of all the im|
00002880  61 67 65 20 76 69 65 77  65 72 73 2e 0a 0a 20 20  |age viewers...  |
00002890  20 20 20 20 43 72 65 61  74 65 20 69 6d 61 67 65  |    Create image|
000028a0  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
000028b0  2d 2d 2d 0a 20 20 20 20  20 20 43 72 65 61 74 65  |---.      Create|
000028c0  73 20 61 20 6e 65 77 20  62 6c 61 6e 6b 20 69 6d  |s a new blank im|
000028d0  61 67 65 2e 0a 0a 20 20  20 20 20 20 44 72 6f 70  |age...      Drop|
000028e0  20 66 69 6c 65 0a 20 20  20 20 20 20 2d 2d 2d 2d  | file.      ----|
000028f0  2d 2d 2d 2d 2d 0a 0a 20  20 20 20 20 20 51 75 69  |-----..      Qui|
00002900  74 0a 20 20 20 20 20 20  2d 2d 2d 2d 0a 0a 0a 20  |t.      ----... |
00002910  20 20 20 20 20 54 68 65  20 6d 61 69 6e 20 6d 65  |     The main me|
00002920  6e 75 0a 20 20 20 20 20  20 3d 3d 3d 3d 3d 3d 3d  |nu.      =======|
00002930  3d 3d 3d 3d 3d 3d 0a 0a  20 20 20 20 20 20 4d 69  |======..      Mi|
00002940  73 63 65 6c 6c 61 6e 65  6f 75 73 2e 4f 70 74 69  |scellaneous.Opti|
00002950  6f 6e 73 2e 41 75 74 6f  6d 61 74 69 63 20 73 77  |ons.Automatic sw|
00002960  61 70 0a 20 20 20 20 20  20 2d 2d 2d 2d 2d 2d 2d  |ap.      -------|
00002970  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002980  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00002990  20 20 20 20 49 66 20 74  68 69 73 20 6f 70 74 69  |    If this opti|
000029a0  6f 6e 73 20 69 73 20 73  65 6c 65 63 74 65 64 2c  |ons is selected,|
000029b0  20 74 68 65 20 73 6f 75  72 63 65 20 61 6e 64 20  | the source and |
000029c0  64 65 73 74 69 6e 61 74  69 6f 6e 20 69 6d 61 67  |destination imag|
000029d0  65 20 77 69 6c 6c 20 62  65 0a 20 20 20 20 20 20  |e will be.      |
000029e0  73 77 61 70 70 65 64 20  61 75 74 6f 6d 61 74 69  |swapped automati|
000029f0  63 61 6c 6c 79 20 61 66  74 65 72 20 61 6e 79 20  |cally after any |
00002a00  6f 70 65 72 61 74 69 6f  6e 20 68 61 73 20 62 65  |operation has be|
00002a10  65 6e 20 61 70 70 6c 69  65 64 20 74 6f 20 74 68  |en applied to th|
00002a20  65 20 69 6d 61 67 65 2e  0a 0a 20 20 20 20 20 20  |e image...      |
00002a30  4d 69 73 63 65 6c 6c 61  6e 65 6f 75 73 2e 4f 70  |Miscellaneous.Op|
00002a40  74 69 6f 6e 73 2e 44 69  73 61 62 6c 65 20 44 4d  |tions.Disable DM|
00002a50  41 0a 20 20 20 20 20 20  2d 2d 2d 2d 2d 2d 2d 2d  |A.      --------|
00002a60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002a70  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
00002a80  49 66 20 74 68 69 73 20  6f 70 74 69 6f 6e 20 69  |If this option i|
00002a90  73 20 73 65 6c 65 63 74  65 64 2c 20 74 68 65 20  |s selected, the |
00002aa0  73 6f 75 6e 64 20 61 6e  64 20 76 69 64 65 6f 20  |sound and video |
00002ab0  44 4d 41 20 77 69 6c 6c  20 62 65 20 64 69 73 61  |DMA will be disa|
00002ac0  62 6c 65 64 0a 20 20 20  20 20 20 77 68 69 6c 65  |bled.      while|
00002ad0  20 21 50 72 6f 63 65 73  73 20 69 73 20 70 72 6f  | !Process is pro|
00002ae0  63 65 73 73 69 6e 67 20  61 6e 20 69 6d 61 67 65  |cessing an image|
00002af0  2e 20 49 6e 20 68 69 2d  72 65 73 20 6d 6f 64 65  |. In hi-res mode|
00002b00  73 20 6f 6e 20 61 6e 20  41 52 4d 32 20 74 68 69  |s on an ARM2 thi|
00002b10  73 0a 20 20 20 20 20 20  63 61 6e 20 69 6e 63 72  |s.      can incr|
00002b20  65 61 73 65 20 70 72 6f  63 65 73 73 69 6e 67 2d  |ease processing-|
00002b30  73 70 65 65 64 20 77 69  74 68 20 61 73 20 6d 75  |speed with as mu|
00002b40  63 68 20 31 30 30 25 20  6f 72 20 6d 6f 72 65 2e  |ch 100% or more.|
00002b50  0a 0a 20 20 20 20 20 20  4d 69 73 63 65 6c 6c 61  |..      Miscella|
00002b60  6e 65 6f 75 73 2e 4f 70  74 69 6f 6e 73 2e 53 68  |neous.Options.Sh|
00002b70  6f 77 20 74 6f 6f 6c 62  6f 78 0a 20 20 20 20 20  |ow toolbox.     |
00002b80  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00002b90  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002ba0  2d 2d 2d 0a 20 20 20 20  20 20 49 66 20 74 68 69  |---.      If thi|
00002bb0  73 20 6f 70 74 69 6f 6e  20 69 73 20 73 65 6c 65  |s option is sele|
00002bc0  63 74 65 64 2c 20 61 20  74 6f 6f 6c 62 6f 78 20  |cted, a toolbox |
00002bd0  77 69 6c 6c 20 61 70 70  65 61 72 20 6f 6e 20 74  |will appear on t|
00002be0  68 65 20 6c 65 66 74 20  73 69 64 65 20 6f 66 20  |he left side of |
00002bf0  74 68 65 0a 20 20 20 20  20 20 73 6f 75 72 63 65  |the.      source|
00002c00  20 69 6d 61 67 65 20 77  69 6e 64 6f 77 2c 20 61  | image window, a|
00002c10  6e 64 20 61 20 70 61 6e  65 20 77 69 6e 64 6f 77  |nd a pane window|
00002c20  20 61 70 70 65 61 72 73  20 6f 6e 20 74 68 65 20  | appears on the |
00002c30  6c 65 66 74 20 73 69 64  65 20 6f 66 20 74 68 65  |left side of the|
00002c40  0a 20 20 20 20 20 20 64  65 73 74 69 6e 61 74 69  |.      destinati|
00002c50  6f 6e 20 69 6d 61 67 65  20 77 69 6e 64 6f 77 2e  |on image window.|
00002c60  0a 0a 20 20 20 20 20 20  4d 69 73 63 65 6c 6c 61  |..      Miscella|
00002c70  6e 65 6f 75 73 2e 4f 70  74 69 6f 6e 73 2e 4e 6f  |neous.Options.No|
00002c80  72 6d 61 6c 20 70 61 6e  6e 69 6e 67 0a 20 20 20  |rmal panning.   |
00002c90  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
00002ca0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002cb0  2d 2d 2d 2d 2d 2d 2d 0a  20 20 20 20 20 20 53 77  |-------.      Sw|
00002cc0  69 74 63 68 65 73 20 62  65 74 77 65 65 6e 20 74  |itches between t|
00002cd0  68 65 20 74 77 6f 20 64  69 66 66 65 72 65 6e 74  |he two different|
00002ce0  20 74 79 70 65 73 20 6f  66 20 70 61 6e 6e 69 6e  | types of pannin|
00002cf0  67 2e 0a 0a 20 20 20 20  20 20 4d 69 73 63 65 6c  |g...      Miscel|
00002d00  6c 61 6e 65 6f 75 73 2e  4f 70 74 69 6f 6e 73 2e  |laneous.Options.|
00002d10  44 69 73 70 6c 61 79 20  69 6e 20 67 72 65 79 74  |Display in greyt|
00002d20  6f 6e 65 73 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |ones.      -----|
00002d30  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00002d50  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 44 69 73 70  |-----.      Disp|
00002d60  6c 61 79 73 20 74 68 65  20 69 6d 61 67 65 73 20  |lays the images |
00002d70  28 69 66 20 74 68 65 79  20 61 72 65 20 69 6e 20  |(if they are in |
00002d80  63 6f 6c 6f 75 72 29 20  69 6e 20 67 72 65 79 74  |colour) in greyt|
00002d90  6f 6e 65 73 2e 0a 20 20  20 20 20 20 47 72 65 79  |ones..      Grey|
00002da0  73 63 61 6c 65 64 20 69  6d 61 67 65 20 63 61 6e  |scaled image can|
00002db0  20 61 6c 73 6f 20 62 65  20 73 68 6f 77 6e 20 69  | also be shown i|
00002dc0  6e 20 63 6f 6c 6f 75 72  2c 20 62 79 20 64 65 73  |n colour, by des|
00002dd0  65 6c 65 63 74 69 6e 67  20 74 68 69 73 20 6f 70  |electing this op|
00002de0  74 69 6f 6e 2e 0a 0a 20  20 20 20 20 20 4d 69 73  |tion...      Mis|
00002df0  63 65 6c 6c 61 6e 65 6f  75 73 2e 45 64 69 74 20  |cellaneous.Edit |
00002e00  70 65 6e 63 69 6c 2f 73  70 72 61 79 63 61 6e 0a  |pencil/spraycan.|
00002e10  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00002e20  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002e30  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 53  |--------.      S|
00002e40  65 6c 65 63 74 20 74 68  69 73 20 74 6f 20 73 65  |elect this to se|
00002e50  74 20 74 68 65 20 73 68  61 70 65 2f 73 69 7a 65  |t the shape/size|
00002e60  20 6f 66 20 74 68 65 20  70 65 6e 63 69 6c 20 74  | of the pencil t|
00002e70  6f 6f 6c 20 6f 72 20 74  68 65 20 73 69 7a 65 2f  |ool or the size/|
00002e80  0a 20 20 20 20 20 20 69  6e 74 65 6e 73 69 74 79  |.      intensity|
00002e90  20 6f 66 20 74 68 65 20  73 70 72 61 79 63 61 6e  | of the spraycan|
00002ea0  2e 0a 0a 20 20 20 20 20  20 4d 69 73 63 65 6c 6c  |...      Miscell|
00002eb0  61 6e 65 6f 75 73 2e 50  6c 6f 74 20 74 79 70 65  |aneous.Plot type|
00002ec0  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00002ed0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |--------------. |
00002ee0  20 20 20 20 20 54 68 69  73 20 65 6e 61 62 6c 65  |     This enable|
00002ef0  73 20 79 6f 75 20 74 6f  20 73 65 6c 65 63 74 20  |s you to select |
00002f00  77 68 69 63 68 20 70 6c  6f 74 20 61 63 74 69 6f  |which plot actio|
00002f10  6e 20 74 68 65 20 70 61  69 6e 74 69 6e 67 20 74  |n the painting t|
00002f20  6f 6f 6c 73 20 73 68 6f  75 6c 64 0a 20 20 20 20  |ools should.    |
00002f30  20 20 75 73 65 2e 20 54  68 65 20 64 65 66 61 75  |  use. The defau|
00002f40  6c 74 20 69 73 20 53 65  74 2c 20 77 68 69 63 68  |lt is Set, which|
00002f50  20 6d 65 61 6e 73 20 70  6c 6f 74 20 74 68 65 20  | means plot the |
00002f60  73 65 6c 65 63 74 65 64  20 63 6f 6c 6f 75 72 2e  |selected colour.|
00002f70  20 54 68 65 20 6f 74 68  65 72 0a 20 20 20 20 20  | The other.     |
00002f80  20 70 6f 73 73 69 62 6c  65 20 70 6c 6f 74 20 61  | possible plot a|
00002f90  63 74 69 6f 6e 73 20 61  72 65 3a 0a 20 20 20 20  |ctions are:.    |
00002fa0  20 20 20 20 20 20 20 20  4f 52 20 20 20 20 20 20  |        OR      |
00002fb0  20 20 20 20 4f 52 20 74  68 65 20 63 6f 6c 6f 75  |    OR the colou|
00002fc0  72 20 69 6e 20 74 68 65  20 69 6d 61 67 65 20 77  |r in the image w|
00002fd0  69 74 68 20 74 68 65 20  73 65 6c 65 63 74 65 64  |ith the selected|
00002fe0  20 63 6f 6c 6f 75 72 2e  0a 20 20 20 20 20 20 20  | colour..       |
00002ff0  20 20 20 20 20 41 4e 44  20 20 20 20 20 20 20 20  |     AND        |
00003000  20 41 4e 44 20 2e 2e 2e  2e 2e 2e 0a 20 20 20 20  | AND .......    |
00003010  20 20 20 20 20 20 20 20  45 4f 52 20 20 20 20 20  |        EOR     |
00003020  20 20 20 20 45 4f 52 20  2e 2e 2e 2e 2e 2e 0a 20  |    EOR ....... |
00003030  20 20 20 20 20 20 20 20  20 20 20 49 6e 76 65 72  |           Inver|
00003040  74 20 20 20 20 20 20 49  6e 76 65 72 74 20 74 68  |t      Invert th|
00003050  65 20 63 6f 6c 6f 75 72  20 69 6e 20 74 68 65 20  |e colour in the |
00003060  69 6d 61 67 65 20 28 69  67 6e 6f 72 65 20 74 68  |image (ignore th|
00003070  65 20 73 65 6c 65 63 74  65 64 0a 20 20 20 20 20  |e selected.     |
00003080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003090  20 20 20 20 63 6f 6c 6f  75 72 29 2e 0a 20 20 20  |    colour)..   |
000030a0  20 20 20 20 20 20 20 20  20 44 6f 6e 27 74 20 70  |         Don't p|
000030b0  6c 6f 74 20 20 53 70 65  61 6b 73 20 66 6f 72 20  |lot  Speaks for |
000030c0  69 74 73 65 6c 66 2c 20  64 6f 65 73 6e 27 74 20  |itself, doesn't |
000030d0  69 74 3f 0a 20 20 20 20  20 20 20 20 20 20 20 20  |it?.            |
000030e0  41 4e 44 20 4e 4f 54 20  20 20 20 20 41 4e 44 20  |AND NOT     AND |
000030f0  74 68 65 20 63 6f 6c 6f  75 72 20 69 6e 20 74 68  |the colour in th|
00003100  65 20 69 6d 61 67 65 20  77 69 74 68 20 74 68 65  |e image with the|
00003110  20 69 6e 76 65 72 73 65  20 6f 66 20 74 68 65 0a  | inverse of the.|
00003120  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003130  20 20 20 20 20 20 20 20  73 65 6c 65 63 74 65 64  |        selected|
00003140  20 63 6f 6c 6f 75 72 2e  0a 20 20 20 20 20 20 20  | colour..       |
00003150  20 20 20 20 20 4f 52 20  4e 4f 54 20 20 20 20 20  |     OR NOT     |
00003160  20 4f 52 20 2e 2e 2e 2e  2e 2e 0a 20 20 20 20 20  | OR .......     |
00003170  20 54 68 65 20 70 6c 6f  74 20 74 79 70 65 20 61  | The plot type a|
00003180  66 66 65 63 74 73 20 61  6c 6c 20 74 68 65 20 70  |ffects all the p|
00003190  61 69 6e 74 69 6e 67 20  74 6f 6f 6c 73 20 65 78  |ainting tools ex|
000031a0  63 65 70 74 20 53 70 72  61 79 63 61 6e 2c 20 46  |cept Spraycan, F|
000031b0  6c 6f 6f 64 20 66 69 6c  6c 0a 20 20 20 20 20 20  |lood fill.      |
000031c0  61 6e 64 20 47 6c 6f 62  61 6c 20 72 65 70 6c 61  |and Global repla|
000031d0  63 65 2e 0a 0a 20 20 20  20 20 20 4d 69 73 63 65  |ce...      Misce|
000031e0  6c 6c 61 6e 65 6f 75 73  2e 52 65 6c 6f 61 64 20  |llaneous.Reload |
000031f0  6c 61 73 74 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |last.      -----|
00003200  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003210  2d 2d 2d 2d 0a 20 20 20  20 20 20 54 68 69 73 20  |----.      This |
00003220  65 6e 61 62 6c 65 73 20  79 6f 75 20 74 6f 20 72  |enables you to r|
00003230  65 6c 6f 61 64 20 74 68  65 20 6c 61 73 74 20 73  |eload the last s|
00003240  61 76 65 64 20 69 6d 61  67 65 20 28 66 6f 72 20  |aved image (for |
00003250  74 68 61 74 20 70 61 72  74 69 63 75 6c 61 72 0a  |that particular.|
00003260  20 20 20 20 20 20 69 6d  61 67 65 20 76 69 65 77  |      image view|
00003270  65 72 29 2e 20 49 6e 20  73 6f 6d 65 20 63 61 73  |er). In some cas|
00003280  65 73 20 79 6f 75 20 6d  69 67 68 74 20 65 78 70  |es you might exp|
00003290  65 72 69 65 6e 63 65 20  61 6e 20 65 72 72 6f 72  |erience an error|
000032a0  20 6c 69 6b 65 0a 20 20  20 20 20 20 27 4e 6f 74  | like.      'Not|
000032b0  20 65 6e 6f 75 67 68 20  72 6f 6f 6d 20 69 6e 20  | enough room in |
000032c0  73 70 72 69 74 65 61 72  65 61 27 2e 20 54 68 69  |spritearea'. Thi|
000032d0  73 20 77 69 6c 6c 20 74  79 70 69 63 61 6c 6c 79  |s will typically|
000032e0  20 68 61 70 70 65 6e 20  69 66 20 74 68 65 20 69  | happen if the i|
000032f0  6d 61 67 65 0a 20 20 20  20 20 20 79 6f 75 20 61  |mage.      you a|
00003300  72 65 20 74 72 79 69 6e  67 20 74 6f 20 72 65 6c  |re trying to rel|
00003310  6f 61 64 20 68 61 73 20  61 20 70 61 6c 65 74 74  |oad has a palett|
00003320  65 2c 20 61 73 20 21 50  72 6f 63 65 73 73 20 73  |e, as !Process s|
00003330  74 6f 72 65 73 20 74 68  65 20 69 6d 61 67 65 73  |tores the images|
00003340  0a 20 20 20 20 20 20 77  69 74 68 6f 75 74 20 70  |.      without p|
00003350  61 6c 65 74 74 65 2e 20  54 68 65 72 65 20 73 69  |alette. There si|
00003360  6d 70 6c 79 20 69 73 6e  27 74 20 72 6f 6f 6d 20  |mply isn't room |
00003370  66 6f 72 20 74 68 65 20  65 78 74 72 61 20 70 61  |for the extra pa|
00003380  6c 65 74 74 65 20 64 61  74 61 2e 0a 0a 0a 20 20  |lette data....  |
00003390  20 20 20 20 49 6d 61 67  65 2e 49 6d 61 67 65 20  |    Image.Image |
000033a0  69 6e 66 6f 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |info.      -----|
000033b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
000033c0  20 20 4c 65 61 64 73 20  74 6f 20 61 20 77 69 6e  |  Leads to a win|
000033d0  64 6f 77 20 77 69 74 68  20 69 6d 61 67 65 20 69  |dow with image i|
000033e0  6e 66 6f 2e 0a 0a 0a 20  20 20 20 20 20 49 6d 61  |nfo....      Ima|
000033f0  67 65 2e 43 6f 6e 76 65  72 74 20 74 6f 20 67 72  |ge.Convert to gr|
00003400  65 79 73 63 61 6c 65 0a  20 20 20 20 20 20 2d 2d  |eyscale.      --|
00003410  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003420  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 43  |--------.      C|
00003430  6f 6e 76 65 72 74 73 20  74 68 65 20 69 6d 61 67  |onverts the imag|
00003440  65 20 74 6f 20 32 35 36  20 67 72 65 79 74 6f 6e  |e to 256 greyton|
00003450  65 73 2e 20 54 68 69 73  20 63 61 6e 6e 6f 74 20  |es. This cannot |
00003460  62 65 20 72 65 76 65 72  73 65 64 2e 0a 0a 20 20  |be reversed...  |
00003470  20 20 20 20 49 6d 61 67  65 2e 43 6f 70 79 20 73  |    Image.Copy s|
00003480  6f 75 72 63 65 20 69 6d  61 67 65 0a 20 20 20 20  |ource image.    |
00003490  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
000034a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
000034b0  53 65 6c 65 63 74 69 6e  67 20 74 68 69 73 20 6f  |Selecting this o|
000034c0  70 74 69 6f 6e 20 77 69  6c 6c 20 63 6f 70 79 20  |ption will copy |
000034d0  74 68 65 20 73 6f 75 72  63 65 20 69 6d 61 67 65  |the source image|
000034e0  20 74 6f 20 74 68 65 20  64 65 73 74 69 6e 61 74  | to the destinat|
000034f0  69 6f 6e 0a 20 20 20 20  20 20 69 6d 61 67 65 2e  |ion.      image.|
00003500  0a 0a 20 20 20 20 20 20  49 6d 61 67 65 2e 53 65  |..      Image.Se|
00003510  6c 65 63 74 20 61 72 65  61 0a 20 20 20 20 20 20  |lect area.      |
00003520  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003530  2d 0a 20 20 20 20 20 20  54 68 69 73 20 65 6e 74  |-.      This ent|
00003540  72 79 20 61 6c 6c 6f 77  73 20 79 6f 75 20 74 6f  |ry allows you to|
00003550  20 73 65 6c 65 63 74 20  61 20 70 61 72 74 20 6f  | select a part o|
00003560  66 20 74 68 65 20 69 6d  61 67 65 2e 20 41 6c 6d  |f the image. Alm|
00003570  6f 73 74 20 61 6c 6c 0a  20 20 20 20 20 20 6f 70  |ost all.      op|
00003580  65 72 61 74 69 6f 6e 73  20 6f 6e 20 74 68 65 20  |erations on the |
00003590  69 6d 61 67 65 20 77 69  6c 6c 20 6f 6e 6c 79 20  |image will only |
000035a0  68 61 76 65 20 65 66 66  65 63 74 20 69 6e 20 74  |have effect in t|
000035b0  68 65 20 73 65 6c 65 63  74 65 64 20 61 72 65 61  |he selected area|
000035c0  2e 0a 20 20 20 20 20 20  53 65 6c 65 63 74 20 74  |..      Select t|
000035d0  68 65 20 6f 70 74 69 6f  6e 2c 20 74 68 65 6e 20  |he option, then |
000035e0  63 6c 69 63 6b 20 53 45  4c 45 43 54 20 69 6e 20  |click SELECT in |
000035f0  6f 6e 65 20 63 6f 72 6e  65 72 20 6f 66 20 74 68  |one corner of th|
00003600  65 20 72 65 63 74 61 6e  67 6c 65 20 79 6f 75 0a  |e rectangle you.|
00003610  20 20 20 20 20 20 77 69  73 68 20 74 6f 20 73 65  |      wish to se|
00003620  6c 65 63 74 20 61 6e 64  20 63 6c 69 63 6b 20 53  |lect and click S|
00003630  45 4c 45 43 54 20 61 67  61 69 6e 20 69 6e 20 74  |ELECT again in t|
00003640  68 65 20 6f 74 68 65 72  20 63 6f 72 6e 65 72 2e  |he other corner.|
00003650  0a 20 20 20 20 20 20 59  6f 75 20 63 61 6e 20 61  |.      You can a|
00003660  62 6f 72 74 20 74 68 65  20 63 75 74 74 69 6e 67  |bort the cutting|
00003670  20 62 79 20 63 6c 69 63  6b 69 6e 67 20 4d 45 4e  | by clicking MEN|
00003680  55 2e 0a 20 20 20 20 20  20 49 66 20 61 6e 20 61  |U..      If an a|
00003690  72 65 61 20 61 6c 72 65  61 64 79 20 68 61 73 20  |rea already has |
000036a0  62 65 65 6e 20 73 65 6c  65 63 74 65 64 2c 20 69  |been selected, i|
000036b0  74 20 69 73 20 70 6f 73  73 69 62 6c 65 20 74 6f  |t is possible to|
000036c0  20 61 64 6a 75 73 74 20  74 68 65 0a 20 20 20 20  | adjust the.    |
000036d0  20 20 70 6f 73 69 74 69  6f 6e 2f 73 69 7a 65 20  |  position/size |
000036e0  6f 66 20 74 68 65 20 61  72 65 61 20 75 73 69 6e  |of the area usin|
000036f0  67 20 74 68 65 20 6f 70  74 69 6f 6e 73 20 69 6e  |g the options in|
00003700  20 74 68 65 20 73 75 62  2d 6d 65 6e 75 20 74 6f  | the sub-menu to|
00003710  20 74 68 69 73 20 65 6e  74 72 79 2e 0a 20 20 20  | this entry..   |
00003720  20 20 20 20 20 20 20 20  20 20 45 78 74 65 6e 64  |          Extend|
00003730  20 74 6f 70 2f 62 6f 74  74 6f 6d 2f 72 69 67 68  | top/bottom/righ|
00003740  74 2f 6c 65 66 74 20 77  69 6c 6c 20 6d 6f 76 65  |t/left will move|
00003750  20 74 6f 20 61 70 70 72  6f 70 69 61 74 65 20 73  | to appropiate s|
00003760  69 64 65 20 6f 66 0a 20  20 20 20 20 20 20 20 20  |ide of.         |
00003770  20 20 20 20 74 68 65 20  72 65 63 74 61 6e 67 6c  |    the rectangl|
00003780  65 20 74 6f 20 74 68 65  20 74 6f 70 2f 62 6f 74  |e to the top/bot|
00003790  74 6f 6d 2f 72 69 67 68  74 20 73 69 64 65 2f 6c  |tom/right side/l|
000037a0  65 66 74 20 73 69 64 65  20 6f 66 20 74 68 65 0a  |eft side of the.|
000037b0  20 20 20 20 20 20 20 20  20 20 20 20 20 66 75 6c  |             ful|
000037c0  6c 20 69 6d 61 67 65 2e  0a 20 20 20 20 20 20 20  |l image..       |
000037d0  20 20 20 20 20 20 54 6f  70 2f 62 6f 74 74 6f 6d  |      Top/bottom|
000037e0  2f 72 69 67 68 74 2f 6c  65 66 74 20 6e 65 69 67  |/right/left neig|
000037f0  68 62 6f 75 72 20 77 69  6c 6c 20 73 65 74 20 74  |hbour will set t|
00003800  68 65 20 72 65 63 74 61  6e 67 6c 65 20 74 6f 20  |he rectangle to |
00003810  61 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |an.             |
00003820  61 72 65 61 20 77 69 74  68 20 74 68 65 20 73 61  |area with the sa|
00003830  6d 65 20 77 69 64 74 68  2f 68 65 69 67 68 74 20  |me width/height |
00003840  61 73 20 62 65 66 6f 72  65 2c 20 62 75 74 20 70  |as before, but p|
00003850  6f 73 69 74 69 6f 6e 65  64 0a 20 20 20 20 20 20  |ositioned.      |
00003860  20 20 20 20 20 20 20 61  62 6f 76 65 2f 62 65 6c  |       above/bel|
00003870  6f 77 2f 74 6f 20 74 68  65 20 72 69 67 68 74 20  |ow/to the right |
00003880  6f 66 2f 74 6f 20 74 68  65 20 6c 65 66 74 20 6f  |of/to the left o|
00003890  66 20 74 68 65 20 70 72  65 76 69 6f 75 73 20 61  |f the previous a|
000038a0  72 65 61 2c 0a 20 20 20  20 20 20 20 20 20 20 20  |rea,.           |
000038b0  20 20 73 6f 20 74 68 61  74 20 6e 6f 20 70 69 78  |  so that no pix|
000038c0  65 6c 73 20 6f 76 65 72  6c 61 70 2e 0a 0a 20 20  |els overlap...  |
000038d0  20 20 20 20 49 6d 61 67  65 2e 43 6c 65 61 72 20  |    Image.Clear |
000038e0  61 72 65 61 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |area.      -----|
000038f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00003900  20 20 54 68 69 73 20 77  69 6c 6c 20 72 65 73 65  |  This will rese|
00003910  74 20 74 68 65 20 73 65  6c 65 63 74 65 64 20 70  |t the selected p|
00003920  61 72 74 20 6f 66 20 74  68 65 20 69 6d 61 67 65  |art of the image|
00003930  20 74 6f 20 74 68 65 20  66 75 6c 6c 20 69 6d 61  | to the full ima|
00003940  67 65 2e 0a 0a 20 20 20  20 20 20 49 6d 61 67 65  |ge...      Image|
00003950  2e 55 73 65 20 66 75 6c  6c 20 69 6d 61 67 65 0a  |.Use full image.|
00003960  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00003970  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
00003980  20 49 66 20 74 68 69 73  20 6f 70 74 69 6f 6e 20  | If this option |
00003990  69 73 20 73 65 6c 65 63  74 65 64 20 28 74 69 63  |is selected (tic|
000039a0  6b 65 64 29 2c 20 74 68  65 20 66 75 6c 6c 20 69  |ked), the full i|
000039b0  6d 61 67 65 20 69 73 20  62 65 20 75 73 65 64 2e  |mage is be used.|
000039c0  0a 0a 20 20 20 20 20 20  49 6d 61 67 65 2e 55 73  |..      Image.Us|
000039d0  65 20 73 65 6c 65 63 74  65 64 20 61 72 65 61 0a  |e selected area.|
000039e0  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
000039f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00003a00  20 20 20 20 49 66 20 74  68 69 73 20 6f 70 74 69  |    If this opti|
00003a10  6f 6e 20 69 73 20 73 65  6c 65 63 74 65 64 2c 20  |on is selected, |
00003a20  6f 6e 6c 79 20 74 68 65  20 73 65 6c 65 63 74 65  |only the selecte|
00003a30  64 20 70 61 72 74 20 6f  66 20 74 68 65 20 69 6d  |d part of the im|
00003a40  61 67 65 20 77 69 6c 6c  20 62 65 0a 20 20 20 20  |age will be.    |
00003a50  20 20 61 66 66 65 63 74  65 64 20 62 79 20 74 68  |  affected by th|
00003a60  65 20 70 72 6f 63 65 73  73 69 6e 67 2e 0a 0a 0a  |e processing....|
00003a70  20 20 20 20 20 20 52 61  6e 67 65 2e 52 65 64 75  |      Range.Redu|
00003a80  63 65 20 72 61 6e 67 65  0a 20 20 20 20 20 20 2d  |ce range.      -|
00003a90  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003aa0  2d 0a 20 20 20 20 20 20  54 68 69 73 20 75 73 65  |-.      This use|
00003ab0  73 20 61 20 73 69 6d 70  6c 65 20 61 6c 67 6f 72  |s a simple algor|
00003ac0  69 74 68 6d 65 20 74 6f  20 72 65 64 75 63 65 20  |ithme to reduce |
00003ad0  74 68 65 20 72 61 6e 67  65 20 6f 66 20 74 68 65  |the range of the|
00003ae0  20 63 6f 6c 6f 75 72 73  20 69 6e 20 74 68 65 0a  | colours in the.|
00003af0  20 20 20 20 20 20 73 6f  75 72 63 65 20 69 6d 61  |      source ima|
00003b00  67 65 2e 20 41 6c 6c 20  63 6f 6c 6f 75 72 73 20  |ge. All colours |
00003b10  61 72 65 20 6d 6f 76 65  64 20 74 6f 77 61 72 64  |are moved toward|
00003b20  73 20 61 20 62 6f 72 69  6e 67 20 67 72 65 79 74  |s a boring greyt|
00003b30  6f 6e 65 20 28 72 65 64  2c 20 67 72 65 65 6e 0a  |one (red, green.|
00003b40  20 20 20 20 20 20 61 6e  64 20 62 6c 75 65 20 3d  |      and blue =|
00003b50  20 31 32 38 29 2e 0a 0a  20 20 20 20 20 20 52 61  | 128)...      Ra|
00003b60  6e 67 65 2e 45 78 70 61  6e 64 20 72 61 6e 67 65  |nge.Expand range|
00003b70  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00003b80  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
00003b90  41 6c 6c 20 63 6f 6c 6f  75 72 73 20 61 72 65 20  |All colours are |
00003ba0  6d 6f 76 65 64 20 61 77  61 79 20 66 72 6f 6d 20  |moved away from |
00003bb0  74 68 65 20 67 72 65 79  74 6f 6e 65 20 6d 65 6e  |the greytone men|
00003bc0  74 69 6f 6e 65 64 20 61  62 6f 76 65 2e 0a 0a 20  |tioned above... |
00003bd0  20 20 20 20 20 52 61 6e  67 65 2e 43 61 6c 63 75  |     Range.Calcu|
00003be0  6c 61 74 65 20 68 69 73  74 6f 67 72 61 6d 0a 20  |late histogram. |
00003bf0  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
00003c00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |--------------. |
00003c10  20 20 20 20 20 54 68 69  73 20 63 61 6c 63 75 6c  |     This calcul|
00003c20  61 74 65 73 20 61 6e 64  20 64 69 73 70 6c 61 79  |ates and display|
00003c30  73 20 74 68 65 20 63 6f  6c 6f 75 72 20 68 69 73  |s the colour his|
00003c40  74 6f 67 72 61 6d 20 6f  66 20 74 68 65 20 69 6d  |togram of the im|
00003c50  61 67 65 2e 0a 20 20 20  20 20 20 54 68 65 72 65  |age..      There|
00003c60  20 77 69 6c 6c 20 61 6c  6d 6f 73 74 20 61 6c 77  | will almost alw|
00003c70  61 79 73 20 62 65 20 61  74 20 6c 65 61 73 74 20  |ays be at least |
00003c80  61 20 73 6d 61 6c 6c 20  61 6d 6f 75 6e 74 20 6f  |a small amount o|
00003c90  66 20 62 6f 74 68 20 72  65 64 2c 20 67 72 65 65  |f both red, gree|
00003ca0  6e 0a 20 20 20 20 20 20  61 6e 64 20 62 6c 75 65  |n.      and blue|
00003cb0  20 69 6e 20 61 6c 6c 20  69 6d 61 67 65 73 2c 20  | in all images, |
00003cc0  65 76 65 6e 20 61 66 74  65 72 20 74 68 65 20 69  |even after the i|
00003cd0  6d 61 67 65 20 68 61 73  20 62 65 65 6e 20 74 68  |mage has been th|
00003ce0  72 75 20 65 2e 67 2e 20  61 20 62 6c 75 65 0a 20  |ru e.g. a blue. |
00003cf0  20 20 20 20 20 66 69 6c  74 65 72 2e 20 54 68 69  |     filter. Thi|
00003d00  73 20 69 73 20 64 75 65  20 74 6f 20 74 68 65 20  |s is due to the |
00003d10  66 61 63 74 20 74 68 61  74 20 74 68 65 20 62 6f  |fact that the bo|
00003d20  74 74 6f 6d 20 74 77 6f  20 62 69 74 73 20 6f 66  |ttom two bits of|
00003d30  20 65 61 63 68 20 62 79  74 65 20 69 73 0a 20 20  | each byte is.  |
00003d40  20 20 20 20 63 6f 6d 6d  6f 6e 20 74 6f 20 74 68  |    common to th|
00003d50  65 20 74 68 72 65 65 20  63 6f 6c 6f 75 72 20 63  |e three colour c|
00003d60  6f 6d 70 6f 6e 65 6e 74  73 2e 0a 0a 20 20 20 20  |omponents...    |
00003d70  20 20 52 61 6e 67 65 2e  53 74 72 65 74 63 68 0a  |  Range.Stretch.|
00003d80  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00003d90  2d 2d 2d 0a 20 20 20 20  20 20 53 74 72 65 74 63  |---.      Stretc|
00003da0  68 65 73 20 74 68 65 20  63 6f 6c 6f 75 72 20 72  |hes the colour r|
00003db0  61 6e 67 65 20 6f 66 20  74 68 65 20 69 6d 61 67  |ange of the imag|
00003dc0  65 2e 20 54 68 69 73 20  77 69 6c 6c 20 73 74 72  |e. This will str|
00003dd0  65 74 63 68 20 61 20 73  65 6c 65 63 74 65 64 0a  |etch a selected.|
00003de0  20 20 20 20 20 20 70 61  72 74 20 6f 66 20 74 68  |      part of th|
00003df0  65 20 63 6f 6c 6f 75 72  20 68 69 73 74 6f 67 72  |e colour histogr|
00003e00  61 6d 20 73 6f 20 74 68  61 74 20 74 68 69 73 20  |am so that this |
00003e10  70 61 72 74 20 66 69 6c  6c 73 20 74 68 65 20 65  |part fills the e|
00003e20  6e 74 69 72 65 20 72 61  6e 67 65 2e 0a 20 20 20  |ntire range..   |
00003e30  20 20 20 49 66 20 61 20  63 6f 6c 6f 75 72 20 63  |   If a colour c|
00003e40  6f 6d 70 6f 6e 65 6e 74  20 69 73 20 6f 75 74 73  |omponent is outs|
00003e50  69 64 65 20 74 68 65 20  73 65 6c 65 63 74 65 64  |ide the selected|
00003e60  20 70 61 72 74 20 69 74  20 62 65 63 6f 6d 65 73  | part it becomes|
00003e70  20 65 69 74 68 65 72 20  30 0a 20 20 20 20 20 20  | either 0.      |
00003e80  28 69 66 20 62 65 6c 6f  77 29 20 6f 72 20 32 35  |(if below) or 25|
00003e90  35 20 28 3d 66 75 6c 6c  2c 20 69 66 20 61 62 6f  |5 (=full, if abo|
00003ea0  76 65 29 2e 0a 20 20 20  20 20 20 53 65 6c 65 63  |ve)..      Selec|
00003eb0  74 69 6e 67 20 61 20 70  61 72 74 20 6f 66 20 74  |ting a part of t|
00003ec0  68 65 20 68 69 73 74 6f  67 72 61 6d 20 69 73 20  |he histogram is |
00003ed0  64 6f 6e 65 20 75 73 69  6e 67 20 74 68 65 20 6c  |done using the l|
00003ee0  6f 77 65 72 65 64 20 72  65 63 74 61 6e 67 6c 65  |owered rectangle|
00003ef0  0a 20 20 20 20 20 20 62  65 6c 6f 77 20 74 68 65  |.      below the|
00003f00  20 68 69 73 74 6f 67 72  61 6d 2e 20 43 6c 69 63  | histogram. Clic|
00003f10  6b 69 6e 67 20 41 44 4a  55 53 54 20 69 6e 20 74  |king ADJUST in t|
00003f20  68 69 73 20 73 65 74 73  20 74 68 65 20 75 70 70  |his sets the upp|
00003f30  65 72 20 6c 69 6d 69 74  2c 0a 20 20 20 20 20 20  |er limit,.      |
00003f40  63 6c 69 63 6b 69 6e 67  20 53 45 4c 45 43 54 20  |clicking SELECT |
00003f50  73 65 74 73 20 74 68 65  20 6c 6f 77 65 72 20 6c  |sets the lower l|
00003f60  69 6d 69 74 2e 0a 0a 20  20 20 20 20 20 52 61 6e  |imit...      Ran|
00003f70  67 65 2e 45 71 75 61 6c  69 7a 65 0a 20 20 20 20  |ge.Equalize.    |
00003f80  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00003f90  0a 20 20 20 20 20 20 48  69 73 74 6f 67 72 61 6d  |.      Histogram|
00003fa0  20 65 71 75 61 6c 69 73  61 74 69 6f 6e 2e 20 54  | equalisation. T|
00003fb0  68 69 73 20 77 69 6c 6c  20 61 74 74 65 6d 70 74  |his will attempt|
00003fc0  20 74 6f 20 65 71 75 61  6c 69 7a 65 20 74 68 65  | to equalize the|
00003fd0  20 68 69 73 74 6f 67 72  61 6d 20 73 6f 0a 20 20  | histogram so.  |
00003fe0  20 20 20 20 74 68 61 74  20 74 68 65 72 65 20 69  |    that there i|
00003ff0  73 20 61 20 28 72 6f 75  67 68 6c 79 29 20 65 71  |s a (roughly) eq|
00004000  75 61 6c 20 6e 75 6d 62  65 72 20 6f 66 20 70 69  |ual number of pi|
00004010  78 65 6c 73 20 69 6e 20  65 61 63 68 20 6f 66 20  |xels in each of |
00004020  74 68 65 20 70 6f 73 73  69 62 6c 65 0a 20 20 20  |the possible.   |
00004030  20 20 20 73 68 61 64 65  73 2e 0a 0a 20 20 20 20  |   shades...    |
00004040  20 20 52 61 6e 67 65 2e  54 72 61 6e 73 66 65 72  |  Range.Transfer|
00004050  20 6d 65 64 69 61 6e 0a  20 20 20 20 20 20 2d 2d  | median.      --|
00004060  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004070  2d 2d 2d 0a 20 20 20 20  20 20 43 61 6c 63 75 6c  |---.      Calcul|
00004080  61 74 65 73 20 74 68 65  20 6d 65 61 6e 20 63 6f  |ates the mean co|
00004090  6c 6f 75 72 20 6f 66 20  74 68 65 20 69 6d 61 67  |lour of the imag|
000040a0  65 2c 20 61 6e 64 20 74  72 61 6e 73 66 65 72 73  |e, and transfers|
000040b0  20 69 74 20 74 6f 20 74  68 65 20 52 47 42 0a 20  | it to the RGB. |
000040c0  20 20 20 20 20 63 6f 6c  6f 75 72 20 73 65 6c 65  |     colour sele|
000040d0  63 74 6f 72 2e 20 54 68  69 73 20 69 73 20 65 73  |ctor. This is es|
000040e0  70 65 63 69 61 6c 6c 79  20 75 73 65 66 75 6c 20  |pecially useful |
000040f0  69 66 20 79 6f 75 20 77  61 6e 74 20 74 6f 20 63  |if you want to c|
00004100  6f 6e 76 65 72 74 20 61  0a 20 20 20 20 20 20 63  |onvert a.      c|
00004110  6f 6c 6f 75 72 20 69 6d  61 67 65 20 74 6f 20 67  |olour image to g|
00004120  72 65 79 74 6f 6e 65 73  2c 20 61 73 20 74 68 65  |reytones, as the|
00004130  20 6d 65 61 6e 20 63 6f  6c 6f 75 72 20 77 69 6c  | mean colour wil|
00004140  6c 20 65 6e 73 75 72 65  20 61 20 72 65 61 73 6f  |l ensure a reaso|
00004150  6e 61 62 6c 79 0a 20 20  20 20 20 20 67 6f 6f 64  |nably.      good|
00004160  20 63 6f 6e 76 65 72 73  69 6f 6e 2e 0a 0a 20 20  | conversion...  |
00004170  20 20 20 20 52 61 6e 67  65 2e 43 6f 6c 6f 75 72  |    Range.Colour|
00004180  20 63 6f 72 72 65 63 74  69 6f 6e 0a 20 20 20 20  | correction.    |
00004190  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
000041a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
000041b0  55 73 65 73 20 6f 6e 65  20 6f 66 20 74 68 72 65  |Uses one of thre|
000041c0  65 20 61 6c 67 6f 72 69  74 68 65 6d 73 20 74 6f  |e algorithems to|
000041d0  20 70 65 72 66 6f 72 6d  20 63 6f 6c 6f 75 72 2d  | perform colour-|
000041e0  63 6f 72 72 65 63 74 69  6f 6e 2e 20 54 68 65 20  |correction. The |
000041f0  63 75 72 76 65 0a 20 20  20 20 20 20 73 68 6f 77  |curve.      show|
00004200  73 20 27 4e 65 77 20 63  6f 6c 6f 75 72 27 20 76  |s 'New colour' v|
00004210  73 20 27 4f 6c 64 20 63  6f 6c 6f 75 72 27 2e 0a  |s 'Old colour'..|
00004220  0a 20 20 20 20 20 20 47  61 6d 6d 61 20 28 47 61  |.      Gamma (Ga|
00004230  6d 6d 61 2d 63 6f 72 72  65 63 74 69 6f 6e 29 3a  |mma-correction):|
00004240  20 45 61 63 68 20 63 6f  6c 6f 75 72 2d 63 6f 6d  | Each colour-com|
00004250  70 6f 6e 65 6e 74 20 69  73 20 74 72 61 6e 73 6c  |ponent is transl|
00004260  61 74 65 64 20 74 6f 20  61 20 6e 65 77 0a 20 20  |ated to a new.  |
00004270  20 20 20 20 63 6f 6c 6f  75 72 20 75 73 69 6e 67  |    colour using|
00004280  20 74 68 65 20 66 6f 72  6d 75 6c 61 3a 20 20 20  | the formula:   |
00004290  4e 65 77 43 6f 6c 20 3d  20 28 4f 6c 64 43 6f 6c  |NewCol = (OldCol|
000042a0  20 5e 20 47 61 6d 6d 61  29 0a 20 20 20 20 20 20  | ^ Gamma).      |
000042b0  47 61 6d 6d 61 20 69 73  20 73 65 74 20 75 73 69  |Gamma is set usi|
000042c0  6e 67 20 74 68 65 20 74  77 6f 20 75 70 2d 20 61  |ng the two up- a|
000042d0  6e 64 20 64 6f 77 6e 2d  69 63 6f 6e 73 2e 0a 20  |nd down-icons.. |
000042e0  20 20 20 20 20 47 61 6d  6d 61 2d 63 6f 72 72 65  |     Gamma-corre|
000042f0  63 74 69 6f 6e 20 69 73  20 70 61 72 74 69 63 75  |ction is particu|
00004300  61 6c 6c 79 20 75 73 65  66 75 6c 20 6f 6e 20 73  |ally useful on s|
00004310  63 61 6e 6e 65 64 2f 64  69 67 69 74 69 7a 65 64  |canned/digitized|
00004320  20 69 6d 61 67 65 73 2e  0a 0a 20 20 20 20 20 20  | images...      |
00004330  50 2d 6c 69 6e 3a 20 42  61 73 69 63 61 6c 6c 79  |P-lin: Basically|
00004340  20 74 68 65 20 73 61 6d  65 20 61 73 20 47 61 6d  | the same as Gam|
00004350  6d 61 2d 63 6f 72 72 2e  20 59 6f 75 20 63 61 6e  |ma-corr. You can|
00004360  20 61 64 6a 75 73 74 20  74 68 65 20 63 75 72 76  | adjust the curv|
00004370  65 20 62 79 0a 20 20 20  20 20 20 63 6c 69 63 6b  |e by.      click|
00004380  69 6e 67 20 53 45 4c 45  43 54 20 6f 6e 20 69 74  |ing SELECT on it|
00004390  2e 0a 0a 20 20 20 20 20  20 53 74 65 70 3a 20 41  |...      Step: A|
000043a0  6c 6c 6f 77 73 20 79 6f  75 20 74 6f 20 63 6f 6e  |llows you to con|
000043b0  74 72 6f 6c 20 74 68 65  20 74 72 61 6e 73 6c 61  |trol the transla|
000043c0  74 69 6f 6e 20 6f 66 20  65 61 63 68 20 52 47 42  |tion of each RGB|
000043d0  20 76 61 6c 75 65 20 74  6f 20 61 20 6e 65 77 0a  | value to a new.|
000043e0  20 20 20 20 20 20 52 47  42 2d 76 61 6c 75 65 2e  |      RGB-value.|
000043f0  0a 0a 0a 20 20 20 20 20  20 50 72 6f 63 65 73 73  |...      Process|
00004400  2e 49 6e 76 65 72 74 0a  20 20 20 20 20 20 2d 2d  |.Invert.      --|
00004410  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00004420  20 20 20 54 68 69 73 20  77 69 6c 6c 20 69 6e 76  |   This will inv|
00004430  65 72 74 20 74 68 65 20  69 6d 61 67 65 2c 20 67  |ert the image, g|
00004440  69 76 69 6e 67 20 61 20  6e 65 67 61 74 69 76 65  |iving a negative|
00004450  20 69 6d 61 67 65 2e 0a  0a 20 20 20 20 20 20 50  | image...      P|
00004460  72 6f 63 65 73 73 2e 52  65 6d 6f 76 65 20 54 49  |rocess.Remove TI|
00004470  4e 54 0a 20 20 20 20 20  20 2d 2d 2d 2d 2d 2d 2d  |NT.      -------|
00004480  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00004490  20 20 20 54 68 69 73 20  73 69 6d 70 6c 79 20 72  |   This simply r|
000044a0  65 6d 6f 76 65 73 20 74  68 65 20 62 6f 74 74 6f  |emoves the botto|
000044b0  6d 20 74 77 6f 20 62 69  74 73 20 28 74 68 65 20  |m two bits (the |
000044c0  54 49 4e 54 20 70 61 72  74 29 20 6f 66 20 61 6c  |TINT part) of al|
000044d0  6c 20 70 69 78 65 6c 73  20 69 6e 0a 20 20 20 20  |l pixels in.    |
000044e0  20 20 74 68 65 20 73 6f  75 72 63 65 20 69 6d 61  |  the source ima|
000044f0  67 65 2e 0a 0a 20 20 20  20 20 20 50 72 6f 63 65  |ge...      Proce|
00004500  73 73 2e 42 72 69 67 68  74 65 6e 0a 20 20 20 20  |ss.Brighten.    |
00004510  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00004520  2d 2d 0a 20 20 20 20 20  20 54 68 69 73 20 61 64  |--.      This ad|
00004530  64 73 20 61 20 73 6d 61  6c 6c 20 61 6d 6f 75 6e  |ds a small amoun|
00004540  74 20 74 6f 20 65 61 63  68 20 6f 66 20 74 68 65  |t to each of the|
00004550  20 63 6f 6c 6f 75 72 20  63 6f 6d 70 6f 6e 65 6e  | colour componen|
00004560  74 73 2c 20 67 69 76 69  6e 67 20 61 0a 20 20 20  |ts, giving a.   |
00004570  20 20 20 62 72 69 67 68  74 65 72 20 69 6d 61 67  |   brighter imag|
00004580  65 2e 0a 0a 20 20 20 20  20 20 50 72 6f 63 65 73  |e...      Proces|
00004590  73 2e 44 61 72 6b 65 6e  0a 20 20 20 20 20 20 2d  |s.Darken.      -|
000045a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
000045b0  20 20 20 20 54 68 65 20  72 65 76 65 72 73 65 20  |    The reverse |
000045c0  6f 66 20 42 72 69 67 68  74 65 6e 2e 0a 0a 20 20  |of Brighten...  |
000045d0  20 20 20 20 50 72 6f 63  65 73 73 2e 42 6c 61 63  |    Process.Blac|
000045e0  6b 20 26 20 57 68 69 74  65 0a 20 20 20 20 20 20  |k & White.      |
000045f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004600  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 43 6f 6e 76  |-----.      Conv|
00004610  65 72 74 73 20 74 68 65  20 69 6d 61 67 65 20 74  |erts the image t|
00004620  6f 20 62 6c 61 63 6b 20  61 6e 64 20 77 68 69 74  |o black and whit|
00004630  65 2e 20 54 68 65 20 63  6f 6c 6f 75 72 20 63 6f  |e. The colour co|
00004640  6d 70 6f 6e 65 6e 74 73  20 61 72 65 20 77 65 69  |mponents are wei|
00004650  67 68 74 65 64 0a 20 20  20 20 20 20 61 63 63 6f  |ghted.      acco|
00004660  72 64 69 6e 67 20 74 6f  20 74 68 65 20 73 65 6c  |rding to the sel|
00004670  65 63 74 65 64 20 63 6f  6c 6f 75 72 2c 20 74 68  |ected colour, th|
00004680  65 20 6d 65 64 69 61 6e  20 6f 66 20 74 68 65 20  |e median of the |
00004690  74 68 72 65 65 20 63 6f  6d 70 6f 6e 65 6e 74 73  |three components|
000046a0  20 61 72 65 0a 20 20 20  20 20 20 63 61 6c 63 75  | are.      calcu|
000046b0  6c 61 74 65 64 2c 20 61  6e 64 20 69 66 20 74 68  |lated, and if th|
000046c0  69 73 20 69 73 20 61 62  6f 76 65 20 35 30 25 20  |is is above 50% |
000046d0  69 6e 74 65 6e 73 69 74  79 2c 20 74 68 65 20 70  |intensity, the p|
000046e0  69 78 65 6c 20 62 65 63  6f 6d 65 73 20 77 68 69  |ixel becomes whi|
000046f0  74 65 0a 20 20 20 20 20  20 6f 74 68 65 72 77 69  |te.      otherwi|
00004700  73 65 20 69 74 20 62 65  63 6f 6d 65 73 20 62 6c  |se it becomes bl|
00004710  61 63 6b 2e 0a 0a 20 20  20 20 20 20 50 72 6f 63  |ack...      Proc|
00004720  65 73 73 2e 47 72 65 79  74 6f 6e 65 73 0a 20 20  |ess.Greytones.  |
00004730  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00004740  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 43 6f 6e 76  |-----.      Conv|
00004750  65 72 74 73 20 74 68 65  20 69 6d 61 67 65 20 74  |erts the image t|
00004760  6f 20 67 72 65 79 74 6f  6e 65 73 2e 20 54 68 65  |o greytones. The|
00004770  20 63 6f 6c 6f 75 72 20  63 6f 6d 70 6f 6e 65 6e  | colour componen|
00004780  74 73 20 61 72 65 20 77  65 69 67 68 74 65 64 0a  |ts are weighted.|
00004790  20 20 20 20 20 20 61 63  63 6f 72 64 69 6e 67 20  |      according |
000047a0  74 6f 20 74 68 65 20 73  65 6c 65 63 74 65 64 20  |to the selected |
000047b0  63 6f 6c 6f 75 72 2c 20  74 68 65 20 6d 65 64 69  |colour, the medi|
000047c0  61 6e 20 6f 66 20 74 68  65 20 74 68 72 65 65 20  |an of the three |
000047d0  63 6f 6d 70 6f 6e 65 6e  74 73 20 61 72 65 0a 20  |components are. |
000047e0  20 20 20 20 20 63 61 6c  63 75 6c 61 74 65 64 20  |     calculated |
000047f0  61 6e 64 20 74 68 69 73  20 69 73 20 75 73 65 64  |and this is used|
00004800  20 74 6f 20 73 65 6c 65  63 74 20 61 20 67 72 65  | to select a gre|
00004810  79 74 6f 6e 65 2e 0a 20  20 20 20 20 20 54 68 65  |ytone..      The|
00004820  20 73 65 6e 73 69 74 69  76 69 74 79 20 6f 66 20  | sensitivity of |
00004830  74 68 65 20 65 79 65 20  69 73 20 61 70 70 72 6f  |the eye is appro|
00004840  78 2e 20 33 3a 35 3a 31  20 28 72 65 64 2c 67 72  |x. 3:5:1 (red,gr|
00004850  65 65 6e 2c 62 6c 75 65  29 2e 0a 0a 20 20 20 20  |een,blue)...    |
00004860  20 20 50 72 6f 63 65 73  73 2e 54 68 72 65 73 68  |  Process.Thresh|
00004870  6f 6c 64 0a 20 20 20 20  20 20 2d 2d 2d 2d 2d 2d  |old.      ------|
00004880  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00004890  20 20 43 6f 6e 76 65 72  74 73 20 74 68 65 20 69  |  Converts the i|
000048a0  6d 61 67 65 20 74 6f 20  62 6c 61 63 6b 20 61 6e  |mage to black an|
000048b0  64 20 77 68 69 74 65 20  75 73 69 6e 67 20 74 68  |d white using th|
000048c0  72 65 73 68 6f 6c 64 69  6e 67 2e 0a 20 20 20 20  |resholding..    |
000048d0  20 20 54 68 72 65 73 68  6f 6c 64 69 6e 67 20 6d  |  Thresholding m|
000048e0  65 61 6e 73 20 74 68 61  74 20 61 6e 79 20 70 69  |eans that any pi|
000048f0  78 65 6c 20 77 69 74 68  20 32 20 6f 72 20 33 20  |xel with 2 or 3 |
00004900  63 6f 6c 6f 75 72 20 63  6f 6d 70 6f 6e 65 6e 74  |colour component|
00004910  73 20 61 62 6f 76 65 20  74 68 65 0a 20 20 20 20  |s above the.    |
00004920  20 20 73 65 6c 65 63 74  65 64 20 63 6f 6c 6f 75  |  selected colou|
00004930  72 20 77 69 6c 6c 20 62  65 63 6f 6d 65 20 77 68  |r will become wh|
00004940  69 74 65 2c 20 74 68 65  20 72 65 73 74 20 77 69  |ite, the rest wi|
00004950  6c 6c 20 62 65 63 6f 6d  65 20 62 6c 61 63 6b 2e  |ll become black.|
00004960  0a 0a 20 20 20 20 20 20  50 72 6f 63 65 73 73 2e  |..      Process.|
00004970  41 64 64 20 63 6f 6c 6f  75 72 0a 20 20 20 20 20  |Add colour.     |
00004980  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00004990  2d 2d 2d 0a 20 20 20 20  20 20 41 64 64 73 20 61  |---.      Adds a|
000049a0  6e 20 76 61 72 69 61 62  6c 65 20 61 6d 6f 75 6e  |n variable amoun|
000049b0  74 20 6f 66 20 63 6f 6c  6f 75 72 20 74 6f 20 74  |t of colour to t|
000049c0  68 65 20 72 65 64 2c 20  67 72 65 65 6e 20 61 6e  |he red, green an|
000049d0  64 20 62 6c 75 65 20 63  6f 6c 6f 75 72 0a 20 20  |d blue colour.  |
000049e0  20 20 20 20 63 6f 6d 70  6f 6e 65 6e 74 73 2e 0a  |    components..|
000049f0  0a 20 20 20 20 20 20 50  72 6f 63 65 73 73 2e 53  |.      Process.S|
00004a00  75 62 20 63 6f 6c 6f 75  72 0a 20 20 20 20 20 20  |ub colour.      |
00004a10  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004a20  2d 2d 0a 20 20 20 20 20  20 54 68 65 20 72 65 76  |--.      The rev|
00004a30  65 72 73 65 20 6f 66 20  41 64 64 20 63 6f 6c 6f  |erse of Add colo|
00004a40  75 72 2e 0a 0a 20 20 20  20 20 20 50 72 6f 63 65  |ur...      Proce|
00004a50  73 73 2e 52 47 42 20 66  69 6c 74 65 72 0a 20 20  |ss.RGB filter.  |
00004a60  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00004a70  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 54 68 69  |------.      Thi|
00004a80  73 20 61 63 74 73 20 6c  69 6b 65 20 61 20 73 6f  |s acts like a so|
00004a90  72 74 20 6f 66 20 63 6f  6c 6f 75 72 65 64 20 67  |rt of coloured g|
00004aa0  6c 61 73 73 20 79 6f 75  20 70 75 74 20 69 6e 20  |lass you put in |
00004ab0  66 72 6f 6e 74 20 6f 66  20 74 68 65 20 69 6d 61  |front of the ima|
00004ac0  67 65 2e 0a 20 20 20 20  20 20 49 66 20 74 68 65  |ge..      If the|
00004ad0  20 67 6c 61 73 73 20 69  73 20 62 6c 75 65 2c 20  | glass is blue, |
00004ae0  6f 6e 6c 79 20 74 68 65  20 62 6c 75 65 20 70 61  |only the blue pa|
00004af0  72 74 73 20 6f 66 20 74  68 65 20 69 6d 61 67 65  |rts of the image|
00004b00  20 77 69 6c 6c 20 70 61  73 73 20 74 68 72 75 0a  | will pass thru.|
00004b10  20 20 20 20 20 20 74 68  65 20 67 6c 61 73 73 2e  |      the glass.|
00004b20  0a 0a 20 20 20 20 20 20  50 72 6f 63 65 73 73 2e  |..      Process.|
00004b30  54 72 61 6e 73 6c 61 74  65 0a 20 20 20 20 20 20  |Translate.      |
00004b40  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004b50  2d 0a 20 20 20 20 20 20  54 68 65 20 63 6f 6c 6f  |-.      The colo|
00004b60  75 72 73 20 69 6e 20 74  68 65 20 64 65 73 74 69  |urs in the desti|
00004b70  6e 61 74 69 6f 6e 20 69  6d 61 67 65 20 62 65 63  |nation image bec|
00004b80  6f 6d 65 73 20 61 20 77  65 69 67 68 74 65 64 20  |omes a weighted |
00004b90  73 75 6d 20 6f 66 20 74  68 65 0a 20 20 20 20 20  |sum of the.     |
00004ba0  20 63 6f 6c 6f 75 72 20  63 6f 6d 70 6f 6e 65 6e  | colour componen|
00004bb0  74 73 20 66 72 6f 6d 20  74 68 65 20 73 6f 75 72  |ts from the sour|
00004bc0  63 65 20 69 6d 61 67 65  2c 20 65 67 3a 0a 20 20  |ce image, eg:.  |
00004bd0  20 20 20 20 20 20 20 4e  65 77 20 52 45 44 20 3d  |       New RED =|
00004be0  20 33 30 25 20 4f 6c 64  20 52 45 44 20 2b 20 36  | 30% Old RED + 6|
00004bf0  30 20 25 20 4f 6c 64 20  47 52 45 45 4e 20 2b 20  |0 % Old GREEN + |
00004c00  34 30 25 20 4f 6c 64 20  42 4c 55 45 20 20 28 65  |40% Old BLUE  (e|
00004c10  74 63 2e 29 0a 20 20 20  20 20 20 41 6e 79 74 68  |tc.).      Anyth|
00004c20  69 6e 67 20 61 62 6f 76  65 20 31 30 30 25 20 69  |ing above 100% i|
00004c30  73 20 63 75 74 20 6f 66  66 2e 0a 0a 20 20 20 20  |s cut off...    |
00004c40  20 20 50 72 6f 63 65 73  73 2e 53 68 61 64 65 0a  |  Process.Shade.|
00004c50  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00004c60  2d 2d 2d 0a 20 20 20 20  20 20 41 6c 6c 20 63 6f  |---.      All co|
00004c70  6c 6f 75 72 73 20 61 72  65 20 6d 6f 76 65 20 74  |lours are move t|
00004c80  6f 77 61 72 64 73 20 74  68 65 20 73 65 6c 65 63  |owards the selec|
00004c90  74 65 64 20 63 6f 6c 6f  75 72 2e 20 48 6f 77 20  |ted colour. How |
00004ca0  6d 75 63 68 20 74 68 65  79 20 61 72 65 0a 20 20  |much they are.  |
00004cb0  20 20 20 20 6d 6f 76 65  64 20 69 73 20 73 65 74  |    moved is set|
00004cc0  20 75 73 69 6e 67 20 74  68 65 20 45 66 66 65 63  | using the Effec|
00004cd0  74 20 73 6c 69 64 65 62  61 72 20 69 6e 20 74 68  |t slidebar in th|
00004ce0  65 20 63 6f 6c 6f 75 72  20 73 65 6c 65 63 74 6f  |e colour selecto|
00004cf0  72 2e 0a 0a 20 20 20 20  20 20 50 72 6f 63 65 73  |r...      Proces|
00004d00  73 2e 49 73 6f 6c 61 74  65 0a 20 20 20 20 20 20  |s.Isolate.      |
00004d10  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00004d20  20 20 20 20 20 20 54 68  69 73 20 77 69 6c 6c 20  |      This will |
00004d30  74 75 72 6e 20 61 6c 6c  20 70 69 78 65 6c 20 62  |turn all pixel b|
00004d40  6c 61 63 6b 2c 20 65 78  63 65 70 74 20 66 6f 72  |lack, except for|
00004d50  20 74 68 6f 73 65 20 74  68 61 74 20 61 72 65 20  | those that are |
00004d60  69 6e 20 74 68 65 20 73  61 6d 65 0a 20 20 20 20  |in the same.    |
00004d70  20 20 63 6f 6c 6f 75 72  20 61 73 20 74 68 65 20  |  colour as the |
00004d80  73 65 6c 65 63 74 65 64  20 63 6f 6c 6f 75 72 20  |selected colour |
00004d90  28 74 68 65 73 65 20 61  72 65 20 74 75 72 6e 65  |(these are turne|
00004da0  64 20 77 68 69 74 65 29  2e 0a 0a 20 20 20 20 20  |d white)...     |
00004db0  20 50 72 6f 63 65 73 73  2e 52 47 42 20 73 65 70  | Process.RGB sep|
00004dc0  61 72 61 74 69 6f 6e 2e  54 72 75 65 20 63 6f 6c  |aration.True col|
00004dd0  6f 75 72 0a 20 20 20 20  20 20 2d 2d 2d 2d 2d 2d  |our.      ------|
00004de0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004df0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00004e00  20 20 20 50 72 6f 63 65  73 73 2e 52 47 42 20 73  |   Process.RGB s|
00004e10  65 70 61 72 61 74 69 6f  6e 2e 38 20 62 69 74 20  |eparation.8 bit |
00004e20  70 65 72 20 70 69 78 65  6c 0a 20 20 20 20 20 20  |per pixel.      |
00004e30  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00004e50  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 57 6f 72  |------.      Wor|
00004e60  6b 73 20 6f 6e 6c 79 20  69 66 20 79 6f 75 27 76  |ks only if you'v|
00004e70  65 20 67 6f 74 20 34 20  28 6f 72 20 6d 6f 72 65  |e got 4 (or more|
00004e80  29 20 63 6f 70 69 65 73  20 6f 66 20 74 68 65 20  |) copies of the |
00004e90  69 6d 61 67 65 2e 0a 20  20 20 20 20 20 43 72 65  |image..      Cre|
00004ea0  61 74 65 73 20 74 68 72  65 65 20 63 6f 70 69 65  |ates three copie|
00004eb0  73 20 6f 66 20 74 68 65  20 73 6f 75 72 63 65 20  |s of the source |
00004ec0  69 6d 61 67 65 2c 20 6f  6e 65 20 77 69 74 68 20  |image, one with |
00004ed0  74 68 65 20 72 65 64 20  70 61 72 74 20 6f 66 20  |the red part of |
00004ee0  74 68 65 0a 20 20 20 20  20 20 69 6d 61 67 65 2c  |the.      image,|
00004ef0  20 6f 6e 65 20 77 69 74  68 20 74 68 65 20 67 72  | one with the gr|
00004f00  65 65 6e 20 70 61 72 74  20 61 6e 64 20 6f 6e 65  |een part and one|
00004f10  20 77 69 74 68 20 74 68  65 20 62 6c 75 65 20 70  | with the blue p|
00004f20  61 72 74 2e 0a 20 20 20  20 20 20 41 63 74 75 61  |art..      Actua|
00004f30  6c 6c 79 2c 20 74 77 6f  20 76 65 72 73 69 6f 6e  |lly, two version|
00004f40  20 6f 66 20 74 68 69 73  20 72 6f 75 74 69 6e 65  | of this routine|
00004f50  20 69 73 20 61 76 61 69  6c 61 62 6c 65 2e 0a 20  | is available.. |
00004f60  20 20 20 20 20 27 54 72  75 65 20 63 6f 6c 6f 75  |     'True colou|
00004f70  72 27 20 77 69 6c 6c 20  67 69 76 65 20 79 6f 75  |r' will give you|
00004f80  20 61 20 72 65 64 2c 20  61 20 67 72 65 65 6e 20  | a red, a green |
00004f90  61 6e 64 20 61 20 62 6c  75 65 20 69 6d 61 67 65  |and a blue image|
00004fa0  2e 0a 20 20 20 20 20 20  27 38 20 62 69 74 20 70  |..      '8 bit p|
00004fb0  65 72 20 70 69 78 65 6c  27 20 77 69 6c 6c 20 67  |er pixel' will g|
00004fc0  69 76 65 20 79 6f 75 20  74 68 72 65 65 20 76 65  |ive you three ve|
00004fd0  72 79 20 75 67 6c 79 20  69 6c 6c 2d 6c 6f 6f 6b  |ry ugly ill-look|
00004fe0  69 6e 67 20 69 6d 61 67  65 73 2e 20 54 68 65 73  |ing images. Thes|
00004ff0  65 0a 20 20 20 20 20 20  69 6d 61 67 65 73 20 68  |e.      images h|
00005000  61 76 65 20 32 35 36 20  6c 65 76 65 6c 73 20 6f  |ave 256 levels o|
00005010  66 20 72 65 64 2f 67 72  65 65 6e 20 6f 72 20 62  |f red/green or b|
00005020  6c 75 65 2c 20 62 75 74  20 74 68 65 73 65 20 6c  |lue, but these l|
00005030  65 76 65 6c 73 20 61 72  65 20 6d 61 70 70 65 64  |evels are mapped|
00005040  0a 20 20 20 20 20 20 64  69 72 65 63 74 6c 79 20  |.      directly |
00005050  74 6f 20 74 68 65 20 62  79 74 65 73 20 77 72 69  |to the bytes wri|
00005060  74 74 65 6e 20 74 6f 20  74 68 65 20 73 63 72 65  |tten to the scre|
00005070  65 6e 2e 20 54 68 65 20  65 66 66 65 63 74 20 6f  |en. The effect o|
00005080  66 20 74 68 69 73 20 63  61 6e 20 62 65 0a 20 20  |f this can be.  |
00005090  20 20 20 20 73 65 65 6e  20 62 79 20 64 69 73 70  |    seen by disp|
000050a0  6c 61 79 69 6e 67 20 74  68 65 20 69 6d 61 67 65  |laying the image|
000050b0  20 69 6e 20 67 72 65 79  74 6f 6e 65 73 20 28 73  | in greytones (s|
000050c0  65 65 20 4d 69 73 63 65  6c 6c 61 6e 65 6f 75 73  |ee Miscellaneous|
000050d0  2e 4f 70 74 69 6f 6e 73  29 2e 0a 20 20 20 20 20  |.Options)..     |
000050e0  20 54 68 65 20 27 74 72  75 65 20 63 6f 6c 6f 75  | The 'true colou|
000050f0  72 27 20 76 65 72 73 69  6f 6e 20 63 61 6e 20 61  |r' version can a|
00005100  6c 73 6f 20 62 65 20 61  70 70 6c 69 65 64 20 62  |lso be applied b|
00005110  79 20 75 73 69 6e 67 0a  20 20 20 20 20 20 20 50  |y using.       P|
00005120  72 6f 63 65 73 73 2e 52  47 42 20 66 69 6c 74 65  |rocess.RGB filte|
00005130  72 2e 52 65 64 2f 47 72  65 65 6e 2f 42 6c 75 65  |r.Red/Green/Blue|
00005140  2e 0a 0a 20 20 20 20 20  20 50 72 6f 63 65 73 73  |...      Process|
00005150  2e 43 4d 59 4b 20 73 65  70 61 72 61 74 69 6f 6e  |.CMYK separation|
00005160  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00005170  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |--------------. |
00005180  20 20 20 20 20 57 6f 72  6b 73 20 6f 6e 6c 79 20  |     Works only |
00005190  69 66 20 79 6f 75 27 76  65 20 67 6f 74 20 35 20  |if you've got 5 |
000051a0  28 6f 72 20 6d 6f 72 65  29 20 63 6f 70 69 65 73  |(or more) copies|
000051b0  20 6f 66 20 74 68 65 20  69 6d 61 67 65 20 28 73  | of the image (s|
000051c0  65 65 20 4f 70 74 69 6f  6e 73 29 2e 0a 20 20 20  |ee Options)..   |
000051d0  20 20 20 53 65 65 20 27  52 47 42 20 73 65 70 65  |   See 'RGB sepe|
000051e0  72 61 74 69 6f 6e 27 2e  0a 0a 20 20 20 20 20 20  |ration'...      |
000051f0  50 72 6f 63 65 73 73 2e  48 53 56 20 73 65 70 61  |Process.HSV sepa|
00005200  72 61 74 69 6f 6e 0a 20  20 20 20 20 20 2d 2d 2d  |ration.      ---|
00005210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00005220  2d 2d 2d 0a 20 20 20 20  20 20 57 6f 72 6b 73 20  |---.      Works |
00005230  6f 6e 6c 79 20 69 66 20  79 6f 75 27 76 65 20 67  |only if you've g|
00005240  6f 74 20 34 20 28 6f 72  20 6d 6f 72 65 29 20 63  |ot 4 (or more) c|
00005250  6f 70 69 65 73 20 6f 66  20 74 68 65 20 69 6d 61  |opies of the ima|
00005260  67 65 2e 0a 20 20 20 20  20 20 43 72 65 61 74 65  |ge..      Create|
00005270  73 20 74 68 72 65 65 20  69 6d 61 67 65 73 20 73  |s three images s|
00005280  68 6f 77 69 6e 67 20 74  68 65 20 76 61 6c 75 65  |howing the value|
00005290  73 20 6f 66 20 48 75 65  2c 20 53 61 74 75 72 61  |s of Hue, Satura|
000052a0  74 69 6f 6e 20 61 6e 64  20 56 61 6c 75 65 2e 0a  |tion and Value..|
000052b0  20 20 20 20 20 20 4e 6f  74 20 72 65 61 6c 6c 79  |      Not really|
000052c0  20 76 65 72 79 20 75 73  65 66 75 6c 2c 20 62 75  | very useful, bu|
000052d0  74 20 73 6f 6d 65 6f 6e  65 20 6d 69 67 68 74 20  |t someone might |
000052e0  66 69 6e 64 20 69 74 20  69 6e 74 65 72 65 73 74  |find it interest|
000052f0  69 6e 67 2e 0a 0a 20 20  20 20 20 20 46 69 6c 74  |ing...      Filt|
00005300  65 72 73 2e 4e 6f 69 73  65 20 28 77 65 61 6b 29  |ers.Noise (weak)|
00005310  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00005320  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00005330  20 20 4e 6f 69 73 65 20  72 65 6d 6f 76 69 6e 67  |  Noise removing|
00005340  20 66 69 6c 74 65 72 2e  20 49 66 20 74 68 65 20  | filter. If the |
00005350  74 77 6f 20 6e 65 69 67  68 62 6f 75 72 73 20 6f  |two neighbours o|
00005360  66 20 61 20 70 69 78 65  6c 20 69 73 20 69 6e 20  |f a pixel is in |
00005370  74 68 65 20 73 61 6d 65  0a 20 20 20 20 20 20 63  |the same.      c|
00005380  6f 6c 6f 75 72 2c 20 74  68 65 20 63 65 6e 74 65  |olour, the cente|
00005390  72 20 70 69 78 65 6c 20  62 65 63 6f 6d 65 73 20  |r pixel becomes |
000053a0  74 68 61 74 20 63 6f 6c  6f 75 72 20 74 6f 6f 2e  |that colour too.|
000053b0  0a 0a 20 20 20 20 20 20  46 69 6c 74 65 72 73 2e  |..      Filters.|
000053c0  4e 6f 69 73 65 20 28 73  74 72 6f 6e 67 29 0a 20  |Noise (strong). |
000053d0  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
000053e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
000053f0  20 20 54 68 65 20 63 65  6e 74 65 72 20 70 69 78  |  The center pix|
00005400  65 6c 20 69 73 20 63 6f  6d 70 61 72 65 64 20 77  |el is compared w|
00005410  69 74 68 20 69 74 73 20  6e 65 69 67 68 62 6f 75  |ith its neighbou|
00005420  72 73 20 74 6f 20 74 68  65 20 6c 65 66 74 2c 20  |rs to the left, |
00005430  72 69 67 68 74 2c 20 74  6f 70 0a 20 20 20 20 20  |right, top.     |
00005440  20 61 6e 64 20 62 6f 74  74 6f 6d 2e 20 49 66 20  | and bottom. If |
00005450  74 68 65 20 63 65 6e 74  65 72 20 70 69 78 65 6c  |the center pixel|
00005460  20 69 73 20 74 68 65 20  62 72 69 67 68 74 65 73  | is the brightes|
00005470  74 20 6f 66 20 74 68 65  73 65 2c 20 69 74 20 62  |t of these, it b|
00005480  65 63 6f 6d 65 73 20 74  68 65 0a 20 20 20 20 20  |ecomes the.     |
00005490  20 61 76 65 72 61 67 65  20 6f 66 20 74 68 65 20  | average of the |
000054a0  66 6f 75 72 20 6f 74 68  65 72 20 70 69 78 65 6c  |four other pixel|
000054b0  73 2e 0a 0a 20 20 20 20  20 20 46 69 6c 74 65 72  |s...      Filter|
000054c0  73 2e 41 76 65 72 61 67  65 0a 20 20 20 20 20 20  |s.Average.      |
000054d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
000054e0  20 20 20 20 20 20 53 6d  6f 6f 74 68 65 6e 20 74  |      Smoothen t|
000054f0  68 65 20 69 6d 61 67 65  20 61 20 6c 6f 74 2e 2e  |he image a lot..|
00005500  2e 2e 2e 0a 20 20 20 20  20 20 54 68 65 20 63 65  |....      The ce|
00005510  6e 74 65 72 20 70 69 78  65 6c 73 20 62 65 63 6f  |nter pixels beco|
00005520  6d 65 73 20 74 68 65 20  61 76 65 72 61 67 65 20  |mes the average |
00005530  6f 66 20 63 6f 6c 6f 75  72 20 6f 66 20 69 74 73  |of colour of its|
00005540  65 6c 66 20 61 6e 64 20  69 74 73 20 38 0a 20 20  |elf and its 8.  |
00005550  20 20 20 20 6e 65 69 67  68 62 6f 75 72 73 2e 20  |    neighbours. |
00005560  54 68 65 20 6b 65 72 6e  65 6c 20 6c 6f 6f 6b 73  |The kernel looks|
00005570  20 6c 69 6b 65 20 74 68  69 73 3a 0a 20 20 20 20  | like this:.    |
00005580  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000055a0  20 20 20 20 20 20 20 20  20 20 20 20 31 20 20 20  |            1   |
000055b0  31 20 20 20 31 0a 20 20  20 20 20 20 20 20 20 20  |1   1.          |
000055c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000055e0  20 20 20 20 20 20 31 20  20 20 31 20 20 20 31 0a  |      1   1   1.|
000055f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005620  31 20 20 20 31 20 20 20  31 0a 0a 20 20 20 20 20  |1   1   1..     |
00005630  20 46 69 6c 74 65 72 73  2e 53 68 61 72 70 65 6e  | Filters.Sharpen|
00005640  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00005650  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 53 68 61 72  |-----.      Shar|
00005660  70 65 6e 73 20 74 68 65  20 65 64 67 65 73 20 69  |pens the edges i|
00005670  6e 20 61 6e 20 69 6d 61  67 65 2e 0a 20 20 20 20  |n an image..    |
00005680  20 20 55 73 65 73 20 74  68 65 20 66 6f 6c 6c 6f  |  Uses the follo|
00005690  77 69 6e 67 20 6b 65 72  6e 65 6c 3a 0a 20 20 20  |wing kernel:.   |
000056a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000056c0  20 20 20 20 20 20 20 20  20 20 20 20 20 30 20 20  |             0  |
000056d0  2d 31 20 20 20 31 0a 20  20 20 20 20 20 20 20 20  |-1   1.         |
000056e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005700  20 20 20 20 20 2d 20 31  20 20 20 35 20 20 20 31  |     - 1   5   1|
00005710  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00005720  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005740  20 30 20 20 2d 31 20 20  20 30 0a 0a 20 20 20 20  | 0  -1   0..    |
00005750  20 20 46 69 6c 74 65 72  73 2e 53 6d 6f 6f 74 68  |  Filters.Smooth|
00005760  65 6e 20 28 73 74 72 6f  6e 67 29 0a 20 20 20 20  |en (strong).    |
00005770  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00005780  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00005790  20 20 44 6f 65 73 6e 27  74 20 73 6d 6f 6f 74 68  |  Doesn't smooth|
000057a0  65 6e 20 74 68 65 20 69  6d 61 67 65 20 71 75 69  |en the image qui|
000057b0  74 65 20 61 73 20 6d 75  63 68 20 61 20 27 41 76  |te as much a 'Av|
000057c0  65 72 61 67 65 27 2e 0a  20 20 20 20 20 20 55 73  |erage'..      Us|
000057d0  65 73 20 74 68 65 20 66  6f 6c 6c 6f 77 69 6e 67  |es the following|
000057e0  20 6b 65 72 6e 65 6c 3a  0a 20 20 20 20 20 20 20  | kernel:.       |
000057f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005810  20 20 20 20 20 20 20 20  20 31 20 20 20 32 20 20  |         1   2  |
00005820  20 31 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  | 1.             |
00005830  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005850  20 20 20 32 20 20 20 34  20 20 20 32 0a 20 20 20  |   2   4   2.   |
00005860  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005880  20 20 20 20 20 20 20 20  20 20 20 20 20 31 20 20  |             1  |
00005890  20 32 20 20 20 31 0a 0a  20 20 20 20 20 20 46 69  | 2   1..      Fi|
000058a0  6c 74 65 72 73 2e 53 6d  6f 6f 74 68 65 6e 20 28  |lters.Smoothen (|
000058b0  77 65 61 6b 29 0a 20 20  20 20 20 20 2d 2d 2d 2d  |weak).      ----|
000058c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000058d0  2d 2d 2d 0a 20 20 20 20  20 20 48 61 72 64 6c 79  |---.      Hardly|
000058e0  20 64 6f 65 73 6e 27 74  20 73 6d 6f 6f 74 68 65  | doesn't smoothe|
000058f0  6e 20 74 68 65 20 69 6d  61 67 65 20 61 74 20 61  |n the image at a|
00005900  6c 6c 2e 0a 20 20 20 20  20 20 55 73 65 73 20 74  |ll..      Uses t|
00005910  68 65 20 66 6f 6c 6c 6f  77 69 6e 67 20 6b 65 72  |he following ker|
00005920  6e 65 6c 3a 0a 20 20 20  20 20 20 20 20 20 20 20  |nel:.           |
00005930  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005950  20 20 20 20 20 31 20 20  20 31 20 20 20 31 0a 20  |     1   1   1. |
00005960  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005980  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 31  |               1|
00005990  20 20 20 32 34 20 20 31  0a 20 20 20 20 20 20 20  |   24  1.       |
000059a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000059c0  20 20 20 20 20 20 20 20  20 31 20 20 20 31 20 20  |         1   1  |
000059d0  20 31 0a 0a 20 20 20 20  20 20 46 69 6c 74 65 72  | 1..      Filter|
000059e0  73 2e 4d 65 64 69 61 6e  0a 20 20 20 20 20 20 2d  |s.Median.      -|
000059f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00005a00  20 20 20 20 54 68 65 20  63 65 6e 74 65 72 20 70  |    The center p|
00005a10  69 78 65 6c 20 62 65 63  6f 6d 65 73 20 74 68 65  |ixel becomes the|
00005a20  20 6d 65 64 69 61 6e 20  6f 66 20 74 68 65 20 38  | median of the 8|
00005a30  20 73 75 72 72 6f 75 6e  64 69 6e 67 20 70 69 78  | surrounding pix|
00005a40  65 6c 73 2e 0a 0a 20 20  20 20 20 20 46 69 6c 74  |els...      Filt|
00005a50  65 72 73 2e 56 65 72 74  69 63 61 6c 20 65 64 67  |ers.Vertical edg|
00005a60  65 73 0a 20 20 20 20 20  20 2d 2d 2d 2d 2d 2d 2d  |es.      -------|
00005a70  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00005a80  20 20 20 20 20 20 44 65  74 65 63 74 73 20 76 65  |      Detects ve|
00005a90  72 74 69 63 61 6c 20 65  64 67 65 73 2e 0a 20 20  |rtical edges..  |
00005aa0  20 20 20 20 55 73 65 73  20 74 68 65 20 66 6f 6c  |    Uses the fol|
00005ab0  6c 6f 77 69 6e 67 20 6b  65 72 6e 65 6c 3a 0a 20  |lowing kernel:. |
00005ac0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005ae0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 31  |               1|
00005af0  20 20 20 30 20 20 2d 31  0a 20 20 20 20 20 20 20  |   0  -1.       |
00005b00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005b20  20 20 20 20 20 20 20 20  20 32 20 20 20 30 20 20  |         2   0  |
00005b30  2d 32 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |-2.             |
00005b40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005b60  20 20 20 31 20 20 20 30  20 20 2d 31 0a 0a 20 20  |   1   0  -1..  |
00005b70  20 20 20 20 46 69 6c 74  65 72 73 2e 48 6f 72 69  |    Filters.Hori|
00005b80  7a 6f 6e 74 61 6c 20 65  64 67 65 73 0a 20 20 20  |zontal edges.   |
00005b90  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
00005ba0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00005bb0  20 20 44 65 74 65 63 74  73 20 68 6f 72 69 7a 6f  |  Detects horizo|
00005bc0  6e 74 61 6c 20 65 64 67  65 73 2e 0a 20 20 20 20  |ntal edges..    |
00005bd0  20 20 54 68 65 20 6b 65  72 6e 65 6c 20 69 73 20  |  The kernel is |
00005be0  73 69 6d 70 6c 79 20 74  68 65 20 74 72 61 6e 73  |simply the trans|
00005bf0  70 6f 73 65 64 20 6f 66  20 74 68 65 20 6f 6e 65  |posed of the one|
00005c00  20 75 73 65 64 20 66 6f  72 20 76 65 72 74 69 63  | used for vertic|
00005c10  61 6c 20 65 64 67 65 73  2e 0a 0a 20 20 20 20 20  |al edges...     |
00005c20  20 46 69 6c 74 65 72 73  2e 45 64 67 65 73 0a 20  | Filters.Edges. |
00005c30  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
00005c40  2d 2d 0a 20 20 20 20 20  20 44 65 74 65 63 74 73  |--.      Detects|
00005c50  20 65 64 67 65 73 20 6f  66 20 61 6e 79 20 6f 72  | edges of any or|
00005c60  69 65 6e 74 61 74 69 6f  6e 2e 0a 20 20 20 20 20  |ientation..     |
00005c70  20 4b 65 72 6e 65 6c 3a  20 20 20 20 20 20 20 20  | Kernel:        |
00005c80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00005c90  20 20 20 20 20 20 20 20  20 20 20 32 20 20 20 31  |           2   1|
00005ca0  20 20 20 30 0a 20 20 20  20 20 20 20 20 20 20 20  |   0.           |
00005cb0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005cd0  20 20 20 20 20 31 20 20  20 30 20 20 2d 31 0a 20  |     1   0  -1. |
00005ce0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005d00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 30  |               0|
00005d10  20 20 2d 31 20 20 2d 32  0a 0a 20 20 20 20 20 20  |  -1  -2..      |
00005d20  46 69 6c 74 65 72 73 2e  4d 69 6e 69 6d 75 6d 0a  |Filters.Minimum.|
00005d30  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00005d40  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 54 68 65 20  |-----.      The |
00005d50  6d 69 6e 69 6d 75 6d 20  6f 66 20 74 68 65 20 39  |minimum of the 9|
00005d60  20 70 69 78 65 6c 73 20  28 74 68 65 20 63 65 6e  | pixels (the cen|
00005d70  74 65 72 20 70 69 78 65  6c 20 61 6e 64 20 69 74  |ter pixel and it|
00005d80  73 20 38 20 6e 65 69 67  68 62 6f 75 72 29 20 69  |s 8 neighbour) i|
00005d90  73 0a 20 20 20 20 20 20  66 6f 75 6e 64 2c 20 61  |s.      found, a|
00005da0  6e 64 20 74 68 69 73 20  69 73 20 74 68 65 20 6e  |nd this is the n|
00005db0  65 77 20 63 6f 6c 6f 75  72 20 6f 66 20 74 68 65  |ew colour of the|
00005dc0  20 63 65 6e 74 65 72 20  70 69 78 65 6c 2e 0a 0a  | center pixel...|
00005dd0  20 20 20 20 20 20 46 69  6c 74 65 72 73 2e 4d 61  |      Filters.Ma|
00005de0  78 69 6d 75 6d 0a 20 20  20 20 20 20 2d 2d 2d 2d  |ximum.      ----|
00005df0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00005e00  20 20 41 73 20 27 4d 69  6e 69 6d 75 6d 27 2c 20  |  As 'Minimum', |
00005e10  65 78 63 65 70 74 20 69  74 20 66 69 6e 64 73 20  |except it finds |
00005e20  74 68 65 20 6d 61 78 69  6d 75 6d 2e 0a 0a 20 20  |the maximum...  |
00005e30  20 20 20 20 46 69 6c 74  65 72 73 2e 44 69 66 66  |    Filters.Diff|
00005e40  65 72 65 6e 63 65 0a 20  20 20 20 20 20 2d 2d 2d  |erence.      ---|
00005e50  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00005e60  20 20 20 20 20 20 4d 79  20 6f 77 6e 20 69 6e 76  |      My own inv|
00005e70  65 6e 74 69 6f 6e 21 20  49 66 20 74 68 65 20 64  |ention! If the d|
00005e80  69 66 66 65 72 65 6e 63  65 20 62 65 74 77 65 65  |ifference betwee|
00005e90  6e 20 74 68 65 20 63 65  6e 74 65 72 20 70 69 78  |n the center pix|
00005ea0  65 6c 20 61 6e 64 20 74  68 65 0a 20 20 20 20 20  |el and the.     |
00005eb0  20 61 76 65 72 61 67 65  20 6f 66 20 74 68 65 20  | average of the |
00005ec0  38 20 6f 74 68 65 72 73  20 69 73 20 6c 61 72 67  |8 others is larg|
00005ed0  65 72 20 74 68 61 6e 20  74 68 65 20 73 65 6c 65  |er than the sele|
00005ee0  63 74 65 64 20 63 6f 6c  6f 75 72 2c 20 74 68 65  |cted colour, the|
00005ef0  20 61 76 65 72 61 67 65  0a 20 20 20 20 20 20 69  | average.      i|
00005f00  73 20 75 73 65 64 2c 20  6f 74 68 65 72 77 69 73  |s used, otherwis|
00005f10  65 20 74 68 65 20 70 69  78 65 6c 20 69 73 20 6c  |e the pixel is l|
00005f20  65 66 74 20 75 6e 63 68  61 6e 67 65 64 2e 0a 0a  |eft unchanged...|
00005f30  0a 20 20 20 20 20 20 45  66 66 65 63 74 73 2e 53  |.      Effects.S|
00005f40  63 72 61 74 63 68 0a 20  20 20 20 20 20 2d 2d 2d  |cratch.      ---|
00005f50  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00005f60  20 20 20 47 69 76 65 73  20 74 68 65 20 69 6d 70  |   Gives the imp|
00005f70  72 65 73 73 69 6f 6e 20  74 68 61 74 20 74 68 65  |ression that the|
00005f80  20 73 75 72 66 61 63 65  20 6f 66 20 74 68 65 20  | surface of the |
00005f90  69 6d 61 67 65 20 77 61  73 20 73 63 72 61 74 63  |image was scratc|
00005fa0  68 65 64 20 77 69 74 68  20 61 0a 20 20 20 20 20  |hed with a.     |
00005fb0  20 6e 61 69 6c 20 77 68  69 6c 65 20 74 68 65 20  | nail while the |
00005fc0  70 61 69 6e 74 20 77 61  73 20 73 74 69 6c 6c 20  |paint was still |
00005fd0  77 65 74 2e 0a 0a 20 20  20 20 20 20 45 66 66 65  |wet...      Effe|
00005fe0  63 74 73 2e 52 69 70 70  6c 65 0a 20 20 20 20 20  |cts.Ripple.     |
00005ff0  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  | --------------.|
00006000  20 20 20 20 20 20 41 6e  20 6f 6c 64 2d 74 69 6d  |      An old-tim|
00006010  65 20 66 61 76 6f 75 72  69 74 65 20 6f 66 20 61  |e favourite of a|
00006020  6c 6c 20 64 65 6d 6f 2d  6d 61 6b 65 72 73 2e 0a  |ll demo-makers..|
00006030  20 20 20 20 20 20 49 66  20 74 68 65 20 27 44 6f  |      If the 'Do|
00006040  75 62 6c 65 27 20 6f 70  74 69 6f 6e 20 69 73 20  |uble' option is |
00006050  6f 6e 2c 20 61 20 73 70  65 63 69 61 6c 20 72 69  |on, a special ri|
00006060  70 70 6c 65 20 77 69 6c  6c 20 62 65 20 75 73 65  |pple will be use|
00006070  64 2e 2e 2e 20 0a 0a 20  20 20 20 20 20 45 66 66  |d... ..      Eff|
00006080  65 63 74 73 2e 54 72 61  63 65 20 65 64 67 65 73  |ects.Trace edges|
00006090  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
000060a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
000060b0  20 49 66 20 74 68 65 20  64 69 73 74 61 6e 63 65  | If the distance|
000060c0  20 62 65 74 77 65 65 6e  20 61 6e 79 20 6f 66 20  | between any of |
000060d0  74 68 65 20 74 68 72 65  65 20 63 6f 6c 6f 75 72  |the three colour|
000060e0  20 63 6f 6d 70 6f 6e 65  6e 74 20 28 66 6f 72 20  | component (for |
000060f0  61 6e 79 20 74 77 6f 0a  20 20 20 20 20 20 61 64  |any two.      ad|
00006100  6a 65 63 74 61 6e 74 20  70 69 78 65 6c 73 29 20  |jectant pixels) |
00006110  61 72 65 20 67 72 65 61  74 65 72 20 74 68 61 6e  |are greater than|
00006120  20 74 68 65 20 73 65 6c  65 63 74 65 64 20 6d 69  | the selected mi|
00006130  6e 69 6d 75 6d 20 64 69  73 74 61 6e 63 65 2c 20  |nimum distance, |
00006140  74 68 65 0a 20 20 20 20  20 20 70 69 78 65 6c 73  |the.      pixels|
00006150  20 61 72 65 20 73 61 69  64 20 74 6f 20 6c 69 65  | are said to lie|
00006160  20 6f 6e 20 61 6e 20 65  64 67 65 20 61 6e 64 20  | on an edge and |
00006170  61 72 65 20 63 6f 6c 6f  75 72 65 64 20 62 6c 61  |are coloured bla|
00006180  63 6b 20 28 74 68 65 20  72 65 73 74 20 69 73 0a  |ck (the rest is.|
00006190  20 20 20 20 20 20 63 6f  6c 6f 75 72 65 64 20 77  |      coloured w|
000061a0  68 69 74 65 29 2e 0a 0a  20 20 20 20 20 20 45 66  |hite)...      Ef|
000061b0  66 65 63 74 73 2e 4d 6f  73 61 69 63 0a 20 20 20  |fects.Mosaic.   |
000061c0  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
000061d0  2d 0a 20 20 20 20 20 20  53 65 6c 65 63 74 20 74  |-.      Select t|
000061e0  68 69 73 2c 20 74 68 65  6e 20 63 6c 69 63 6b 20  |his, then click |
000061f0  73 6f 6d 65 77 68 65 72  65 20 69 6e 20 74 68 65  |somewhere in the|
00006200  20 62 6f 74 74 6f 6d 20  6c 65 66 74 20 63 6f 72  | bottom left cor|
00006210  6e 65 72 20 6f 66 20 74  68 65 20 73 6f 75 72 63  |ner of the sourc|
00006220  65 0a 20 20 20 20 20 20  69 6d 61 67 65 20 77 69  |e.      image wi|
00006230  6e 64 6f 77 2c 20 61 6e  64 20 73 65 65 20 77 68  |ndow, and see wh|
00006240  61 74 20 68 61 70 70 65  6e 73 2e 20 41 62 6f 72  |at happens. Abor|
00006250  74 20 62 79 20 63 6c 69  63 6b 69 6e 67 20 4d 45  |t by clicking ME|
00006260  4e 55 20 6f 72 20 41 44  4a 55 53 54 2e 0a 0a 20  |NU or ADJUST... |
00006270  20 20 20 20 20 45 66 66  65 63 74 73 2e 50 6f 69  |     Effects.Poi|
00006280  6e 74 69 6c 6c 69 73 65  0a 20 20 20 20 20 20 2d  |ntillise.      -|
00006290  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000062a0  2d 2d 0a 20 20 20 20 20  20 44 6f 74 73 2c 20 4f  |--.      Dots, O|
000062b0  76 65 72 6c 61 70 2c 20  57 69 6c 64 20 3a 20 54  |verlap, Wild : T|
000062c0  72 79 20 74 68 65 6d 2c  20 70 65 72 68 61 70 73  |ry them, perhaps|
000062d0  20 79 6f 75 27 6c 6c 20  6c 69 6b 65 20 74 68 65  | you'll like the|
000062e0  6d 2e 0a 0a 20 20 20 20  20 20 45 66 66 65 63 74  |m...      Effect|
000062f0  73 2e 54 77 69 73 74 0a  20 20 20 20 20 20 2d 2d  |s.Twist.      --|
00006300  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
00006310  20 20 45 78 70 65 72 69  6d 65 6e 74 2e 2e 2e 2e  |  Experiment....|
00006320  2e 2e 0a 0a 20 20 20 20  20 20 45 66 66 65 63 74  |....      Effect|
00006330  73 2e 45 78 74 65 6e 64  20 61 72 65 61 0a 20 20  |s.Extend area.  |
00006340  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00006350  2d 2d 2d 2d 2d 2d 2d 0a  20 20 20 20 20 20 41 6e  |-------.      An|
00006360  79 20 77 68 69 74 65 20  6f 72 20 62 6c 61 63 6b  |y white or black|
00006370  20 61 72 65 61 20 28 62  6c 6f 62 29 20 69 6e 20  | area (blob) in |
00006380  74 68 65 20 69 6d 61 67  65 20 77 69 6c 6c 20 62  |the image will b|
00006390  65 20 65 78 74 65 6e 64  65 64 20 62 79 20 61 64  |e extended by ad|
000063a0  64 69 6e 67 20 61 0a 20  20 20 20 20 20 6e 65 77  |ding a.      new|
000063b0  20 73 65 74 20 6f 66 20  77 68 69 74 65 20 6f 72  | set of white or|
000063c0  20 62 6c 61 63 6b 20 70  69 78 65 6c 73 20 61 6c  | black pixels al|
000063d0  6c 20 61 72 6f 75 6e 64  20 69 74 73 20 62 6f 72  |l around its bor|
000063e0  64 65 72 2e 0a 0a 20 20  20 20 20 20 45 66 66 65  |der...      Effe|
000063f0  63 74 73 2e 41 64 64 20  6e 6f 69 73 65 0a 20 20  |cts.Add noise.  |
00006400  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00006410  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 41 20 73 69  |-----.      A si|
00006420  6d 70 6c 65 20 79 65 74  20 65 66 66 65 63 74 69  |mple yet effecti|
00006430  76 65 20 6e 6f 69 73 65  20 67 65 6e 65 72 61 74  |ve noise generat|
00006440  6f 72 2e 20 41 64 64 73  20 6e 6f 69 73 65 20 74  |or. Adds noise t|
00006450  6f 20 65 69 74 68 65 72  20 74 68 65 20 73 6f 75  |o either the sou|
00006460  72 63 65 0a 20 20 20 20  20 20 6f 72 20 74 68 65  |rce.      or the|
00006470  20 64 65 73 74 69 6e 61  74 69 6f 6e 20 69 6d 61  | destination ima|
00006480  67 65 2e 0a 20 20 20 20  20 20 48 69 67 68 65 72  |ge..      Higher|
00006490  20 69 6e 74 65 6e 73 69  74 79 20 6d 65 61 6e 73  | intensity means|
000064a0  20 6d 6f 72 65 20 6e 6f  69 73 65 2c 20 62 75 74  | more noise, but|
000064b0  20 64 75 65 20 74 6f 20  74 68 65 20 70 72 69 6d  | due to the prim|
000064c0  69 74 69 76 65 20 6e 61  74 75 72 65 20 6f 66 20  |itive nature of |
000064d0  74 68 65 0a 20 20 20 20  20 20 6e 6f 69 73 65 2d  |the.      noise-|
000064e0  67 65 6e 65 72 61 74 6f  72 20 74 68 65 20 70 6f  |generator the po|
000064f0  73 69 74 69 6f 6e 20 6f  66 20 74 68 65 20 6e 6f  |sition of the no|
00006500  69 73 79 20 70 69 78 65  6c 73 20 77 69 6c 6c 20  |isy pixels will |
00006510  72 61 70 69 64 6c 79 20  62 65 67 69 6e 20 74 6f  |rapidly begin to|
00006520  0a 20 20 20 20 20 20 72  65 70 65 61 74 20 74 68  |.      repeat th|
00006530  65 6d 73 65 6c 66 2e 0a  0a 20 20 20 20 20 20 45  |emself...      E|
00006540  66 66 65 63 74 73 2e 43  79 63 6c 65 20 62 79 74  |ffects.Cycle byt|
00006550  65 73 0a 20 20 20 20 20  20 2d 2d 2d 2d 2d 2d 2d  |es.      -------|
00006560  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00006570  20 20 20 41 64 64 73 2f  73 75 62 74 72 61 63 74  |   Adds/subtract|
00006580  73 20 31 20 66 72 6f 6d  20 65 61 63 68 20 62 79  |s 1 from each by|
00006590  74 65 20 69 6e 20 73 6f  75 72 63 65 20 69 6d 61  |te in source ima|
000065a0  67 65 2c 20 61 6e 64 20  77 72 69 74 65 73 20 74  |ge, and writes t|
000065b0  68 65 20 62 79 74 65 20  74 6f 0a 20 20 20 20 20  |he byte to.     |
000065c0  20 74 68 65 20 64 65 73  74 69 6e 61 74 69 6f 6e  | the destination|
000065d0  20 69 6d 61 67 65 2e 0a  0a 20 20 20 20 20 20 49  | image...      I|
000065e0  66 20 52 65 70 65 61 74  65 64 6c 79 20 69 73 20  |f Repeatedly is |
000065f0  73 65 6c 65 63 74 65 64  20 28 74 69 63 6b 65 64  |selected (ticked|
00006600  29 20 74 68 65 20 62 79  74 65 73 20 69 6e 20 74  |) the bytes in t|
00006610  68 65 20 64 65 73 74 69  6e 61 74 69 6f 6e 20 69  |he destination i|
00006620  6d 61 67 65 0a 20 20 20  20 20 20 77 69 6c 6c 20  |mage.      will |
00006630  62 65 20 63 79 63 6c 65  64 20 72 65 70 65 61 74  |be cycled repeat|
00006640  65 64 6c 79 20 75 6e 74  69 6c 20 79 6f 75 20 63  |edly until you c|
00006650  6c 69 63 6b 20 4d 45 4e  55 2e 0a 20 20 20 20 20  |lick MENU..     |
00006660  20 57 6f 72 6b 73 20 6f  6e 6c 79 20 69 6e 20 32  | Works only in 2|
00006670  35 36 20 63 6f 6c 6f 75  72 20 6d 6f 64 65 73 20  |56 colour modes |
00006680  28 66 6f 72 20 73 70 65  65 64 20 72 65 61 73 6f  |(for speed reaso|
00006690  6e 73 29 2e 0a 20 20 20  20 20 20 49 66 20 4d 75  |ns)..      If Mu|
000066a0  6c 74 69 2d 74 61 73 6b  69 6e 67 20 69 73 20 73  |lti-tasking is s|
000066b0  65 6c 65 63 74 65 64 2c  20 74 68 65 20 63 6f 6c  |elected, the col|
000066c0  6f 75 72 20 63 79 63 6c  69 6e 67 20 77 69 6c 6c  |our cycling will|
000066d0  20 6d 75 6c 74 69 74 61  73 6b 2c 20 61 6e 64 0a  | multitask, and.|
000066e0  20 20 20 20 20 20 73 74  6f 70 73 20 77 68 65 6e  |      stops when|
000066f0  20 79 6f 75 20 63 6c 69  63 6b 20 61 6e 79 20 6f  | you click any o|
00006700  66 20 74 68 65 20 6d 6f  75 73 65 20 62 75 74 74  |f the mouse butt|
00006710  6f 6e 73 20 6f 76 65 72  20 61 6e 79 20 77 69 6e  |ons over any win|
00006720  64 6f 77 2f 69 63 6f 6e  20 74 68 61 74 0a 20 20  |dow/icon that.  |
00006730  20 20 20 20 62 65 6c 6f  6e 67 73 20 74 6f 20 21  |    belongs to !|
00006740  50 72 6f 63 65 73 73 2e  0a 0a 20 20 20 20 20 20  |Process...      |
00006750  45 66 66 65 63 74 73 2e  4d 61 73 6b 0a 20 20 20  |Effects.Mask.   |
00006760  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |   ------------.|
00006770  20 20 20 20 20 20 4f 6e  6c 79 20 74 68 6f 73 65  |      Only those|
00006780  20 70 69 78 65 6c 73 20  74 68 61 74 20 61 72 65  | pixels that are|
00006790  20 62 6c 61 63 6b 20 6f  6e 20 74 68 65 20 64 65  | black on the de|
000067a0  73 74 69 6e 61 74 69 6f  6e 20 69 6d 61 67 65 20  |stination image |
000067b0  77 69 6c 6c 20 62 65 20  63 6f 70 69 65 64 0a 20  |will be copied. |
000067c0  20 20 20 20 20 66 72 6f  6d 20 74 68 65 20 73 6f  |     from the so|
000067d0  75 72 63 65 20 69 6d 61  67 65 2c 20 74 68 65 20  |urce image, the |
000067e0  72 65 73 74 20 77 69 6c  6c 20 62 65 20 6c 65 66  |rest will be lef|
000067f0  74 20 75 6e 63 68 61 6e  67 65 64 2e 0a 0a 20 20  |t unchanged...  |
00006800  20 20 20 20 45 66 66 65  63 74 73 2e 4d 69 78 20  |    Effects.Mix |
00006810  63 6f 6c 6f 75 72 73 0a  20 20 20 20 20 20 2d 2d  |colours.      --|
00006820  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00006830  2d 0a 20 20 20 20 20 20  4d 69 78 65 73 20 74 68  |-.      Mixes th|
00006840  65 20 63 6f 6c 6f 75 72  73 20 72 61 6e 64 6f 6d  |e colours random|
00006850  6c 79 2e 0a 0a 20 20 20  20 20 20 45 66 66 65 63  |ly...      Effec|
00006860  74 73 2e 57 68 65 65 6c  0a 20 20 20 20 20 20 2d  |ts.Wheel.      -|
00006870  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00006880  20 20 20 42 61 73 69 63  61 6c 6c 79 2c 20 74 68  |   Basically, th|
00006890  69 73 20 69 73 20 6a 75  73 74 20 61 20 6c 65 66  |is is just a lef|
000068a0  74 2d 6f 76 65 72 20 66  72 6f 6d 20 74 68 65 20  |t-over from the |
000068b0  44 69 73 74 6f 72 74 2d  72 6f 75 74 69 6e 65 20  |Distort-routine |
000068c0  28 73 65 65 20 4d 6f 72  65 0a 20 20 20 20 20 20  |(see More.      |
000068d0  74 6f 6f 6c 73 29 2e 20  59 6f 75 20 73 65 6c 65  |tools). You sele|
000068e0  63 74 20 61 6e 20 61 72  65 61 20 28 74 72 69 61  |ct an area (tria|
000068f0  6e 67 75 6c 61 72 29 20  61 6e 64 20 61 20 63 69  |ngular) and a ci|
00006900  72 63 6c 65 2c 20 61 6e  64 20 39 20 63 6f 70 69  |rcle, and 9 copi|
00006910  65 73 20 6f 66 20 74 68  65 0a 20 20 20 20 20 20  |es of the.      |
00006920  74 72 69 61 6e 67 6c 65  20 61 72 65 20 74 68 65  |triangle are the|
00006930  6e 20 64 69 73 74 6f 72  74 65 64 20 74 6f 20 66  |n distorted to f|
00006940  69 6c 6c 20 74 68 65 20  63 69 72 63 6c 65 2e 0a  |ill the circle..|
00006950  0a 20 20 20 20 20 20 45  66 66 65 63 74 73 2e 53  |.      Effects.S|
00006960  71 75 61 73 68 2e 43 69  72 63 6c 65 0a 20 20 20  |quash.Circle.   |
00006970  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
00006980  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 53  |--------.      S|
00006990  71 75 61 73 68 65 64 20  74 68 65 20 69 6d 61 67  |quashed the imag|
000069a0  65 20 74 6f 20 66 69 74  20 69 6e 73 69 64 65 20  |e to fit inside |
000069b0  61 20 63 69 72 63 6c 65  2e 0a 20 20 20 20 20 20  |a circle..      |
000069c0  0a 20 20 20 20 20 20 45  66 66 65 63 74 73 2e 53  |.      Effects.S|
000069d0  71 75 61 73 68 2e 54 72  69 61 6e 67 6c 65 0a 20  |quash.Triangle. |
000069e0  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
000069f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 20 20 20  |------------.   |
00006a00  20 20 20 53 65 65 20 61  62 6f 76 65 2e 20 57 6f  |   See above. Wo|
00006a10  72 6b 73 20 77 69 74 68  20 61 6c 6c 20 69 6d 61  |rks with all ima|
00006a20  67 65 73 2e 0a 20 20 20  20 20 20 0a 20 20 20 20  |ges..      .    |
00006a30  20 20 45 66 66 65 63 74  73 2e 57 68 69 72 6c 2e  |  Effects.Whirl.|
00006a40  57 68 69 72 6c 0a 20 20  20 20 20 20 2d 2d 2d 2d  |Whirl.      ----|
00006a50  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00006a60  20 20 20 20 20 20 48 6d  6d 2c 20 6e 6f 74 20 72  |      Hmm, not r|
00006a70  65 61 6c 6c 79 20 74 68  61 74 20 65 61 73 79 20  |eally that easy |
00006a80  74 6f 20 65 78 70 6c 61  69 6e 2c 20 62 75 74 2e  |to explain, but.|
00006a90  2e 2e 0a 20 20 20 20 20  20 41 20 6b 69 6e 64 20  |...      A kind |
00006aa0  6f 66 20 72 6f 74 61 74  69 6f 6e 2e 20 54 68 65  |of rotation. The|
00006ab0  20 72 6f 74 61 74 69 6f  6e 20 61 6e 67 6c 65 20  | rotation angle |
00006ac0  64 65 70 65 6e 64 73 20  6f 6e 20 74 68 65 20 64  |depends on the d|
00006ad0  69 73 74 61 6e 63 65 20  66 72 6f 6d 20 74 68 65  |istance from the|
00006ae0  0a 20 20 20 20 20 20 63  65 6e 74 65 72 20 66 6f  |.      center fo|
00006af0  20 74 68 65 20 69 6d 61  67 65 2e 20 54 68 65 20  | the image. The |
00006b00  72 6f 75 74 69 6e 65 20  69 73 20 71 75 69 74 65  |routine is quite|
00006b10  20 73 6c 6f 77 20 28 31  30 30 30 30 20 70 69 78  | slow (10000 pix|
00006b20  65 6c 73 2f 73 65 63 6f  6e 64 29 20 64 75 65 0a  |els/second) due.|
00006b30  20 20 20 20 20 20 74 68  65 20 74 68 65 20 61 6d  |      the the am|
00006b40  6f 75 6e 74 20 6f 66 20  6d 61 74 68 73 20 74 68  |ount of maths th|
00006b50  61 74 20 69 73 20 72 65  71 75 69 72 65 64 2e 0a  |at is required..|
00006b60  20 20 20 20 20 20 54 68  65 20 72 6f 74 61 74 69  |      The rotati|
00006b70  6f 6e 20 61 6e 67 6c 65  20 69 6e 63 72 65 73 65  |on angle increse|
00006b80  73 20 77 68 65 6e 20 79  6f 75 20 67 65 74 20 63  |s when you get c|
00006b90  6c 6f 73 65 72 20 74 6f  20 74 68 65 20 63 65 6e  |loser to the cen|
00006ba0  74 65 72 20 6f 66 20 74  68 65 0a 20 20 20 20 20  |ter of the.     |
00006bb0  20 69 6d 61 67 65 2e 0a  0a 20 20 20 20 20 20 45  | image...      E|
00006bc0  66 66 65 63 74 73 2e 57  68 69 72 6c 2e 53 6f 6e  |ffects.Whirl.Son|
00006bd0  20 6f 66 20 57 68 69 72  6c 0a 20 20 20 20 20 20  | of Whirl.      |
00006be0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00006bf0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
00006c00  20 4c 69 6b 65 20 61 62  6f 76 65 2c 20 6a 75 73  | Like above, jus|
00006c10  74 20 64 69 66 66 65 72  65 6e 74 21 0a 20 20 20  |t different!.   |
00006c20  20 20 20 54 68 65 20 72  6f 74 61 74 69 6f 6e 20  |   The rotation |
00006c30  61 6e 67 6c 65 20 64 65  63 72 65 61 73 65 73 20  |angle decreases |
00006c40  77 68 65 6e 20 79 6f 75  20 67 65 74 20 63 6c 6f  |when you get clo|
00006c50  73 65 72 20 74 6f 20 74  68 65 20 63 65 6e 74 65  |ser to the cente|
00006c60  72 20 6f 66 20 74 68 65  0a 20 20 20 20 20 20 69  |r of the.      i|
00006c70  6d 61 67 65 2e 0a 0a 20  20 20 20 20 20 45 66 66  |mage...      Eff|
00006c80  65 63 74 73 2e 57 68 69  72 6c 2e 57 68 69 72 6c  |ects.Whirl.Whirl|
00006c90  20 72 65 76 69 73 69 74  65 64 0a 20 20 20 20 20  | revisited.     |
00006ca0  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00006cb0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |--------------. |
00006cc0  20 20 20 20 20 4c 69 6b  65 20 61 62 6f 76 65 20  |     Like above |
00006cd0  61 6e 64 20 74 68 65 20  6f 6e 65 20 61 62 6f 76  |and the one abov|
00006ce0  65 20 74 68 61 74 20 6f  6e 65 2c 20 62 75 74 20  |e that one, but |
00006cf0  61 67 61 69 6e 20 69 74  27 73 20 64 69 66 66 65  |again it's diffe|
00006d00  72 65 6e 74 20 66 72 6f  6d 0a 20 20 20 20 20 20  |rent from.      |
00006d10  74 68 65 20 6f 74 68 65  72 20 6f 6e 65 20 61 6e  |the other one an|
00006d20  64 20 66 72 6f 6d 20 74  68 65 20 6f 74 68 65 72  |d from the other|
00006d30  20 6f 74 68 65 72 20 6f  6e 65 20 63 6f 7a 20 6f  | other one coz o|
00006d40  74 68 65 72 77 69 73 65  20 74 68 65 72 65 20 77  |therwise there w|
00006d50  6f 75 6c 64 6e 27 74 0a  20 20 20 20 20 20 72 65  |ouldn't.      re|
00006d60  61 6c 6c 79 20 62 65 20  61 6e 79 20 6d 65 61 6e  |ally be any mean|
00006d70  69 6e 67 20 69 6e 20 69  6e 63 6c 75 64 69 6e 67  |ing in including|
00006d80  20 74 68 69 73 20 65 66  66 65 63 74 20 6f 72 20  | this effect or |
00006d90  74 68 65 20 6f 6e 65 20  61 62 6f 76 65 20 69 74  |the one above it|
00006da0  2e 0a 20 20 20 20 20 20  48 61 73 20 61 20 73 6d  |..      Has a sm|
00006db0  61 6c 6c 20 62 75 67 20  74 68 61 74 20 63 61 75  |all bug that cau|
00006dc0  73 65 73 20 62 6c 61 63  6b 20 72 69 6e 67 73 20  |ses black rings |
00006dd0  74 6f 20 6f 63 63 75 72  20 69 66 20 74 68 65 20  |to occur if the |
00006de0  61 6e 67 6c 65 20 69 73  20 3c 33 30 2e 0a 0a 20  |angle is <30... |
00006df0  20 20 20 20 20 0a 20 20  20 20 20 20 41 72 69 74  |     .      Arit|
00006e00  68 6d 65 74 69 63 0a 20  20 20 20 20 20 2d 2d 2d  |hmetic.      ---|
00006e10  2d 2d 2d 2d 2d 2d 2d 0a  20 20 20 20 20 20 54 68  |-------.      Th|
00006e20  65 73 65 20 6f 70 74 69  6f 6e 73 20 70 65 72 66  |ese options perf|
00006e30  6f 72 6d 20 61 72 69 74  68 6d 65 74 69 63 20 61  |orm arithmetic a|
00006e40  6e 64 20 6c 6f 67 69 63  61 6c 20 6f 70 65 72 61  |nd logical opera|
00006e50  74 69 6f 6e 73 20 6f 6e  20 70 61 69 72 73 20 6f  |tions on pairs o|
00006e60  66 0a 20 20 20 20 20 20  70 69 78 65 6c 73 20 66  |f.      pixels f|
00006e70  72 6f 6d 20 74 68 65 20  73 6f 75 72 63 65 20 61  |rom the source a|
00006e80  6e 64 20 64 65 73 74 69  6e 61 74 69 6f 6e 20 69  |nd destination i|
00006e90  6d 61 67 65 73 2e 20 54  68 65 20 72 65 73 75 6c  |mages. The resul|
00006ea0  74 20 69 73 20 77 72 69  74 74 65 6e 20 74 6f 0a  |t is written to.|
00006eb0  20 20 20 20 20 20 74 68  65 20 64 65 73 74 69 6e  |      the destin|
00006ec0  61 74 69 6f 6e 20 69 6d  61 67 65 20 61 73 20 61  |ation image as a|
00006ed0  6c 77 61 79 73 2e 0a 0a  20 20 20 20 20 20 41 72  |lways...      Ar|
00006ee0  69 74 68 6d 65 74 69 63  2e 53 6f 75 72 63 65 20  |ithmetic.Source |
00006ef0  2b 20 44 65 73 74 0a 20  20 20 20 20 20 2d 2d 2d  |+ Dest.      ---|
00006f00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00006f10  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 54 68 65 20  |-----.      The |
00006f20  64 65 73 74 69 6e 61 74  69 6f 6e 20 69 6d 61 67  |destination imag|
00006f30  65 20 62 65 63 6f 6d 65  73 20 74 68 65 20 73 75  |e becomes the su|
00006f40  6d 20 6f 66 20 74 68 65  20 74 77 6f 20 69 6d 61  |m of the two ima|
00006f50  67 65 73 2e 0a 0a 20 20  20 20 20 20 41 72 69 74  |ges...      Arit|
00006f60  68 6d 65 74 69 63 2e 53  6f 75 72 63 65 20 2d 20  |hmetic.Source - |
00006f70  44 65 73 74 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |Dest.      -----|
00006f80  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00006f90  2d 2d 2d 0a 20 20 20 20  20 20 53 65 65 20 61 62  |---.      See ab|
00006fa0  6f 76 65 2e 0a 0a 20 20  20 20 20 20 41 72 69 74  |ove...      Arit|
00006fb0  68 6d 65 74 69 63 2e 44  65 73 74 20 2d 20 53 6f  |hmetic.Dest - So|
00006fc0  75 72 63 65 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |urce.      -----|
00006fd0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00006fe0  2d 2d 2d 0a 20 20 20 20  20 20 53 65 65 20 61 62  |---.      See ab|
00006ff0  6f 76 65 2e 0a 0a 20 20  20 20 20 20 41 72 69 74  |ove...      Arit|
00007000  68 6d 65 74 69 63 2e 53  6f 75 72 63 65 20 45 4f  |hmetic.Source EO|
00007010  52 20 44 65 73 74 0a 20  20 20 20 20 20 2d 2d 2d  |R Dest.      ---|
00007020  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007030  2d 2d 2d 2d 2d 2d 2d 0a  20 20 20 20 20 20 54 68  |-------.      Th|
00007040  65 20 74 77 6f 20 70 69  78 65 6c 73 20 61 72 65  |e two pixels are|
00007050  20 45 4f 52 65 64 20 62  69 74 20 62 79 20 62 69  | EORed bit by bi|
00007060  74 2e 0a 0a 20 20 20 20  20 20 41 72 69 74 68 6d  |t...      Arithm|
00007070  65 74 69 63 2e 53 6f 75  72 63 65 20 41 4e 44 20  |etic.Source AND |
00007080  44 65 73 74 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |Dest.      -----|
00007090  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000070a0  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 54 68 65 20  |-----.      The |
000070b0  74 77 6f 20 70 69 78 65  6c 73 20 61 72 65 20 41  |two pixels are A|
000070c0  4e 44 65 64 2e 0a 0a 20  20 20 20 20 20 41 72 69  |NDed...      Ari|
000070d0  74 68 6d 65 74 69 63 2e  53 6f 75 72 63 65 20 4f  |thmetic.Source O|
000070e0  52 20 44 65 73 74 0a 20  20 20 20 20 20 2d 2d 2d  |R Dest.      ---|
000070f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007100  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 54 68 65  |------.      The|
00007110  20 74 77 6f 20 70 69 78  65 6c 73 20 61 72 65 20  | two pixels are |
00007120  4f 52 65 64 2e 0a 0a 20  20 20 20 20 20 41 72 69  |ORed...      Ari|
00007130  74 68 6d 65 74 69 63 2e  53 6f 75 72 63 65 20 3d  |thmetic.Source =|
00007140  20 44 65 73 74 0a 20 20  20 20 20 20 2d 2d 2d 2d  | Dest.      ----|
00007150  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007160  2d 2d 2d 2d 0a 20 20 20  20 20 20 54 68 65 20 64  |----.      The d|
00007170  65 73 74 69 6e 61 74 69  6f 6e 20 70 69 78 65 6c  |estination pixel|
00007180  20 62 65 63 6f 6d 65 73  20 77 68 69 74 65 20 69  | becomes white i|
00007190  66 20 74 68 65 20 73 6f  75 72 63 65 20 70 69 78  |f the source pix|
000071a0  65 6c 20 69 73 20 69 6e  20 74 68 65 20 73 61 6d  |el is in the sam|
000071b0  65 0a 20 20 20 20 20 20  63 6f 6c 6f 75 72 20 61  |e.      colour a|
000071c0  73 20 74 68 65 20 6f 6c  64 20 64 65 73 74 69 6e  |s the old destin|
000071d0  61 74 69 6f 6e 20 70 69  78 65 6c 2c 20 6f 74 68  |ation pixel, oth|
000071e0  65 72 77 69 73 65 20 69  74 20 62 65 63 6f 6d 65  |erwise it become|
000071f0  73 20 62 6c 61 63 6b 2e  0a 0a 20 20 20 20 20 20  |s black...      |
00007200  41 72 69 74 68 6d 65 74  69 63 2e 53 6f 75 72 63  |Arithmetic.Sourc|
00007210  65 20 3c 3e 20 44 65 73  74 0a 20 20 20 20 20 20  |e <> Dest.      |
00007220  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007230  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
00007240  54 68 65 20 64 65 73 74  69 6e 61 74 69 6f 6e 20  |The destination |
00007250  70 69 78 65 6c 20 62 65  63 6f 6d 65 73 20 77 68  |pixel becomes wh|
00007260  69 74 65 20 69 66 20 74  68 65 20 73 6f 75 72 63  |ite if the sourc|
00007270  65 2d 70 69 78 65 6c 20  69 73 20 69 6e 20 61 20  |e-pixel is in a |
00007280  64 69 66 66 65 72 65 6e  74 0a 20 20 20 20 20 20  |different.      |
00007290  63 6f 6c 6f 75 72 20 74  68 61 6e 20 74 68 65 20  |colour than the |
000072a0  6f 6c 64 20 64 65 73 74  69 6e 61 74 69 6f 6e 20  |old destination |
000072b0  70 69 78 65 6c 2e 0a 0a  20 20 20 20 20 20 41 72  |pixel...      Ar|
000072c0  69 74 68 6d 65 74 69 63  2e 53 6f 75 72 63 65 20  |ithmetic.Source |
000072d0  3c 20 44 65 73 74 0a 20  20 20 20 20 20 2d 2d 2d  |< Dest.      ---|
000072e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000072f0  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 53 65 65 20  |-----.      See |
00007300  61 62 6f 76 65 2e 0a 0a  20 20 20 20 20 20 41 72  |above...      Ar|
00007310  69 74 68 6d 65 74 69 63  2e 53 6f 75 72 63 65 20  |ithmetic.Source |
00007320  3e 20 44 65 73 74 0a 20  20 20 20 20 20 2d 2d 2d  |> Dest.      ---|
00007330  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007340  2d 2d 2d 2d 2d 0a 20 20  20 20 20 20 53 65 65 20  |-----.      See |
00007350  61 62 6f 76 65 2e 0a 0a  20 20 20 20 20 20 41 72  |above...      Ar|
00007360  69 74 68 6d 65 74 69 63  2e 4d 41 58 28 53 6f 75  |ithmetic.MAX(Sou|
00007370  72 63 65 3b 44 65 73 74  29 0a 20 20 20 20 20 20  |rce;Dest).      |
00007380  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007390  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
000073a0  20 20 54 68 65 20 6e 65  77 20 70 69 78 65 6c 20  |  The new pixel |
000073b0  69 73 20 63 6f 6c 6f 75  72 65 64 20 61 73 20 74  |is coloured as t|
000073c0  68 65 20 6d 61 78 69 6d  75 6d 20 6f 66 20 65 61  |he maximum of ea|
000073d0  63 68 20 6f 66 20 74 68  65 20 74 68 72 65 65 20  |ch of the three |
000073e0  63 6f 6c 6f 75 72 0a 20  20 20 20 20 20 63 6f 6d  |colour.      com|
000073f0  70 6f 6e 65 6e 74 73 2e  0a 0a 20 20 20 20 20 20  |ponents...      |
00007400  41 72 69 74 68 6d 65 74  69 63 2e 4d 49 4e 28 53  |Arithmetic.MIN(S|
00007410  6f 75 72 63 65 3b 44 65  73 74 29 0a 20 20 20 20  |ource;Dest).    |
00007420  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
00007430  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00007440  20 20 20 20 41 73 20 27  4d 41 58 28 53 6f 75 72  |    As 'MAX(Sour|
00007450  63 65 3b 44 65 73 74 29  27 2c 20 65 78 63 65 70  |ce;Dest)', excep|
00007460  74 20 69 74 20 75 73 65  73 20 74 68 65 20 6d 69  |t it uses the mi|
00007470  6e 69 6d 75 6d 2e 0a 0a  20 20 20 20 20 20 41 72  |nimum...      Ar|
00007480  69 74 68 6d 65 74 69 63  2e 4f 76 65 72 6c 61 79  |ithmetic.Overlay|
00007490  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
000074a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
000074b0  54 68 65 20 64 65 73 74  69 6e 61 74 69 6f 6e 20  |The destination |
000074c0  69 6d 61 67 65 20 69 73  20 75 73 65 64 20 61 73  |image is used as|
000074d0  20 61 20 52 47 42 2d 66  69 6c 74 65 72 20 66 6f  | a RGB-filter fo|
000074e0  72 20 74 68 65 20 73 6f  75 72 63 65 20 69 6d 61  |r the source ima|
000074f0  67 65 3a 0a 20 20 20 20  20 20 57 68 69 74 65 20  |ge:.      White |
00007500  69 73 20 74 72 61 6e 73  70 61 72 65 6e 74 2c 20  |is transparent, |
00007510  62 6c 61 63 6b 20 69 73  20 6e 6f 6e 2d 74 72 61  |black is non-tra|
00007520  6e 73 70 61 72 65 6e 74  2c 20 72 65 64 20 61 6c  |nsparent, red al|
00007530  6c 6f 77 73 20 72 65 64  20 63 6f 6c 6f 75 72 20  |lows red colour |
00007540  74 6f 0a 20 20 20 20 20  20 70 61 73 73 20 74 68  |to.      pass th|
00007550  72 75 20 74 68 65 20 66  69 6c 74 65 72 20 65 74  |ru the filter et|
00007560  63 2e 0a 20 20 20 20 20  20 44 65 73 74 69 6e 61  |c..      Destina|
00007570  74 69 6f 6e 20 52 45 44  20 3d 20 28 53 6f 75 72  |tion RED = (Sour|
00007580  63 65 20 52 45 44 20 2a  20 44 65 73 74 69 6e 61  |ce RED * Destina|
00007590  74 69 6f 6e 20 52 45 44  29 2f 32 35 36 0a 0a 20  |tion RED)/256.. |
000075a0  20 20 20 20 20 41 72 69  74 68 6d 65 74 69 63 2e  |     Arithmetic.|
000075b0  43 6f 6d 62 69 6e 65 0a  20 20 20 20 20 20 2d 2d  |Combine.      --|
000075c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000075d0  0a 20 20 20 20 20 20 54  68 65 20 64 65 73 74 69  |.      The desti|
000075e0  6e 61 74 69 6f 6e 20 69  6d 61 67 65 20 62 65 63  |nation image bec|
000075f0  6f 6d 65 73 20 61 20 77  65 69 67 68 74 65 64 20  |omes a weighted |
00007600  61 76 65 72 61 67 65 20  6f 66 20 74 68 65 20 74  |average of the t|
00007610  77 6f 20 69 6d 61 67 65  73 2c 20 74 68 65 0a 20  |wo images, the. |
00007620  20 20 20 20 20 77 65 69  67 68 74 20 69 73 20 73  |     weight is s|
00007630  65 74 20 69 6e 20 74 68  65 20 73 75 62 2d 77 69  |et in the sub-wi|
00007640  6e 64 6f 77 20 74 6f 20  74 68 69 73 20 6f 70 74  |ndow to this opt|
00007650  69 6f 6e 2e 0a 20 20 20  20 20 20 54 68 65 20 77  |ion..      The w|
00007660  65 69 67 68 74 20 69 73  20 61 20 6e 75 6d 62 65  |eight is a numbe|
00007670  72 20 66 72 6f 6d 20 30  2d 32 35 35 2c 20 61 6e  |r from 0-255, an|
00007680  64 20 69 73 20 75 73 65  64 20 6c 69 6b 65 20 74  |d is used like t|
00007690  68 69 73 3a 0a 20 20 20  20 20 20 44 65 73 74 20  |his:.      Dest |
000076a0  52 45 44 20 3d 20 28 28  32 35 35 2d 57 65 69 67  |RED = ((255-Weig|
000076b0  68 74 29 20 2a 20 53 6f  75 72 63 65 20 52 45 44  |ht) * Source RED|
000076c0  20 20 2b 20 20 57 65 69  67 68 74 20 2a 20 44 65  |  +  Weight * De|
000076d0  73 74 20 52 45 44 29 2f  32 35 35 0a 20 20 20 20  |st RED)/255.    |
000076e0  20 20 54 68 75 73 20 77  65 69 67 68 74 3d 30 20  |  Thus weight=0 |
000076f0  77 69 6c 6c 20 63 6f 70  79 20 74 68 65 20 73 6f  |will copy the so|
00007700  75 72 63 65 20 69 6d 61  67 65 20 74 6f 20 74 68  |urce image to th|
00007710  65 20 64 65 73 74 69 6e  61 74 69 6f 6e 20 69 6d  |e destination im|
00007720  61 67 65 2c 20 61 6e 64  0a 20 20 20 20 20 20 77  |age, and.      w|
00007730  65 69 67 68 74 3d 32 35  35 20 77 69 6c 6c 20 6c  |eight=255 will l|
00007740  65 61 76 65 20 74 68 65  20 64 65 73 74 69 6e 61  |eave the destina|
00007750  74 69 6f 6e 20 69 6d 61  67 65 20 75 6e 61 6c 74  |tion image unalt|
00007760  65 72 65 64 2e 0a 0a 20  20 20 20 20 20 41 72 69  |ered...      Ari|
00007770  74 68 6d 65 74 69 63 2e  41 42 53 28 53 6f 75 72  |thmetic.ABS(Sour|
00007780  63 65 20 2d 20 44 65 73  74 29 0a 20 20 20 20 20  |ce - Dest).     |
00007790  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
000077a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |--------------. |
000077b0  20 20 20 20 20 53 65 65  20 27 53 6f 75 72 63 65  |     See 'Source|
000077c0  20 2d 20 44 65 73 74 27  2e 0a 0a 0a 20 20 20 20  | - Dest'....    |
000077d0  20 20 4d 6f 72 65 20 74  6f 6f 6c 73 2e 43 6c 65  |  More tools.Cle|
000077e0  61 72 0a 20 20 20 20 20  20 2d 2d 2d 2d 2d 2d 2d  |ar.      -------|
000077f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 20 20 20 20 20 20  |---------.      |
00007800  41 6e 20 65 61 73 79 20  77 61 79 20 6f 66 20 63  |An easy way of c|
00007810  6c 65 61 72 69 6e 67 20  65 69 74 68 65 72 20 74  |learing either t|
00007820  68 65 20 73 6f 75 72 63  65 20 6f 72 20 64 65 73  |he source or des|
00007830  74 69 6e 61 74 69 6f 6e  20 69 6d 61 67 65 2e 0a  |tination image..|
00007840  0a 20 20 20 20 20 20 4d  6f 72 65 20 74 6f 6f 6c  |.      More tool|
00007850  73 2e 46 6c 69 70 20 61  62 6f 75 74 20 58 2d 61  |s.Flip about X-a|
00007860  78 69 73 0a 20 20 20 20  20 20 2d 2d 2d 2d 2d 2d  |xis.      ------|
00007870  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007880  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 46 6c 69  |------.      Fli|
00007890  70 20 74 68 65 20 73 6f  75 72 63 65 2f 64 65 73  |p the source/des|
000078a0  74 69 6e 61 74 69 6f 6e  20 69 6d 61 67 65 20 61  |tination image a|
000078b0  62 6f 75 74 20 74 68 65  20 58 2d 61 78 69 73 2e  |bout the X-axis.|
000078c0  0a 0a 20 20 20 20 20 20  4d 6f 72 65 20 74 6f 6f  |..      More too|
000078d0  6c 73 2e 46 6c 69 70 20  61 62 6f 75 74 20 59 2d  |ls.Flip about Y-|
000078e0  61 78 69 73 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |axis.      -----|
000078f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007900  2d 2d 2d 2d 2d 2d 2d 0a  20 20 20 20 20 20 46 6c  |-------.      Fl|
00007910  69 70 20 74 68 65 20 73  6f 75 72 63 65 2f 64 65  |ip the source/de|
00007920  73 74 69 6e 61 74 69 6f  6e 20 69 6d 61 67 65 20  |stination image |
00007930  61 62 6f 75 74 20 74 68  65 20 59 2d 61 78 69 73  |about the Y-axis|
00007940  2e 0a 0a 20 20 20 20 20  20 4d 6f 72 65 20 74 6f  |...      More to|
00007950  6f 6c 73 2e 52 6f 74 61  74 65 0a 20 20 20 20 20  |ols.Rotate.     |
00007960  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00007970  2d 2d 0a 20 20 20 20 20  20 54 68 65 20 64 65 73  |--.      The des|
00007980  74 69 6e 61 74 69 6f 6e  20 69 6d 61 67 65 20 62  |tination image b|
00007990  65 63 6f 6d 65 73 20 61  20 72 6f 74 61 74 65 64  |ecomes a rotated|
000079a0  20 63 6f 70 79 20 6f 66  20 74 68 65 20 73 6f 75  | copy of the sou|
000079b0  72 63 65 20 69 6d 61 67  65 2e 0a 20 20 20 20 20  |rce image..     |
000079c0  20 52 6f 74 61 74 69 6f  6e 20 69 73 20 61 6e 74  | Rotation is ant|
000079d0  69 2d 63 6c 6f 63 6b 77  69 73 65 2c 20 61 6e 64  |i-clockwise, and|
000079e0  20 69 66 20 61 6e 20 61  72 65 61 20 69 73 20 73  | if an area is s|
000079f0  65 6c 65 63 74 65 64 20  6f 6e 6c 79 20 74 68 61  |elected only tha|
00007a00  74 20 70 61 72 74 20 6f  66 0a 20 20 20 20 20 20  |t part of.      |
00007a10  74 68 65 20 69 6d 61 67  65 20 77 69 6c 6c 20 62  |the image will b|
00007a20  65 20 72 6f 74 61 74 65  64 2e 0a 0a 20 20 20 20  |e rotated...    |
00007a30  20 20 4d 6f 72 65 20 74  6f 6f 6c 73 2e 53 68 61  |  More tools.Sha|
00007a40  64 69 6e 67 2e 52 61 64  69 61 6c 20 74 6f 20 62  |ding.Radial to b|
00007a50  6c 61 63 6b 0a 20 20 20  20 20 20 2d 2d 2d 2d 2d  |lack.      -----|
00007a60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007a70  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00007a80  20 20 20 20 54 68 69 73  20 67 65 6e 65 72 61 74  |    This generat|
00007a90  65 73 20 61 20 72 61 64  69 61 6c 20 73 68 61 64  |es a radial shad|
00007aa0  69 6e 67 20 66 72 6f 6d  20 74 68 65 20 73 65 6c  |ing from the sel|
00007ab0  65 63 74 65 64 20 63 6f  6c 6f 75 72 20 74 6f 20  |ected colour to |
00007ac0  62 6c 61 63 6b 2e 20 54  68 65 0a 20 20 20 20 20  |black. The.     |
00007ad0  20 61 72 65 61 20 61 66  66 65 63 74 65 64 20 69  | area affected i|
00007ae0  73 20 73 65 6c 65 63 74  65 64 20 75 73 69 6e 67  |s selected using|
00007af0  20 74 68 65 20 75 73 75  61 6c 20 72 75 62 62 65  | the usual rubbe|
00007b00  72 62 61 6e 64 2d 63 69  72 63 6c 65 2e 20 54 68  |rband-circle. Th|
00007b10  65 20 63 6f 6c 6f 75 72  0a 20 20 20 20 20 20 6f  |e colour.      o|
00007b20  75 74 73 69 64 65 20 74  68 65 20 63 69 72 63 6c  |utside the circl|
00007b30  65 20 62 65 63 6f 6d 65  73 20 62 6c 61 63 6b 20  |e becomes black |
00007b40  28 68 65 6e 63 65 20 74  68 65 20 6e 61 6d 65 20  |(hence the name |
00007b50  27 74 6f 20 62 6c 61 63  6b 27 29 2e 20 4e 6f 74  |'to black'). Not|
00007b60  65 20 74 68 61 74 0a 20  20 20 20 20 20 61 6c 74  |e that.      alt|
00007b70  68 6f 75 67 68 20 79 6f  75 20 73 65 6c 65 63 74  |hough you select|
00007b80  20 74 68 65 20 63 69 72  63 6c 65 20 69 6e 20 74  | the circle in t|
00007b90  68 65 20 73 6f 75 72 63  65 20 77 69 6e 64 6f 77  |he source window|
00007ba0  2c 20 74 68 65 20 73 68  61 64 69 6e 67 20 77 69  |, the shading wi|
00007bb0  6c 6c 0a 20 20 20 20 20  20 61 70 70 65 61 72 20  |ll.      appear |
00007bc0  69 6e 20 74 68 65 20 64  65 73 74 69 6e 61 74 69  |in the destinati|
00007bd0  6f 6e 20 69 6d 61 67 65  2e 20 54 68 65 20 72 65  |on image. The re|
00007be0  61 73 6f 6e 20 66 6f 72  20 74 68 69 73 20 69 73  |ason for this is|
00007bf0  20 74 68 61 74 20 74 68  69 73 20 74 6f 6f 6c 0a  | that this tool.|
00007c00  20 20 20 20 20 20 69 73  20 6d 65 61 6e 74 20 74  |      is meant t|
00007c10  6f 20 62 65 20 66 6f 6c  6c 6f 77 20 62 79 20 41  |o be follow by A|
00007c20  72 69 74 68 6d 65 74 69  63 2e 4f 76 65 72 6c 61  |rithmetic.Overla|
00007c30  79 20 74 6f 20 63 72 65  61 74 65 20 61 20 73 68  |y to create a sh|
00007c40  61 64 69 6e 67 20 6f 66  20 74 68 65 0a 20 20 20  |ading of the.   |
00007c50  20 20 20 77 68 6f 6c 65  20 69 6d 61 67 65 2e 0a  |   whole image..|
00007c60  0a 20 20 20 20 20 20 4d  6f 72 65 20 74 6f 6f 6c  |.      More tool|
00007c70  73 2e 53 68 61 64 69 6e  67 2e 52 61 64 69 61 6c  |s.Shading.Radial|
00007c80  20 74 6f 20 77 68 69 74  65 0a 20 20 20 20 20 20  | to white.      |
00007c90  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00007cb0  2d 2d 0a 20 20 20 20 20  20 53 65 65 20 61 62 6f  |--.      See abo|
00007cc0  76 65 2e 0a 0a 20 20 20  20 20 20 4d 6f 72 65 20  |ve...      More |
00007cd0  74 6f 6f 6c 73 2e 53 68  61 64 69 6e 67 2e 52 61  |tools.Shading.Ra|
00007ce0  64 69 61 6c 20 66 72 6f  6d 20 62 6c 61 63 6b 0a  |dial from black.|
00007cf0  20 20 20 20 20 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |      ----------|
00007d00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007d10  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
00007d20  20 53 65 65 20 61 62 6f  76 65 2e 0a 0a 20 20 20  | See above...   |
00007d30  20 20 20 4d 6f 72 65 20  74 6f 6f 6c 73 2e 53 68  |   More tools.Sh|
00007d40  61 64 69 6e 67 2e 52 61  64 69 61 6c 20 66 72 6f  |ading.Radial fro|
00007d50  6d 20 77 68 69 74 65 0a  20 20 20 20 20 20 2d 2d  |m white.      --|
00007d60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00007d80  2d 2d 0a 20 20 20 20 20  20 53 65 65 20 61 62 6f  |--.      See abo|
00007d90  76 65 2e 0a 0a 20 20 20  20 20 20 4d 6f 72 65 20  |ve...      More |
00007da0  74 6f 6f 6c 73 2e 53 68  61 64 69 6e 67 2e 4c 69  |tools.Shading.Li|
00007db0  6e 65 61 72 20 74 6f 20  62 6c 61 63 6b 0a 20 20  |near to black.  |
00007dc0  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00007dd0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007de0  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 41 73 20  |------.      As |
00007df0  74 68 65 20 27 4d 6f 72  65 20 74 6f 6f 6c 73 2e  |the 'More tools.|
00007e00  53 68 61 64 69 6e 67 2e  52 61 64 69 61 6c 20 2e  |Shading.Radial .|
00007e10  2e 2e 2e 27 20 74 6f 6f  6c 73 2c 20 62 75 74 20  |...' tools, but |
00007e20  70 65 72 66 6f 72 6d 73  20 61 20 6c 69 6e 65 61  |performs a linea|
00007e30  72 0a 20 20 20 20 20 20  73 68 61 64 69 6e 67 2e  |r.      shading.|
00007e40  0a 0a 20 20 20 20 20 20  4d 6f 72 65 20 74 6f 6f  |..      More too|
00007e50  6c 73 2e 53 68 61 64 69  6e 67 2e 4c 69 6e 65 61  |ls.Shading.Linea|
00007e60  72 20 74 6f 20 77 68 69  74 65 0a 20 20 20 20 20  |r to white.     |
00007e70  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00007e80  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007e90  2d 2d 2d 0a 20 20 20 20  20 20 53 65 65 20 61 62  |---.      See ab|
00007ea0  6f 76 65 2e 0a 0a 20 20  20 20 20 20 4d 6f 72 65  |ove...      More|
00007eb0  20 74 6f 6f 6c 73 2e 53  68 61 64 69 6e 67 2e 55  | tools.Shading.U|
00007ec0  73 65 20 64 69 74 68 65  72 69 6e 67 0a 20 20 20  |se dithering.   |
00007ed0  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
00007ee0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00007ef0  2d 2d 2d 0a 20 20 20 20  20 20 54 68 69 73 20 74  |---.      This t|
00007f00  6f 67 67 6c 65 73 20 77  68 65 74 68 65 72 20 74  |oggles whether t|
00007f10  68 65 20 73 68 61 64 69  6e 67 20 74 6f 6f 6c 73  |he shading tools|
00007f20  20 73 68 6f 75 6c 64 20  75 73 65 20 64 69 74 68  | should use dith|
00007f30  65 72 69 6e 67 20 74 6f  20 69 6e 63 72 65 61 73  |ering to increas|
00007f40  65 0a 20 20 20 20 20 20  74 68 65 20 6e 75 6d 62  |e.      the numb|
00007f50  65 72 20 6f 66 20 73 68  61 64 65 20 6f 72 20 6e  |er of shade or n|
00007f60  6f 74 2e 20 54 68 65 20  69 6d 61 67 65 20 71 75  |ot. The image qu|
00007f70  61 6c 69 74 79 20 69 73  20 67 72 65 61 74 6c 79  |ality is greatly|
00007f80  20 69 6d 70 72 6f 76 65  64 20 77 68 65 6e 0a 20  | improved when. |
00007f90  20 20 20 20 20 64 69 74  68 65 72 69 6e 67 20 69  |     dithering i|
00007fa0  73 20 4f 4e 2c 20 62 75  74 20 74 68 65 20 64 69  |s ON, but the di|
00007fb0  74 68 65 72 69 6e 67 20  6d 61 6b 65 73 20 69 74  |thering makes it|
00007fc0  20 6d 75 63 68 20 68 61  72 64 65 72 20 74 6f 20  | much harder to |
00007fd0  70 72 6f 63 65 73 73 20  74 68 65 0a 20 20 20 20  |process the.    |
00007fe0  20 20 69 6d 61 67 65 20  61 66 74 65 72 77 61 72  |  image afterwar|
00007ff0  64 73 2e 0a 0a 20 20 20  20 20 20 4d 6f 72 65 20  |ds...      More |
00008000  74 6f 6f 6c 73 2e 44 69  73 74 6f 72 74 20 74 72  |tools.Distort tr|
00008010  69 61 6e 67 6c 65 0a 20  20 20 20 20 20 2d 2d 2d  |iangle.      ---|
00008020  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00008030  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 54  |--------.      T|
00008040  68 69 73 20 61 6c 6c 6f  77 73 20 79 6f 75 20 74  |his allows you t|
00008050  6f 20 73 70 65 63 69 66  79 20 74 77 6f 20 74 72  |o specify two tr|
00008060  69 61 6e 67 6c 65 73 20  61 6e 64 20 74 68 65 6e  |iangles and then|
00008070  20 64 69 73 74 6f 72 74  20 74 68 65 20 66 69 72  | distort the fir|
00008080  73 74 20 6f 6e 65 0a 20  20 20 20 20 20 74 6f 20  |st one.      to |
00008090  66 69 74 20 69 6e 74 6f  20 74 68 65 20 73 65 63  |fit into the sec|
000080a0  6f 6e 64 20 6f 6e 65 2e  20 54 68 65 20 74 72 69  |ond one. The tri|
000080b0  61 6e 67 6c 65 20 77 69  6c 6c 20 62 65 20 72 65  |angle will be re|
000080c0  61 64 20 66 72 6f 6d 20  74 68 65 20 73 6f 75 72  |ad from the sour|
000080d0  63 65 0a 20 20 20 20 20  20 69 6d 61 67 65 2c 20  |ce.      image, |
000080e0  61 6e 64 20 69 73 20 77  72 69 74 74 65 6e 20 74  |and is written t|
000080f0  6f 20 74 68 65 20 64 65  73 74 69 6e 61 74 69 6f  |o the destinatio|
00008100  6e 20 69 6d 61 67 65 2e  0a 0a 20 20 20 20 20 20  |n image...      |
00008110  4d 6f 72 65 20 74 6f 6f  6c 73 2e 44 69 73 74 6f  |More tools.Disto|
00008120  72 74 20 71 75 61 64 72  61 6e 67 6c 65 0a 20 20  |rt quadrangle.  |
00008130  20 20 20 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |    ------------|
00008140  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00008150  2d 0a 20 20 20 20 20 20  41 6c 6c 6f 77 73 20 79  |-.      Allows y|
00008160  6f 75 20 74 6f 20 64 69  73 74 6f 72 74 20 28 61  |ou to distort (a|
00008170  6c 6d 6f 73 74 29 20 61  6e 79 20 66 6f 75 72 20  |lmost) any four |
00008180  73 69 64 65 64 20 73 68  61 70 65 2e 0a 0a 20 20  |sided shape...  |
00008190  20 20 20 20 4d 6f 72 65  20 74 6f 6f 6c 73 2e 53  |    More tools.S|
000081a0  6d 75 64 67 65 0a 20 20  20 20 20 20 2d 2d 2d 2d  |mudge.      ----|
000081b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
000081c0  20 20 20 20 42 61 73 69  63 61 6c 6c 79 2c 20 74  |    Basically, t|
000081d0  68 69 73 20 69 73 20 6a  75 73 74 20 52 45 43 54  |his is just RECT|
000081e0  41 4e 47 4c 45 20 78 31  2c 79 31 2c 73 20 54 4f  |ANGLE x1,y1,s TO|
000081f0  20 78 32 2c 79 32 2c 20  62 75 74 20 69 74 20 6c  | x2,y2, but it l|
00008200  6f 6f 6b 73 20 67 6f 6f  64 0a 20 20 20 20 20 20  |ooks good.      |
00008210  61 6e 79 77 61 79 2c 20  64 6f 65 73 6e 27 74 20  |anyway, doesn't |
00008220  69 74 3f 0a 0a 20 20 20  20 20 20 53 61 76 65 20  |it?..      Save |
00008230  69 6d 61 67 65 0a 20 20  20 20 20 20 2d 2d 2d 2d  |image.      ----|
00008240  2d 2d 2d 2d 2d 2d 0a 20  20 20 20 20 20 41 6c 6c  |------.      All|
00008250  20 69 6d 61 67 65 73 20  63 61 6e 20 62 65 20 73  | images can be s|
00008260  61 76 65 64 20 69 6e 20  74 68 65 20 75 73 75 61  |aved in the usua|
00008270  6c 20 77 61 79 2e 20 57  68 65 6e 20 79 6f 75 20  |l way. When you |
00008280  73 61 76 65 20 61 6e 20  69 6d 61 67 65 20 66 72  |save an image fr|
00008290  6f 6d 20 61 6e 79 0a 20  20 20 20 20 20 6f 66 20  |om any.      of |
000082a0  74 68 65 20 69 6d 61 67  65 20 76 69 65 77 65 72  |the image viewer|
000082b0  73 2c 20 74 68 65 20 6e  65 77 20 73 70 72 69 74  |s, the new sprit|
000082c0  65 66 69 6c 65 20 62 65  63 6f 6d 65 73 20 74 68  |efile becomes th|
000082d0  65 20 27 6c 61 73 74 20  73 61 76 65 64 20 69 6d  |e 'last saved im|
000082e0  61 67 65 27 0a 20 20 20  20 20 20 66 6f 72 20 74  |age'.      for t|
000082f0  68 61 74 20 70 61 72 74  69 63 75 6c 61 72 20 69  |hat particular i|
00008300  6d 61 67 65 20 76 69 65  77 65 72 2c 20 77 68 69  |mage viewer, whi|
00008310  63 68 20 6d 65 61 6e 73  20 74 68 61 74 20 69 74  |ch means that it|
00008320  20 69 73 20 74 68 69 73  20 66 69 6c 65 20 74 68  | is this file th|
00008330  61 74 0a 20 20 20 20 20  20 77 69 6c 6c 20 62 65  |at.      will be|
00008340  20 6c 6f 61 64 65 64 20  62 79 20 74 68 65 20 27  | loaded by the '|
00008350  52 65 6c 6f 61 64 20 6c  61 73 74 27 20 6f 70 74  |Reload last' opt|
00008360  69 6f 6e 2e 0a 20 20 20  20 20 20 54 68 65 20 69  |ion..      The i|
00008370  6d 61 67 65 73 20 63 61  6e 20 6f 6e 6c 79 20 62  |mages can only b|
00008380  65 20 73 61 76 65 64 20  61 73 20 73 70 72 69 74  |e saved as sprit|
00008390  65 73 2c 20 77 69 74 68  20 6f 72 20 77 69 74 68  |es, with or with|
000083a0  6f 75 74 20 61 20 70 61  6c 65 74 74 65 20 77 69  |out a palette wi|
000083b0  74 68 0a 20 20 20 20 20  20 32 35 36 20 65 6e 74  |th.      256 ent|
000083c0  72 69 65 73 2e 20 54 68  69 73 20 66 6f 72 6d 61  |ries. This forma|
000083d0  74 20 69 73 20 6f 6e 6c  79 20 75 6e 64 65 72 73  |t is only unders|
000083e0  74 6f 6f 64 20 62 79 20  54 72 61 6e 73 6c 61 74  |tood by Translat|
000083f0  6f 72 2c 20 43 68 61 6e  67 65 46 53 49 20 61 6e  |or, ChangeFSI an|
00008400  64 0a 20 20 20 20 20 20  61 20 66 65 77 20 6f 74  |d.      a few ot|
00008410  68 65 72 20 70 72 6f 67  72 61 6d 73 2e 20 21 50  |her programs. !P|
00008420  61 69 6e 74 20 69 6e 20  52 49 53 43 20 4f 53 20  |aint in RISC OS |
00008430  32 20 64 6f 65 73 6e 27  74 20 72 65 63 6f 67 6e  |2 doesn't recogn|
00008440  69 73 65 20 74 68 65 20  70 61 6c 65 74 74 65 2c  |ise the palette,|
00008450  0a 20 20 20 20 20 20 62  75 74 20 52 49 53 43 20  |.      but RISC |
00008460  4f 53 20 33 20 21 50 61  69 6e 74 20 64 6f 65 73  |OS 3 !Paint does|
00008470  2e 0a 0a 0a 20 20 20 20  20 20 5a 6f 6f 6d 0a 20  |....      Zoom. |
00008480  20 20 20 20 20 2d 2d 2d  2d 0a 20 20 20 20 20 20  |     ----.      |
00008490  54 68 65 20 69 6d 61 67  65 73 20 63 61 6e 20 62  |The images can b|
000084a0  65 20 73 68 6f 77 6e 20  69 6e 20 61 6e 79 20 6d  |e shown in any m|
000084b0  61 67 6e 69 66 69 63 61  74 69 6f 6e 20 66 72 6f  |agnification fro|
000084c0  6d 20 31 30 25 20 74 6f  20 31 39 39 39 25 2e 0a  |m 10% to 1999%..|
000084d0  0a 0a 20 20 20 20 20 20  54 68 65 20 6f 74 68 65  |..      The othe|
000084e0  72 20 6d 65 6e 75 20 74  68 61 74 20 68 61 73 6e  |r menu that hasn|
000084f0  27 74 20 62 65 65 6e 20  6d 65 6e 74 69 6f 6e 65  |'t been mentione|
00008500  64 20 79 65 74 0a 20 20  20 20 20 20 3d 3d 3d 3d  |d yet.      ====|
00008510  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00008530  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 20 20 20 20 20 20  |=========.      |
00008540  54 68 69 73 20 6d 65 6e  75 20 61 70 70 65 61 72  |This menu appear|
00008550  73 20 77 68 65 6e 20 79  6f 75 20 63 6c 69 63 6b  |s when you click|
00008560  20 4d 45 4e 55 20 6f 76  65 72 20 61 6e 20 69 6d  | MENU over an im|
00008570  61 67 65 20 76 69 65 77  65 72 20 74 68 61 74 20  |age viewer that |
00008580  63 6f 6e 74 61 69 6e 73  0a 20 20 20 20 20 20 6e  |contains.      n|
00008590  65 69 74 68 65 72 20 74  68 65 20 73 6f 75 72 63  |either the sourc|
000085a0  65 20 69 6d 61 67 65 20  6e 6f 72 20 74 68 65 20  |e image nor the |
000085b0  64 65 73 74 69 6e 61 74  69 6f 6e 20 69 6d 61 67  |destination imag|
000085c0  65 2e 0a 0a 20 20 20 20  20 20 55 73 65 20 61 73  |e...      Use as|
000085d0  20 73 6f 75 72 63 65 0a  20 20 20 20 20 20 2d 2d  | source.      --|
000085e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
000085f0  20 20 57 69 6c 6c 20 73  65 6c 65 63 74 20 74 68  |  Will select th|
00008600  65 20 69 6d 61 67 65 20  61 73 20 74 68 65 20 6e  |e image as the n|
00008610  65 77 20 73 6f 75 72 63  65 20 69 6d 61 67 65 2e  |ew source image.|
00008620  0a 0a 20 20 20 20 20 20  55 73 65 20 61 73 20 64  |..      Use as d|
00008630  65 73 74 69 6e 61 74 69  6f 6e 0a 20 20 20 20 20  |estination.     |
00008640  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00008650  2d 2d 2d 0a 20 20 20 20  20 20 53 65 65 20 61 62  |---.      See ab|
00008660  6f 76 65 2e 0a 0a 20 20  20 20 20 20 43 6f 70 79  |ove...      Copy|
00008670  2e 43 6f 70 79 20 66 72  6f 6d 20 73 6f 75 72 63  |.Copy from sourc|
00008680  65 0a 20 20 20 20 20 20  2d 2d 2d 2d 2d 2d 2d 2d  |e.      --------|
00008690  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
000086a0  20 20 20 20 54 68 69 73  20 65 6e 74 72 79 20 28  |    This entry (|
000086b0  61 6e 64 20 74 68 65 20  74 68 72 65 65 20 65 6e  |and the three en|
000086c0  74 72 69 65 73 20 62 65  6c 6f 77 29 20 61 6c 6c  |tries below) all|
000086d0  6f 77 73 20 79 6f 75 20  74 6f 20 63 6f 70 79 20  |ows you to copy |
000086e0  74 68 65 20 69 6d 61 67  65 20 74 6f 0a 20 20 20  |the image to.   |
000086f0  20 20 20 65 69 74 68 65  72 20 74 68 65 20 73 6f  |   either the so|
00008700  75 72 63 65 20 6f 72 20  74 68 65 20 64 65 73 74  |urce or the dest|
00008710  69 6e 61 74 69 6f 6e 20  69 6d 61 67 65 2e 0a 0a  |ination image...|
00008720  20 20 20 20 20 20 43 6f  70 79 2e 43 6f 70 79 20  |      Copy.Copy |
00008730  66 72 6f 6d 20 64 65 73  74 69 6e 61 74 69 6f 6e  |from destination|
00008740  0a 20 20 20 20 20 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.      ---------|
00008750  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00008760  2d 0a 0a 20 20 20 20 20  20 43 6f 70 79 2e 43 6f  |-..      Copy.Co|
00008770  70 79 20 74 6f 20 73 6f  75 72 63 65 0a 20 20 20  |py to source.   |
00008780  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |   -------------|
00008790  2d 2d 2d 2d 2d 2d 0a 0a  20 20 20 20 20 20 43 6f  |------..      Co|
000087a0  70 79 2e 43 6f 70 79 20  74 6f 20 64 65 73 74 69  |py.Copy to desti|
000087b0  6e 61 74 69 6f 6e 0a 20  20 20 20 20 20 2d 2d 2d  |nation.      ---|
000087c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000087d0  2d 2d 2d 2d 2d 0a 0a 20  20 20 20 20 20 52 65 6c  |-----..      Rel|
000087e0  6f 61 64 20 6c 61 73 74  0a 20 20 20 20 20 20 2d  |oad last.      -|
000087f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 20 20 20 20 20  |----------.     |
00008800  20 53 65 65 20 4d 69 73  63 2e 52 65 6c 6f 61 64  | See Misc.Reload|
00008810  20 6c 61 73 74 0a 0a 20  20 20 20 20 20 53 61 76  | last..      Sav|
00008820  65 20 69 6d 61 67 65 0a  20 20 20 20 20 20 2d 2d  |e image.      --|
00008830  2d 2d 2d 2d 2d 2d 2d 2d  0a 20 20 20 20 20 20 53  |--------.      S|
00008840  65 65 20 61 62 6f 76 65  2e 0a 0a 20 20 20 20 20  |ee above...     |
00008850  20 5a 6f 6f 6d 0a 20 20  20 20 20 20 2d 2d 2d 2d  | Zoom.      ----|
00008860  0a 20 20 20 20 20 20 53  65 65 20 61 62 6f 76 65  |.      See above|
00008870  2e 0a 0a 0a 20 20 20 4b  6e 6f 77 6e 20 70 72 6f  |....   Known pro|
00008880  62 6c 65 6d 73 2c 20 62  75 67 73 20 61 6e 64 20  |blems, bugs and |
00008890  75 6e 66 69 6e 69 73 68  65 64 20 74 68 69 6e 67  |unfinished thing|
000088a0  73 0a 20 20 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s.  ============|
000088b0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
000088d0  0a 20 20 20 54 68 65 20  66 69 6c 74 65 72 73 20  |.   The filters |
000088e0  64 6f 65 73 6e 27 74 20  77 6f 72 6b 20 6f 6e 20  |doesn't work on |
000088f0  74 68 65 20 70 69 78 65  6c 73 20 6f 6e 20 74 68  |the pixels on th|
00008900  65 20 65 64 67 65 73 20  6f 66 20 74 68 65 20 69  |e edges of the i|
00008910  6d 61 67 65 2f 73 65 6c  65 63 74 65 64 0a 20 61  |mage/selected. a|
00008920  72 65 61 2e 20 54 68 69  73 20 69 73 6e 27 74 20  |rea. This isn't |
00008930  61 20 62 75 67 2c 20 69  74 20 77 61 73 20 6a 75  |a bug, it was ju|
00008940  73 74 20 73 6f 20 6d 75  63 68 20 65 61 73 69 65  |st so much easie|
00008950  72 20 61 6e 64 20 66 61  73 74 65 72 20 74 6f 20  |r and faster to |
00008960  64 6f 20 69 74 20 74 68  61 74 0a 20 77 61 79 2e  |do it that. way.|
00008970  2e 2e 2e 2e 2e 2e 0a 20  20 20 52 65 64 72 61 77  |.......   Redraw|
00008980  69 6e 67 20 69 73 6e 27  74 20 61 6c 77 61 79 73  |ing isn't always|
00008990  20 63 6f 72 72 65 63 74  20 61 66 74 65 72 20 75  | correct after u|
000089a0  73 69 6e 67 20 74 68 65  20 72 75 62 62 65 72 62  |sing the rubberb|
000089b0  61 6e 64 20 74 6f 6f 6c  73 20 28 63 69 72 63 6c  |and tools (circl|
000089c0  65 2c 0a 20 6c 69 6e 65  73 2c 20 72 65 63 74 61  |e,. lines, recta|
000089d0  6e 67 6c 65 73 20 65 74  63 2e 29 20 6f 75 74 73  |ngles etc.) outs|
000089e0  69 64 65 20 61 20 73 65  6c 65 63 74 65 64 20 61  |ide a selected a|
000089f0  72 65 61 2e 0a 20 20 20  54 68 65 20 44 69 73 74  |rea..   The Dist|
00008a00  6f 72 74 20 74 72 69 61  6e 67 6c 65 2f 44 69 73  |ort triangle/Dis|
00008a10  74 6f 72 74 20 71 75 61  64 72 69 6c 61 74 65 72  |tort quadrilater|
00008a20  61 6c 20 72 6f 75 74 69  6e 65 20 73 6f 6d 65 74  |al routine somet|
00008a30  69 6d 65 73 20 70 72 6f  64 75 63 65 73 0a 20 72  |imes produces. r|
00008a40  65 61 6c 6c 79 20 77 65  69 72 64 20 72 65 73 75  |eally weird resu|
00008a50  6c 74 73 2e 20 49 20 68  61 76 65 6e 27 74 20 79  |lts. I haven't y|
00008a60  65 74 20 66 6f 75 6e 64  20 6f 75 74 20 77 68 79  |et found out why|
00008a70  20 28 6f 72 20 77 68 65  6e 29 20 62 75 74 20 49  | (or when) but I|
00008a80  20 74 68 69 6e 6b 20 69  74 0a 20 68 61 73 20 67  | think it. has g|
00008a90  6f 74 20 73 6f 6d 65 74  68 69 6e 67 20 74 6f 20  |ot something to |
00008aa0  64 6f 20 77 69 74 68 20  74 68 65 20 63 6f 72 6e  |do with the corn|
00008ab0  65 72 73 20 6f 66 20 74  68 65 20 73 68 61 70 65  |ers of the shape|
00008ac0  20 62 65 69 6e 67 20 73  65 6c 65 63 74 65 64 0a  | being selected.|
00008ad0  20 63 6c 6f 63 6b 77 69  73 65 20 6f 72 20 61 6e  | clockwise or an|
00008ae0  74 69 2d 63 6c 6f 63 6b  77 69 73 65 2e 0a 20 20  |ti-clockwise..  |
00008af0  20 54 68 65 20 44 69 73  74 6f 72 74 20 71 75 61  | The Distort qua|
00008b00  64 72 61 6e 67 6c 65 20  64 6f 65 73 6e 27 74 20  |drangle doesn't |
00008b10  61 6c 6c 6f 77 20 73 68  61 70 65 73 20 77 68 65  |allow shapes whe|
00008b20  72 65 20 61 6e 79 20 6f  66 20 74 68 65 20 69 6e  |re any of the in|
00008b30  74 65 72 69 6f 72 0a 20  61 6e 67 6c 65 73 20 61  |terior. angles a|
00008b40  72 65 20 3e 20 31 38 30  20 28 64 65 67 2e 29 2e  |re > 180 (deg.).|
00008b50  20 49 74 20 64 6f 65 73  6e 27 74 20 67 65 6e 65  | It doesn't gene|
00008b60  72 61 74 65 20 61 6e 20  65 72 72 6f 72 2c 20 69  |rate an error, i|
00008b70  74 20 6a 75 73 74 20 64  6f 65 73 6e 27 74 20 67  |t just doesn't g|
00008b80  69 76 65 0a 20 74 68 65  20 65 78 70 65 63 74 65  |ive. the expecte|
00008b90  64 20 72 65 73 75 6c 74  2e 0a 20 20 20 41 20 73  |d result..   A s|
00008ba0  6d 61 6c 6c 20 62 75 67  20 70 72 65 76 65 6e 74  |mall bug prevent|
00008bb0  73 20 21 50 72 6f 63 65  73 73 20 66 72 6f 6d 20  |s !Process from |
00008bc0  64 69 73 70 6c 61 79 69  6e 67 20 73 6f 6d 65 20  |displaying some |
00008bd0  73 70 72 69 74 65 66 69  6c 65 73 20 69 66 20 74  |spritefiles if t|
00008be0  68 65 20 73 70 72 69 74  65 2d 0a 20 66 69 6c 65  |he sprite-. file|
00008bf0  20 68 65 61 64 65 72 20  69 73 6e 27 74 20 65 6e  | header isn't en|
00008c00  74 69 72 65 6c 79 20 63  6f 72 72 65 63 74 2c 20  |tirely correct, |
00008c10  65 67 2e 20 77 6f 72 64  20 23 33 20 69 73 20 69  |eg. word #3 is i|
00008c20  6e 76 61 6c 69 64 2c 20  61 6c 74 68 6f 75 67 68  |nvalid, although|
00008c30  20 74 68 69 73 0a 20 64  6f 65 73 6e 27 74 20 63  | this. doesn't c|
00008c40  61 75 73 65 20 70 72 6f  62 6c 65 6d 73 20 77 69  |ause problems wi|
00008c50  74 68 20 21 50 61 69 6e  74 2e 0a 20 20 20 54 68  |th !Paint..   Th|
00008c60  65 20 77 68 69 72 6c 20  65 66 66 65 63 74 2d 66  |e whirl effect-f|
00008c70  61 6d 69 6c 79 20 6d 61  79 20 66 61 69 6c 20 6f  |amily may fail o|
00008c80  6e 20 76 65 72 79 20 6c  61 72 67 65 20 69 6d 61  |n very large ima|
00008c90  67 65 20 6f 72 20 77 68  65 6e 20 75 73 69 6e 67  |ge or when using|
00008ca0  20 76 65 72 79 0a 20 73  6d 61 6c 6c 20 61 6e 67  | very. small ang|
00008cb0  6c 65 73 2e 0a 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |les...----------|
00008cc0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00008d00  2d 2d 2d 2d 0a 0a 20 20  20 48 65 6e 72 69 6b 20  |----..   Henrik |
00008d10  42 6a 65 72 72 65 67 61  61 72 64 20 50 65 64 65  |Bjerregaard Pede|
00008d20  72 73 65 6e 0a 20 20 20  53 74 65 6e 67 61 61 72  |rsen.   Stengaar|
00008d30  64 73 20 41 6c 6c 65 20  31 33 20 42 0a 20 20 20  |ds Alle 13 B.   |
00008d40  44 4b 2d 32 38 30 30 20  4c 79 6e 67 62 79 0a 20  |DK-2800 Lyngby. |
00008d50  20 20 44 65 6e 6d 61 72  6b 0a 0a 20 20 20 50 68  |  Denmark..   Ph|
00008d60  6f 6e 65 20 28 2b 34 35  29 20 34 32 20 38 38 20  |one (+45) 42 88 |
00008d70  33 37 20 35 36 0a                                 |37 56.|
00008d76