![]() | PalMaker 256 colour palette editor for RiscOS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
PalMaker ![]() Disclaimer Background Use Tools · Selection tools · Whole palette tools · Dragging · Channels · 16-colour import · Saving History Signing off !HTML³ |
Disclaimer![]()
BackgroundOnce upon a time I found a nice 256 colour palette editor buried deep in a directory on a disc containing something that I would never have associated with any kind of graphics editing. I had great fun editing 256 greyscale digitised images, creating all kinds of moods with heavy colour saturation, or playing with false-colouring scenes with complicated palette blends.Then my computer was stolen. I went through every disc I could think of, but could never find that palette editor again. Eventually I got Photodesk, which can do simple palette editing with blends, but it just wasn't enough - the display wasn't right, there weren't enough controls and so on. So, I decided to write my own.
UseI hope your mouse buttons are in good working order...
All that will become clear if you read on... (I hope!)
ToolsThere are essentially two different types of tools in the tools window - those which can be used at any time and affect the whole palette of 256 colours, and those which require an area to be selected. The "Selection" tools come first.
Selection toolsTo create a select area, click on a colour at the start (or end) of the area you want to change with the RIGHT mouse button (Adjust); then go to the other end and click Select (the LEFT mouse button). You should see that the area selected has been "slabbed in". You can of course select the whole palette by selecting the first and last colours, or there's a "Select all" button. The smallest area you can select is one colour. To deselect the area, just click on the colour area; any operation such as selecting a new area, or dragging colours around, will also cancel the currently select area. There's also a "Clear selection" button.
Whole palette toolsThese tools affect the whole palette, no matter what area is selected; as such they should be used with care!
DraggingYou can drag a colour in the palette from one position to a new one; by default this will Copy the contents of the first colour into the second one, which is useful if you haven't quite got the colour in the right place. For instance, if you create a black to red to white palette and it looks a little dark, you might want to move the red up a couple of rows and re-blend it.Swap exchanges the first and second colours, useful if you want to change one colour but preserve the colours in the destination slot. For instance, if you're creating a sequence of 16 colour strips of colour for a game, you might want to simply have the reds before the blues, but you still need the blues so you swap them over. Merge allows you to build new colours - for instance, if you have a colour and drag black into it, the colour becomes darker; drag some red into it and it becomes a little more red and so on. It means you can create colours from existing colours in a slightly different way to the colour picker - you can generally only add red, green and blue or cyan, magenta, yellow and black from the colour picker, whereas this allows you to add a tint of any other colour.
ChannelsBy switching on and off the channels you can apply any and all of the above tools to just the red, green or blue (or in combination to yellow, magenta or cyan) parts of the colour; so, for instance, if a palette looks a little too glaring red, you can darken the red channel and it looks a little more brown, or lighten the green channel to make it more orange (as red and green go to make yellow in the RGB colour model). This takes a little geting used to, and can lead to some weird effects!
16-colour palette importPalMaker uses 256 colour palettes; however, Risc OS also allows 16 colour palettes to be used, which can be useful for simpler images, and I already had a number of these due to the 16 colour palette editor I wrote into !HTML3. To quickly use these in PalMaker I wrote a 16 colour palette importer function which has the ability to blend the colours to fill the whole 256 colour places PalMaker uses.Full blend is the best blending to convert a 16 colour palette to 256 colours - it takes every colour in the 16 colour palette and assigns them to every seventeenth colour in the 256 colour palette, blending between them as it goes. So, if you have a 16 colour palette theat goes from black to blue to white, you'll have the same effect in 256 colours. Left hand wrap drops the 16 colours into the 16 colours on the left of the 256 colour palette, and then blends to the colour in the next left hand slot; this is a more accurate blend than "Full", but if you have a traditional dark to light 16 colour palette the last line will probaly be white fading quickly to black, which looks odd. However, this wrap-around may be desirable for other effects, such as colour cycling. Row and Column basically just drop the 16 colour palette into the 16 colours of the row or column you drop it on to; for instance, drop a raindow palette with Column import switched on, make the whole of the left column black, the whole of the right hand colour white, blend along the lines, and you have a pretty good games palette for easy lightshading.
SavingThe save box is, despite it being tacked onto the end of the tools window, a conventional save box - you can type in full path names and click "OK", or drag the palette icon to the filer window of your choice. At the moment RAM transfer isn't supported, as !Paint seems to be broken in this respect. I thought it might be my dodgy programming, but it gives the same incorrect error messages when I try to do saves from other programs that I haven't written (like Photodesk 3), so either Paint is broken or everything else is.
History
Signing offIf you like this, let me know by emailing richard@goodwin.uk.com You might also be interested in !HTML3 - a HTML helper, which just happens to have a 16 colour palette editor built in. It can be found at http://www.goodwin.uk.com/richard/programs/html3/
Rich Goodwin
|