home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
f
/
fractal112
/
!EditPal
/
!Help
< prev
next >
Wrap
Text File
|
1994-11-20
|
4KB
|
92 lines
256 Colour Palette File Editor from Mike Curnow
===============================================
This application allows 256 colour palette files to be edited. The palette
files can be used with graphics enhancer boards, with 256 colour sprites,
and with applications that support 256 colour palette files such as !Paint
and !Fractal.
This software requires RiscOS 3.1 or higher.
Use !Help to get help on icons & menus. This file provides additional help.
256 Colour Palette Files
========================
These files are like the standard 16 colour Wimp palette files but with 256
colours. The internal format is simply a VDU stream composed as follows:
19,n,16,r,g,b where n=0-255 colour number, and r/g/b are the colour levels.
To set the palette outside the desktop use *PRINT filename. Under the
desktop use the palette utility supplied with your graphics card - just drag
the file onto the palette utility.
256 colour palette files are supported on the RiscPC and machines fitted with
a graphics enhancer such as the Colour Card.
If you don't have a graphics card you can still use 256 colour palettes in
your 256 colour sprites. This is useful to get 256 grey scales when printing
or transferring sprites to computers that support 256 colour images. To set
the palette of a sprite, simply load the sprite file into !Paint and edit
the sprite. Then drag a palette file onto the sprite window - !Paint will
automatically redraw the image with the new colours as best as possible in
the mode you are in. Note that you can drag straight from the EditPal
Save-As window onto the !Paint window.
Editing A Palette File
======================
Load EditPal and then drag a palette file onto its icon to edit.
Alternatively click SELECT to edit the default palette or Adjust the current
palette if in a 256 colour mode.
To edit a single colour double click SELECT on a square and then use the
palette editor. The colour being edited is highlighted by a white square,
and its number is shown in the palette editor title.
To use the edit tools you need to select 1 or more colours. Click SELECT on
the initial colour, then click ADJUST to set the range of colours which will
be shown by a dashed box. Cancel a range by clicking SELECT.
To Copy/Move/Swap/Merge a range, click SELECT over the FIRST colour of the
range and then DRAG to the new position - a rotating dashed box shows that
dragging is in progress.
To increment / decrement a range of colours click SELECT / ADJUST on '⇧ ⇩'.
Use the numbers below the icon to set the increment.
Blend sets the colours in between the first and last selected colours to a
smooth gradient. Use the colour icons below to select which colours to
blend. For example if colour 0 was black and colour 255 was white, blending
between the two would produce a grey scale.
Rotate allows the colours to be rotated by +/- 90°. Besides the obvious
effect, this facility is provided to allow you to select and edit a range of
"vertical" colours.
Viewing Palette Files
=====================
Up to 16 palettes may be viewed at the same time. You can copy via dragging
palette values from one window into another. Colours are shown as best as
possible by dithering - select a 256 colour mode for best results. When in a
256 colour mode you can click SELECT on the RGB tool icon to set the screen
palette. Alternatively click ADJUST to set the palette except for colours
0-15 which are set to the desktop colours.
============================================================================
History
-------
1.00 March 93 Initial version
1.01 25/04/93 Preserve desktop colours when setting the palette.
1.10 20/06/94 Internal changes.
============================================================================
Copyright Mike Curnow 1994. Not to be sold or copied under any circumstances
without prior permission from the author.
Mike Curnow
Stoneleigh
Swan Lane
Great Bourton
BANBURY
OX17 1QR