.. _eu.gmic.Sketch:

G’MIC Sketch node
=================

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

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                         |
+=====================================================+=========+================+==================================+
| Number of orientations / ``Number_of_orientations`` | Integer | 3              |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Starting angle / ``Starting_angle``                 | Double  | 45             |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Angle range / ``Angle_range``                       | Double  | 180            |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Stroke length / ``Stroke_length``                   | Double  | 30             |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Contour threshold / ``Contour_threshold``           | Double  | 1.75           |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Opacity / ``Opacity``                               | Double  | 0.02           |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Background intensity / ``Background_intensity``     | Double  | 0.5            |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Density / ``Density``                               | Double  | 0.75           |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Sharpness / ``Sharpness``                           | Double  | 0.1            |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Anisotropy / ``Anisotropy``                         | Double  | 0.7            |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Smoothness / ``Smoothness``                         | Double  | 3              |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Coherence / ``Coherence``                           | Double  | 6              |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Boost stroke / ``Boost_stroke``                     | Boolean | Off            |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Curved stroke / ``Curved_stroke``                   | Boolean | On             |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Color model / ``Color_model``                       | Choice  | Color on white | |                                |
|                                                     |         |                | | **Black on white**             |
|                                                     |         |                | | **White on black**             |
|                                                     |         |                | | **Black on transparent white** |
|                                                     |         |                | | **White on transparent black** |
|                                                     |         |                | | **Color on white**             |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Preview type / ``Preview_type``                     | Choice  | Full           | |                                |
|                                                     |         |                | | **Full**                       |
|                                                     |         |                | | **Forward horizontal**         |
|                                                     |         |                | | **Forward vertical**           |
|                                                     |         |                | | **Backward horizontal**        |
|                                                     |         |                | | **Backward vertical**          |
|                                                     |         |                | | **Duplicate top**              |
|                                                     |         |                | | **Duplicate left**             |
|                                                     |         |                | | **Duplicate bottom**           |
|                                                     |         |                | | **Duplicate right**            |
|                                                     |         |                | | **Duplicate horizontal**       |
|                                                     |         |                | | **Duplicate vertical**         |
|                                                     |         |                | | **Checkered**                  |
|                                                     |         |                | | **Checkered inverse**          |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| Preview split / ``Preview_split``                   | Double  | x: 0.5 y: 0.5  |                                  |
+-----------------------------------------------------+---------+----------------+----------------------------------+
| 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**                    |
+-----------------------------------------------------+---------+----------------+----------------------------------+
