home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>10.  Gradients</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-painting.html" title="Chapter 7.  Painting with GIMP" />
- <link rel="prev" href="gimp-using-variable-size-brush-creating.html" title="9.2.  Creating a brush quickly" />
- <link rel="next" href="gimp-concepts-patterns.html" title="11.  Patterns" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">10. 
- <span lang="en" xml:lang="en">Gradients</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-using-variable-size-brush-creating.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">Chapter 7. 
- <span lang="en" xml:lang="en">Painting with GIMP</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-concepts-patterns.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect1" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h2 class="title" style="clear: both"><a id="gimp-concepts-gradients"></a>10. 
- <span lang="en" xml:lang="en">Gradients</span>
- </h2>
- </div>
- </div>
- </div>
- <a id="id2596903" class="indexterm"></a>
- <div class="figure">
- <a id="id2596915"></a>
- <p class="title">
- <b>Figure 7.23. 
- <span lang="en" xml:lang="en">Some examples of GIMP gradients.</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/using/gradient-examples.png" alt="Some examples of GIMP gradients." />
- <div class="caption">
- <p>
- Gradients from top to bottom: FG to BG (RGB); Full saturation
- spectrum; Nauseating headache; Browns; Four bars
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- A <span class="emphasis"><em>gradient</em></span>
- is a set of colors arranged in a linear order. The most basic use of
- gradients is by the <a class="link" href="gimp-tool-blend.html" title="3.4.  Blend">Blend tool</a>,
- sometimes known as the “<span class="quote">gradient tool</span>” or “<span class="quote">gradient
- fill tool</span>”: it works
- by filling the selection with colors from a gradient. You have many
- options to choose from for controlling the way the gradient colors are
- arranged within the selection. There are also other important ways to use
- gradients, including:
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Painting with a gradient</span>
- </dt>
- <dd>
- <p>
- Each of GIMP's basic painting tools allows you the option of using
- colors from a gradient. This enables you to create brushstrokes that
- change color from one end to the other.
- </p>
- </dd>
- <dt>
- <span class="term">The Gradient Map filter</span>
- </dt>
- <dd>
- <p>
- This filter is now in the Colors menu, and allows you to
- “<span class="quote">colorize</span>”
- an image, using the color intensity of each point with the
- corresponding color from the active gradient (the intensity 0, very
- dark, is replaced by the color at most left end of the gradient,
- progressively until the intensity is 255, very light, replaced by
- the most right color of the gradient. See
- <a class="xref" href="plug-in-gradmap.html" title="11.25.  Gradient Map">Section 11.25, “
- <span lang="en" xml:lang="en">Gradient Map</span>
- ”</a> for more information.
- </p>
- </dd>
- </dl>
- </div>
- <p>
- When you install GIMP, it comes presupplied with a large number of
- interesting gradients, and you can add new ones that you create or
- download from other sources. You can access the full set of available
- gradients using the
- <a class="link" href="gimp-gradient-dialog.html" title="3.4.  Gradients Dialog">Gradients dialog</a>,
- a dockable dialog that you can either activate when you need it, or keep
- around as a tab in a dock. The “<span class="quote">current gradient</span>”, used in
- most gradient-related operations, is shown in the Brush/Pattern/Gradient
- area of the Toolbox. Clicking on the gradient symbol in the Toolbox is an
- alternative way of bringing up the Gradients dialog.
- </p>
- <p>
- Many quickly examples of working with gradient (for more information
- see <a class="link" href="gimp-tool-blend.html" title="3.4.  Blend">Blend Tool</a>):
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>Put a gradient in a selection:</p>
- <div class="procedure">
- <ol type="1">
- <li>
- <p>Choose a gradient.</p>
- </li>
- <li>
- <p>
- With the Blend Tool click and drag with the mouse between
- two points of a selection.
- </p>
- </li>
- <li>
- <p>
- Colors will distributed perpendicularly to the direction
- of the drag of the mouse and according to the length
- of it.
- </p>
- </li>
- </ol>
- </div>
- <div class="figure">
- <a id="id2597124"></a>
- <p class="title">
- <b>Figure 7.24. 
- <span lang="en" xml:lang="en">
- How to use rapidly a gradient in a selection
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/using/gradient-draw.png" alt="How to use rapidly a gradient in a selection" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>Use a gradient with a drawing tool:</p>
- <p>
- You can also use a gradient with pencil, brush or airbrush tools
- if you check <span class="guilabel">Use color from gradient</span>
- In the example below the option is checked for a pencil tool. You
- see in the drawing in the right side the succession of the colors
- of the gradient (to infinity...).
- </p>
- <div class="figure">
- <a id="id2597177"></a>
- <p class="title">
- <b>Figure 7.25. 
- <span lang="en" xml:lang="en">
- How to use rapidly a gradient with a drawing tool
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/using/color-gradient-pencil.png" alt="How to use rapidly a gradient with a drawing tool" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>Different productions with the same gradient:</p>
- <div class="figure">
- <a id="id2597217"></a>
- <p class="title">
- <b>Figure 7.26. 
- <span lang="en" xml:lang="en">Gradient usage</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/using/gradient-usage.png" alt="Gradient usage" />
- <div class="caption">
- <p>
- Four ways of using the Tropical Colors gradient: a linear gradient
- fill, a shaped gradient fill, a stroke painted using colors from a
- gradient, and a stroke painted with a fuzzy brush then colored using
- the <a class="link" href="plug-in-gradmap.html" title="11.25.  Gradient Map">Gradient Map</a> filter.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- </ul>
- </div>
- <p>A few useful things to know about GIMP's gradients:</p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- The first four gradients in the list are special: they use the
- Foreground and Background colors from the Toolbox Color Area,
- instead of being fixed. <span class="guilabel">FG to BG (RGB)</span> is the
- RGB representation of the gradient from the Foreground color to the
- Background color in Toolbox. <span class="guilabel">FG to BG (HSV
- counter-clockwise) </span> represents the hue succession in
- Color Circle from the selected hue to 360°. <span class="guilabel">FG to BG
- (HSV clockwise</span> represents the hue succession in Color
- Circle from the selected hue to 0°. With <span class="guilabel">FG to transparent
- </span>, the selected hue becomes more and more transparent. You
- can modify these colors by using the Color Selector. Thus, by
- altering the foreground and background colors, you can make these
- gradients transition smoothly between any two colors you want.
- </p>
- </li>
- <li>
- <p>
- Gradients can involve not just color changes, but also changes in
- opacity. Some of the gradients are completely opaque; others include
- transparent or translucent parts. When you fill or paint with a
- non-opaque gradient, the existing contents of the layer will show
- through behind it.
- </p>
- </li>
- <li>
- <p>
- You can create new <span class="emphasis"><em>custom</em></span> gradients,
- using the <a class="link" href="gimp-gradient-dialog.html#gimp-gradient-editor-dialog" title="3.4.3.  The Gradient Editor">Gradient
- Editor</a>. You cannot modify the gradients that are
- supplied with GIMP, but you can duplicate them or create new
- ones, and then edit those.
- </p>
- </li>
- </ul>
- </div>
- <p>
- The gradients that are supplied with GIMP are stored in a system
- <code class="filename">gradients</code> folder. By default, gradients that
- you create are stored in a folder called
- <code class="filename">gradients</code> in your personal GIMP directory.
- Any gradient files (ending with the extension
- <code class="filename">.ggr</code>) found in one of these folders, will
- automatically be loaded when you start GIMP. You can add more
- directories to the gradient search path, if you want to, in the
- Gradients tab of the <a class="link" href="gimp-pimping.html#gimp-prefs-folders-data" title="1.19.  Data Folders">Data
- Folders</a> pages of the Preferences dialog.
- </p>
- <p>
- New in GIMP 2.2 is the ability to load gradient files in SVG format, used
- by many vector graphics programs. To make GIMP load an SVG gradient file,
- all you need to do is place it in the <code class="filename">gradients</code>
- folder of your personal GIMP directory, or any other folder in your
- gradient search path.
- </p>
- <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Tip">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Tip]" src="../images/tip.png" />
- </td>
- <th align="left">Tip</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- You can find a large number of interesting SVG gradients on the web, in
- particular at OpenClipArt Gradients
- <a class="xref" href="bibliography.html#bibliography-online-openclipart-gradients" title="Open Clipart - Gradients">[<abbr class="abbrev">OPENCLIPART-GRADIENT</abbr>]</a>.
- You won't be able to see what these gradients look like unless your
- browser supports SVG, but that won't prevent you from downloading them.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-using-variable-size-brush-creating.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-painting.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-concepts-patterns.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-using-variable-size-brush-creating.html">9.2. 
- <span lang="en" xml:lang="en">Creating a brush quickly</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-concepts-patterns.html">11. 
- <span lang="en" xml:lang="en">Patterns</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-