.. _eu.gmic.Stroke:

G’MIC Stroke node
=================

*This documentation is for version 1.0 of G’MIC Stroke.*

Description
-----------

Wrapper for the G’MIC framework (http://gmic.eu) written by Tobias Fleischer (http://www.reduxfx.com) and Frederic Devernay.

Inputs
------

+--------+-------------+----------+
| Input  | Description | Optional |
+========+=============+==========+
| Source |             | No       |
+--------+-------------+----------+

Controls
--------

.. tabularcolumns:: |>{\raggedright}p{0.2\columnwidth}|>{\raggedright}p{0.06\columnwidth}|>{\raggedright}p{0.07\columnwidth}|p{0.63\columnwidth}|

.. cssclass:: longtable

+---------------------------------------------------------+---------+---------------------+-----------------------+
| Parameter / script name                                 | Type    | Default             | Function              |
+=========================================================+=========+=====================+=======================+
| Thickness (px) / ``Thickness_px``                       | Integer | 3                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Threshold (%) / ``Threshold_``                          | Double  | 50                  |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Smoothness (px) / ``Smoothness_px``                     | Double  | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Shape / ``Shape``                                       | Choice  | Round               | |                     |
|                                                         |         |                     | | **Square**          |
|                                                         |         |                     | | **Diamond**         |
|                                                         |         |                     | | **Round**           |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Direction / ``Direction``                               | Choice  | Outward             | |                     |
|                                                         |         |                     | | **Inward**          |
|                                                         |         |                     | | **Outward**         |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Zoom (%) / ``Zoom_``                                    | Double  | 100                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| X-shift (px) / ``Xshift_px``                            | Integer | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Y-shift (px) / ``Yshift_px``                            | Integer | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Starting color / ``Starting_color``                     | Color   | r: 1 g: 1 b: 1 a: 1 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Ending color / ``Ending_color``                         | Color   | r: 1 g: 1 b: 1 a: 1 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Inside color / ``Inside_color``                         | Color   | r: 0 g: 0 b: 0 a: 0 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Outside color / ``Outside_color``                       | Color   | r: 0 g: 0 b: 0 a: 0 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Output stroke layer on / ``Output_stroke_layer_on``     | Choice  | Top                 | |                     |
|                                                         |         |                     | | **Bottom**          |
|                                                         |         |                     | | **Top**             |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Keep original image size / ``Keep_original_image_size`` | Boolean | Off                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Output Layer / ``Output_Layer``                         | Choice  | Layer 0             | |                     |
|                                                         |         |                     | | **Merged**          |
|                                                         |         |                     | | **Layer 0**         |
|                                                         |         |                     | | **Layer -1**        |
|                                                         |         |                     | | **Layer -2**        |
|                                                         |         |                     | | **Layer -3**        |
|                                                         |         |                     | | **Layer -4**        |
|                                                         |         |                     | | **Layer -5**        |
|                                                         |         |                     | | **Layer -6**        |
|                                                         |         |                     | | **Layer -7**        |
|                                                         |         |                     | | **Layer -8**        |
|                                                         |         |                     | | **Layer -9**        |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Resize Mode / ``Resize_Mode``                           | Choice  | Dynamic             | |                     |
|                                                         |         |                     | | **Fixed (Inplace)** |
|                                                         |         |                     | | **Dynamic**         |
|                                                         |         |                     | | **Downsample 1/2**  |
|                                                         |         |                     | | **Downsample 1/4**  |
|                                                         |         |                     | | **Downsample 1/8**  |
|                                                         |         |                     | | **Downsample 1/16** |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Ignore Alpha / ``Ignore_Alpha``                         | Boolean | Off                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Preview/Draft Mode / ``PreviewDraft_Mode``              | Boolean | Off                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Log Verbosity / ``Log_Verbosity``                       | Choice  | Off                 | |                     |
|                                                         |         |                     | | **Off**             |
|                                                         |         |                     | | **Level 1**         |
|                                                         |         |                     | | **Level 2**         |
|                                                         |         |                     | | **Level 3**         |
+---------------------------------------------------------+---------+---------------------+-----------------------+
