Expanded explanation: how stamp tinting modes work

This commit is contained in:
Bill Kendrick 2021-09-19 12:40:06 -07:00
parent 65a565d7a7
commit 2f8ec50556
11 changed files with 158 additions and 94 deletions

View file

@ -85,6 +85,9 @@ $Id$
* Moved Windows and macOS compilation instructions into main
"Installation Documentation" (docs/.../INSTALL...).
* Expanded explanation of how stamp tinting modes work
in "Extending Tux Paint" documentation.
* Documentation translation updates:
+ French translation
Jacques Chion <jacques.chion@orange.fr>

View file

@ -5,7 +5,7 @@
Copyright © 2002-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
September 6, 2021
September 19, 2021
----------------------------------------------------------------------
@ -426,15 +426,28 @@ Stamps
one of the following lines to the stamp's data file:
Normal tinter — "tinter=normal" (the default)
This is the normal tinting mode. (Hue range is ±18°, 27
replace.)
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. (Hue range is ±180°.)
This is the normal tinting mode. First, the primary hue
of the stamp is determined. (For example, a picture of a
flower with a stem will have the petal color seen as the
primary hue of the overall image.) Next, the most highly
saturated part of the picture is found. With "normal
tinter", the range of hue used to do this starts out
within ±18° of the pimary hue found in step 1. (If none
can be found, it widens the range by 50% and tries
again.) Finally, the image is tinted. Anything falling
within 50% of the range (e.g., ±27°) is altered to have
the hue of the color chosen by the user.
Narrow tinter — "tinter=narrow"
This like the "anyhue" option, but with a narrower hue
angle. (Hue range is ±6°, 9 replace.)
This like the "normal" option described above, but
starts a narrower hue range of ±6°. Anything found
within 50% of the range (e.g. ±9°) is tinted. If too
much of your stamp is being tinted, try this option.
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. It works similarly to
the "anyhue" and "narrow" options described above, but
the hue range is ±180°.)
Vector tinter — "tinter=vector"
This maps 'black through white' to 'black through

View file

@ -26,7 +26,7 @@
</p>
<p>
September 6, 2021 </p>
September 19, 2021 </p>
</center>
<hr size="2"
@ -612,21 +612,21 @@
Normal tinter &mdash; "<code><b>tinter=normal</b></code>" (the default) </dt>
<dd>
This is the normal tinting mode. (Hue range is ±18°, 27 replace.) </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps all hues in the stamp. (Hue range is ±180°.) </dd>
This is the normal tinting mode. First, the primary hue of the stamp is determined. (For example, a picture of a flower with a stem will have the petal color seen as the primary hue of the overall image.) Next, the most highly saturated part of the picture is found. With "normal tinter", the range of hue used to do this starts out within ±18° of the pimary hue found in step 1. (If none can be found, it widens the range by 50% and tries again.) Finally, the image is tinted. Anything falling within 50% of the range (e.g., ±27°) is altered to have the hue of the color chosen by the user. </dd>
<dt>
Narrow tinter &mdash; "<code><b>tinter=narrow</b></code>"
</dt>
<dd>
This like the "<code>anyhue</code>" option, but with a narrower hue angle. (Hue range is ±6°, 9 replace.) </dd>
This like the "<code>normal</code>" option described above, but starts a narrower hue range of ±6°. Anything found within 50% of the range (e.g. ±9°) is tinted. If too much of your stamp is being tinted, try this option. </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps <em>all</em> hues in the stamp. It works similarly to the "<code>anyhue</code>" and "<code>narrow</code>" options described above, but the hue range is ±180°. </dd>
<dt>
Vector tinter &mdash; "<code><b>tinter=vector</b></code>"

View file

@ -5,7 +5,7 @@
Copyright © 2002-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
septiembre 6, 2021
septiembre 19, 2021
----------------------------------------------------------------------
@ -426,15 +426,28 @@ Stamps
one of the following lines to the stamp's data file:
Normal tinter — "tinter=normal" (the default)
This is the normal tinting mode. (Hue range is ±18°, 27
replace.)
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. (Hue range is ±180°.)
This is the normal tinting mode. First, the primary hue
of the stamp is determined. (For example, a picture of a
flower with a stem will have the petal color seen as the
primary hue of the overall image.) Next, the most highly
saturated part of the picture is found. With "normal
tinter", the range of hue used to do this starts out
within ±18° of the pimary hue found in step 1. (If none
can be found, it widens the range by 50% and tries
again.) Finally, the image is tinted. Anything falling
within 50% of the range (e.g., ±27°) is altered to have
the hue of the color chosen by the user.
Narrow tinter — "tinter=narrow"
This like the "anyhue" option, but with a narrower hue
angle. (Hue range is ±6°, 9 replace.)
This like the "normal" option described above, but
starts a narrower hue range of ±6°. Anything found
within 50% of the range (e.g. ±9°) is tinted. If too
much of your stamp is being tinted, try this option.
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. It works similarly to
the "anyhue" and "narrow" options described above, but
the hue range is ±180°.)
Vector tinter — "tinter=vector"
This maps 'black through white' to 'black through

View file

@ -26,7 +26,7 @@
</p>
<p>
septiembre 6, 2021 </p>
septiembre 19, 2021 </p>
</center>
<hr size="2"
@ -612,21 +612,21 @@
Normal tinter &mdash; "<code><b>tinter=normal</b></code>" (the default) </dt>
<dd>
This is the normal tinting mode. (Hue range is ±18°, 27 replace.) </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps all hues in the stamp. (Hue range is ±180°.) </dd>
This is the normal tinting mode. First, the primary hue of the stamp is determined. (For example, a picture of a flower with a stem will have the petal color seen as the primary hue of the overall image.) Next, the most highly saturated part of the picture is found. With "normal tinter", the range of hue used to do this starts out within ±18° of the pimary hue found in step 1. (If none can be found, it widens the range by 50% and tries again.) Finally, the image is tinted. Anything falling within 50% of the range (e.g., ±27°) is altered to have the hue of the color chosen by the user. </dd>
<dt>
Narrow tinter &mdash; "<code><b>tinter=narrow</b></code>"
</dt>
<dd>
This like the "<code>anyhue</code>" option, but with a narrower hue angle. (Hue range is ±6°, 9 replace.) </dd>
This like the "<code>normal</code>" option described above, but starts a narrower hue range of ±6°. Anything found within 50% of the range (e.g. ±9°) is tinted. If too much of your stamp is being tinted, try this option. </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps <em>all</em> hues in the stamp. It works similarly to the "<code>anyhue</code>" and "<code>narrow</code>" options described above, but the hue range is ±180°. </dd>
<dt>
Vector tinter &mdash; "<code><b>tinter=vector</b></code>"

View file

@ -5,7 +5,7 @@
Copyright &copie; 2002-2021 par divers contributeurs; voir AUTHORS.
http://www.tuxpaint.org/
septembre 6, 2021
septembre 19, 2021
----------------------------------------------------------------------
@ -462,17 +462,28 @@ Tampons
de données du tampon :
Coloriage normal — "tinter=normal" (par défaut)
C'est le mode normal pour teinter. (La gamme de teinte
est de +/- 18°)
Coloriage 'toutes tonalités' — "tinter=anyhue"
Cela remappe toutes les teintes du tampon. (La plage de
teinte est de ± 180°.)
This is the normal tinting mode. First, the primary hue
of the stamp is determined. (For example, a picture of a
flower with a stem will have the petal color seen as the
primary hue of the overall image.) Next, the most highly
saturated part of the picture is found. With "normal
tinter", the range of hue used to do this starts out
within ±18° of the pimary hue found in step 1. (If none
can be found, it widens the range by 50% and tries
again.) Finally, the image is tinted. Anything falling
within 50% of the range (e.g., ±27°) is altered to have
the hue of the color chosen by the user.
Coloriage étroit — "tinter=narrow"
Cela ressemble à "anyhue", mais avec un angle de teinte
plus étroit. (La gamme de teinte est de ± 6 °, 9
remplacer.)
This like the "normal" option described above, but
starts a narrower hue range of ±6°. Anything found
within 50% of the range (e.g. ±9°) is tinted. If too
much of your stamp is being tinted, try this option.
Coloriage 'toutes tonalités' — "tinter=anyhue"
This remaps all hues in the stamp. It works similarly to
the "anyhue" and "narrow" options described above, but
the hue range is ±180°.)
Coloriage vectoriel — "tinter=vector"
Cela mappe «noir à blanc» à «noir à destination».

View file

@ -26,7 +26,7 @@
</p>
<p>
septembre 6, 2021 </p>
septembre 19, 2021 </p>
</center>
<hr size="2"
@ -612,21 +612,21 @@
Coloriage normal &mdash; "<code><b>tinter=normal</b></code>" (par défaut) </dt>
<dd>
C'est le mode normal pour teinter. (La gamme de teinte est de +/- 18°) </dd>
<dt>
Coloriage 'toutes tonalités' &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
Cela remappe toutes les teintes du tampon. (La plage de teinte est de ± 180°.) </dd>
This is the normal tinting mode. First, the primary hue of the stamp is determined. (For example, a picture of a flower with a stem will have the petal color seen as the primary hue of the overall image.) Next, the most highly saturated part of the picture is found. With "normal tinter", the range of hue used to do this starts out within ±18° of the pimary hue found in step 1. (If none can be found, it widens the range by 50% and tries again.) Finally, the image is tinted. Anything falling within 50% of the range (e.g., ±27°) is altered to have the hue of the color chosen by the user. </dd>
<dt>
Coloriage étroit &mdash; "<code><b>tinter=narrow</b></code>"
</dt>
<dd>
Cela ressemble à "<code>anyhue</code>", mais avec un angle de teinte plus étroit. (La gamme de teinte est de ± 6 °, 9 remplacer.) </dd>
This like the "<code>normal</code>" option described above, but starts a narrower hue range of ±6°. Anything found within 50% of the range (e.g. ±9°) is tinted. If too much of your stamp is being tinted, try this option. </dd>
<dt>
Coloriage 'toutes tonalités' &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps <em>all</em> hues in the stamp. It works similarly to the "<code>anyhue</code>" and "<code>narrow</code>" options described above, but the hue range is ±180°. </dd>
<dt>
Coloriage vectoriel &mdash; "<code><b>tinter=vector</b></code>"

View file

@ -5,7 +5,7 @@
Copyright © 2002-2021 por varios colaboradores; vexa AUTHORS (AUTORES).
http://www.tuxpaint.org/
6 de Setembro de 2021
19 de Setembro de 2021
----------------------------------------------------------------------
@ -441,17 +441,28 @@ Selos
seguintes liñas ao ficheiro de datos do selo:
Tinguido normal — "tinter=normal" (o predeterminado)
Este é o modo normal de tinguido. (O rango de tonalidade
é de ± 18 °, 27 como substituto).
Tinguir de «calquera tonalidade» — "tinter=anyhue"
Isto volve asignar todas as tonalidades do selo. (O
rango de tonalidades é de ± 180°).
This is the normal tinting mode. First, the primary hue
of the stamp is determined. (For example, a picture of a
flower with a stem will have the petal color seen as the
primary hue of the overall image.) Next, the most highly
saturated part of the picture is found. With "normal
tinter", the range of hue used to do this starts out
within ±18° of the pimary hue found in step 1. (If none
can be found, it widens the range by 50% and tries
again.) Finally, the image is tinted. Anything falling
within 50% of the range (e.g., ±27°) is altered to have
the hue of the color chosen by the user.
Tinguido estreito — "tinter=narrow"
Isto é como a opción «anyhue», pero cun ángulo de
tonalidade máis reducido. (O intervalo de tonalidade é
de ± 6 °, 9 como substituto).
This like the "normal" option described above, but
starts a narrower hue range of ±6°. Anything found
within 50% of the range (e.g. ±9°) is tinted. If too
much of your stamp is being tinted, try this option.
Tinguir de «calquera tonalidade» — "tinter=anyhue"
This remaps all hues in the stamp. It works similarly to
the "anyhue" and "narrow" options described above, but
the hue range is ±180°.)
Tinguido vectorial — "tinter=vector"
Isto asigna de «negro a través branco» a «negro a través

View file

@ -26,7 +26,7 @@
</p>
<p>
6 de Setembro de 2021 </p>
19 de Setembro de 2021 </p>
</center>
<hr size="2"
@ -612,21 +612,21 @@
Tinguido normal &mdash; "<code><b>tinter=normal</b></code>" (o predeterminado) </dt>
<dd>
Este é o modo normal de tinguido. (O rango de tonalidade é de ± 18 °, 27 como substituto). </dd>
<dt>
Tinguir de «calquera tonalidade» &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
Isto volve asignar todas as tonalidades do selo. (O rango de tonalidades é de ± 180°). </dd>
This is the normal tinting mode. First, the primary hue of the stamp is determined. (For example, a picture of a flower with a stem will have the petal color seen as the primary hue of the overall image.) Next, the most highly saturated part of the picture is found. With "normal tinter", the range of hue used to do this starts out within ±18° of the pimary hue found in step 1. (If none can be found, it widens the range by 50% and tries again.) Finally, the image is tinted. Anything falling within 50% of the range (e.g., ±27°) is altered to have the hue of the color chosen by the user. </dd>
<dt>
Tinguido estreito &mdash; "<code><b>tinter=narrow</b></code>"
</dt>
<dd>
Isto é como a opción «<code>anyhue</code>», pero cun ángulo de tonalidade máis reducido. (O intervalo de tonalidade é de ± 6 °, 9 como substituto). </dd>
This like the "<code>normal</code>" option described above, but starts a narrower hue range of ±6°. Anything found within 50% of the range (e.g. ±9°) is tinted. If too much of your stamp is being tinted, try this option. </dd>
<dt>
Tinguir de «calquera tonalidade» &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps <em>all</em> hues in the stamp. It works similarly to the "<code>anyhue</code>" and "<code>narrow</code>" options described above, but the hue range is ±180°. </dd>
<dt>
Tinguido vectorial &mdash; "<code><b>tinter=vector</b></code>"

View file

@ -5,7 +5,7 @@
Copyright © 2002-2021 by various contributors; "AUTHORS" 参照.
http://www.tuxpaint.org/
2021年9月 6
2021年9月19
----------------------------------------------------------------------
@ -426,15 +426,28 @@ Stamps
one of the following lines to the stamp's data file:
Normal tinter — "tinter=normal" (the default)
This is the normal tinting mode. (Hue range is ±18°, 27
replace.)
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. (Hue range is ±180°.)
This is the normal tinting mode. First, the primary hue
of the stamp is determined. (For example, a picture of a
flower with a stem will have the petal color seen as the
primary hue of the overall image.) Next, the most highly
saturated part of the picture is found. With "normal
tinter", the range of hue used to do this starts out
within ±18° of the pimary hue found in step 1. (If none
can be found, it widens the range by 50% and tries
again.) Finally, the image is tinted. Anything falling
within 50% of the range (e.g., ±27°) is altered to have
the hue of the color chosen by the user.
Narrow tinter — "tinter=narrow"
This like the "anyhue" option, but with a narrower hue
angle. (Hue range is ±6°, 9 replace.)
This like the "normal" option described above, but
starts a narrower hue range of ±6°. Anything found
within 50% of the range (e.g. ±9°) is tinted. If too
much of your stamp is being tinted, try this option.
'Any hue' tinter — "tinter=anyhue"
This remaps all hues in the stamp. It works similarly to
the "anyhue" and "narrow" options described above, but
the hue range is ±180°.)
Vector tinter — "tinter=vector"
This maps 'black through white' to 'black through

View file

@ -26,7 +26,7 @@
</p>
<p>
2021年9月 6</p>
2021年9月19</p>
</center>
<hr size="2"
@ -612,21 +612,21 @@
Normal tinter &mdash; "<code><b>tinter=normal</b></code>" (the default) </dt>
<dd>
This is the normal tinting mode. (Hue range is ±18°, 27 replace.) </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps all hues in the stamp. (Hue range is ±180°.) </dd>
This is the normal tinting mode. First, the primary hue of the stamp is determined. (For example, a picture of a flower with a stem will have the petal color seen as the primary hue of the overall image.) Next, the most highly saturated part of the picture is found. With "normal tinter", the range of hue used to do this starts out within ±18° of the pimary hue found in step 1. (If none can be found, it widens the range by 50% and tries again.) Finally, the image is tinted. Anything falling within 50% of the range (e.g., ±27°) is altered to have the hue of the color chosen by the user. </dd>
<dt>
Narrow tinter &mdash; "<code><b>tinter=narrow</b></code>"
</dt>
<dd>
This like the "<code>anyhue</code>" option, but with a narrower hue angle. (Hue range is ±6°, 9 replace.) </dd>
This like the "<code>normal</code>" option described above, but starts a narrower hue range of ±6°. Anything found within 50% of the range (e.g. ±9°) is tinted. If too much of your stamp is being tinted, try this option. </dd>
<dt>
'Any hue' tinter &mdash; "<code><b>tinter=anyhue</b></code>"
</dt>
<dd>
This remaps <em>all</em> hues in the stamp. It works similarly to the "<code>anyhue</code>" and "<code>narrow</code>" options described above, but the hue range is ±180°. </dd>
<dt>
Vector tinter &mdash; "<code><b>tinter=vector</b></code>"