How to use the Palette Extractor and Palette Generator filters

 

_____Palette Extractor

In this tutorial we will show you how to use correctly and creatively the filters depending on palettes. As you will need to use the Style Editor, this tutorial can not be realized in the Simple Layout of PostworkShop. First, load an image and switch from the Compositing to the Style Editor.

In this first part we will use the Palette Extractor, which will need a secondary image source. From Building blocks/Generators/Sources insert the Image Source Filter beneath the Image Source. Being a source, these filters can not be inserted into the workspace but have to be inserted below the Image Source. 

Select the Image Source Filter and switch to the Properties+Preview pane, browse for the image file from your computers folder. 

The Secondary Image Source's thumbnail will be refreshed with your image.

One interesting possibility of the Palette Extractor can be to link it to a Map to Palette (Building blocks/Simple styles). This will allow you to change radically the character of your style, of your image. Insert the Map to Palette and right-click the filter node. Select to add a Palette Extractor filter before, as shown below. 

Double-click the Palette Extractor filter node (from Building blocks/Color tools) to insert it into the Style Editor viewport and link the secondary image source's output pin to the Image input of the Palette Extractor filter. By default, the Palette Extractor will extract 5 colors from the image. Switch to the Properties+Preview pane to edit the number of colors and the Palette method. More about the Palette Editor in this tutorial: click here.

You can set the Number of colors and the Palette method in the Properties+Preview pane. 

Switch back to the Compositing viewport to see the result and the bigger image. As you can see, the Object is still only 1, the original Boat image, and its layer is a Complex Filter since there is the Secondary image source and the Palette filter that can be added only in the Style Editor creating a complex web of filters linked together. 

By selecting the Complex Filter you still can change the filters properties. Another example by changing the Palette Extractor's properties can be :  

 

_____Palette Generator

Next, we will use a Palette Generator to modify the color ambience of the PostworkShop renders. Using the Palette Generator does not require any secondary image as the palette is defined directly in the generator. For first, we will be using the Gradient filter from the Color tools to change the mood of our default image. Drop a Palette Generator filter into the workspace of the Style Editor. 

Connect the Palette Generator's output (blue) pin to the Gradient's input Palette pin.

Double-cilck the Palette Generator filter. The Palette Editor window appears. 

Select from the Palettes list the one you wish to use. Here we have chosen "Sand". Click "Load from Repository" - or double-click the Palette's name - and click Apply to set the changes. We also decided to Sort Palette on Luminosity, so we clicked that button too. Then click OK. 

The result image will be rendered again with the new colours applied to it. In the Properties+Preview pane you can see the image updated. 

Switch back to the Compositing view to see the result. The image has one Complex Filter which properties can be changed by selecting it and modifying the filter's properties. 
To obtain a great result of a complete work, we decided to add a Random Painter and a Texturizer, in chain with the previous already Complex Filter.
TIP: Also, to get a bit more contrast of the colors, we dropped a Grayscale filter above, with the Overlay Blending mode set to 10%.
And the final result is: 

More palettes can be downloaded from the PostworkShop website: http://postworkshop.net/download/category/Palettes