In this tutorial we will show you how to create a Style. Here is our new result:

First, load the input image and apply a Sketch 2 Style from the Building blocks, Simple styles sub-category. Then add a Random Painter Style in sequence (so that the second Style acts on the first – see the screencapture below). Now change the Random Painter Brush family to Marker Scratch using the options in the Properties + Preview pane. Next, following this first step, add a Threshold filter from the Color Tools sub-category, below the first layer created - as is also illustrated in the screencapture; simply drag and drop the filter from the Styles browser over to the Style Layers stack. 

Once this new bottommost layer has been created, add a Min Value filter (from the Basic Image Processing group folder) in sequence with it. You can check the outputs from each step you take over in the Properties + Preview pane. Adjust the properties of the Threshold and the Min Value blocks to achieve a good partial representation of the input image. Note that his new layer is not as yet visible in the Compositing tab - as the blending mode for the uppermost layer is set to Normal. This will change in the next stepnbsp;

Now switch into the Style Editor and from the Utilities folder, insert a Blend filter in the workspace (either double-click it or drag and drop). Connect the Output pin of Random Painter to the upper Input pin of the Blend filter. And then connect the output from Min Value to the lower one there. Complete this step in the Properties + Preview pane, by changing the Blending Mode there from Normal to Multiply and finally connect the Output pin over to the Layer #1 block on the right. 

Next: add a new instance of Random Painter after the Blend filter. You can do that using the bottom tool bar: just click the second icon from the right there and the addable Styles and filters will be listed. From Building blocks/ Simple styles, click Random Painter. The filter will be immediately added and connected between the Blend filter and Layer#1 block. As previously, change the Brush family to Marker Scratch. 

Drop a new Blend filter into the workspace, and connect the first Random Painter Output pin to the top Input node and the second Random Painter's Output to the pin at the bottom. The Blend block Output pin needs to be connected to Layer #1. Change the actual Blending Mode in use from Normal to Darken. 

Drop a Sketch filter in the workspace. Connect it directly to the Image source and to a new blend filter. (or you can also simply connect the Sketch's output pin in a new Layer #2 above Layer #1 in the result filter by drawing an arrow.) Change the Blending Mode to Multiply. Now you should have what can be seen from the screencapture below. 

And finally now switch back to the Compositing tab: all of the Styles and filters in use are now present as a single layer identified as Complex Filter. If you click on it and switch to the Properties + Preview pane, all the individual components of this composite layer will be listed and you will be able to modify their properties. Drop an instance of Grayscale above the Complex Filter layer. 

Add a Map to Palette (from the Simple styles sub-group folder) after the Grayscale filter and blend this layer with the lower layer using the Linear Light blending mode.

This, below, could be a finished output.

But you still can change some key properties, such as the value in the Threshold filter and the Number of colors in the Map to Palette block to gain a different rendering.

Some extra tips:

  1. save all of this work as both a Project (in the Save dialog, from the File menu) and as a custom Style (from the Styles menu),
  2. if you use the Style again on another image, consider making some fine adjustments to the Brightness and Contrast of the new Image Source (you can do that directly in the Properties + Preview pane), and,
  3. you can add color to the output by – for example – including a new Pencil Sketch Style Layer above the existing two, turning on its Colored Pencils option, and using it in the Overlay Blending Mode.