home *** CD-ROM | disk | FTP | other *** search
Wrap
<?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>3.4.  Gradients Dialog</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-dialogs-content.html" title="3.  Image-content Related Dialogs" /> <link rel="prev" href="gimp-pattern-dialog.html" title="3.3.  Patterns Dialog" /> <link rel="next" href="gimp-palette-dialog.html" title="3.5.  Palettes Dialog" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">3.4.  <span lang="en" xml:lang="en">Gradients Dialog</span> </th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="gimp-pattern-dialog.html"><img src="../images/prev.png" alt="Prev" /></a> </td> <th width="60%" align="center">3.  <span lang="en" xml:lang="en">Image-content Related Dialogs</span> </th> <td width="20%" align="right"> <a accesskey="n" href="gimp-palette-dialog.html"><img src="../images/next.png" alt="Next" /></a></td> </tr> </table> <hr /> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="gimp-gradient-dialog"></a>3.4.  <span lang="en" xml:lang="en">Gradients Dialog</span> </h3> </div> <div> <div class="revhistory"> <table border="1" width="100%" summary="Revision history"> <tr> <th align="left" valign="top" colspan="3"> <b>Revision History</b> </th> </tr> <tr> <td align="left">Revision $Revision: 2409 $</td> <td align="left">2008-02-22</td> <td align="left">j.h</td> </tr> </table> </div> </div> </div> </div> <a id="id2663608" class="indexterm"></a> <a id="id2663621" class="indexterm"></a> <div class="figure"> <a id="id2663635"></a> <p class="title"> <b>Figure 14.34.  <span lang="en" xml:lang="en"> The screenshot illustrates the Gradients dialog </span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/dialogs-gradient.png" alt="The screenshot illustrates the Gradients dialog" /> </div> </div> </div> <br class="figure-break" /> <p> The Gradients dialog offers a gradient palette which is used to select a gradient -- a set of colors arranged in a linear scale -- for use with the <a class="link" href="gimp-tool-blend.html" title="3.4.  Blend">Blend tool</a> and numerous other operations. It also gives you access to several functions for manipulating gradients. You can select a gradient by clicking on it in the list: it will then be shown in the Brush/Pattern/Gradient area of the Toolbox. A few dozen nice gradients come pre-installed with GIMP. You can create more using the <a class="link" href="gimp-gradient-dialog.html#gimp-gradient-editor-dialog" title="3.4.3.  The Gradient Editor">Gradient Editor</a>. General information about gradients and how they are used in GIMP can be found in the <a class="link" href="gimp-concepts-gradients.html" title="10.  Gradients">Gradients</a> section. </p> <div class="itemizedlist"> <p> The first four gradients are particular: they reproduce the gradient between Foreground and background colors of toolbox in different ways. </p> <ul type="disc"> <li> <p> <span class="guilabel">FG to BG (RGB)</span>: default gradient, between the Foreground and the background colors of the Toolbox, in the RGB mode. </p> </li> <li> <p> <span class="guilabel">FG to BG (HSV clock-wise/counter-clockwise Hue)</span>: all hues in the color circle between the Foreground and the background color, clockwise or counter-clockwise. </p> </li> <li> <p> <span class="guilabel">FG to Transparent</span>: only uses one color (the Foreground color) from complete opacity to complete transparency. This gradient is very useful when you work with softly blended collages or fog effects. </p> </li> </ul> </div> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h4 class="title"><a id="gimp-gradient-dialog-activate"></a>3.4.1.  <span lang="en" xml:lang="en">Activate Dialog</span> </h4> </div> </div> </div> <p> The Gradients dialog is a dockable dialog; see the section on <a class="link" href="gimp-concepts-docks.html" title="2.3.  Dialogs and Docking">Dialogs and Docking</a> for help on manipulating it. It can be activated in several ways: </p> <div class="itemizedlist"> <ul type="disc"> <li> <p> From the Toolbox menu: <span class="guimenu">File</span> → <span class="guisubmenu">Dialogs</span> → <span class="guimenuitem"><span class="accel">G</span>radients</span>. </p> </li> <li> <p> From the Toolbox menu: <span class="guimenu">File</span> → <span class="guisubmenu">Dialogs</span> → <span class="guisubmenu">Create New Dock</span> → <span class="guimenuitem">Brushes, Patterns, and Gradients</span>. This gives you a new window with several dialog docks, one of them opens the Gradients dialog. </p> </li> <li> <p> From the Toolbox, by clicking on the current gradient in the Brush/Pattern/Gradient area. </p> </li> <li> <p> From an image menu: <span class="guimenu">Dialogs</span> → <span class="guimenuitem"><span class="accel">G</span>radients</span>. </p> </li> <li> <p> From the Tab menu in any dockable dialog: <span class="guimenu">Add Tab</span> → <span class="guimenuitem"><span class="accel">G</span>radients</span>. </p> </li> <li> <p> From the image by using the <span class="keycap"><strong>Ctrl+G</strong></span> shortcut. </p> </li> </ul> </div> </div> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h4 class="title"><a id="gimp-gradient-dialog-using"></a>3.4.2.  <span lang="en" xml:lang="en">Using the Gradients dialog</span> </h4> </div> </div> </div> <p> The most basic, and most commonly used, operation with the dialog is simply to click on one of the gradients in the scrollable list, in order to make it GIMP's current gradient, which will then be used by any operation that involves a gradient. </p> <p> If you <span class="emphasis"><em>double-click</em></span> on a gradient, you open the Gradient Editor where you will be able to edit its name. Note, however, that you are only allowed to change the names of gradients that you have created yourself, not the ones that come pre-installed with GIMP. If you try to rename a pre-installed gradient, you will be able to edit the name, but as soon as you hit return or click somewhere else, the name will revert to its original value. It is a general rule that you cannot alter the resources that GIMP pre-installs for you: brushes, patterns, gradients, etc; only ones that you create yourself. </p> <div class="variablelist"> <dl> <dt> <span class="term">Grid/List modes</span> </dt> <dd> <p> In the Tab menu, you can choose between <span class="guimenuitem">View as Grid</span> and <span class="guimenuitem">View as List</span>. In Grid mode, the gradients are laid out in a rectangular array. They look quite dazzling when viewed this way, but it is not very easy to pick the one you want, because of visual interference from the neighboring ones. In List mode, the more usable default, the gradients are lined up vertically, with each row showing its name. </p> <p> In the Tab menu, the option <span class="guilabel">Preview Size</span> allows you to adapt the size of gradient previews to your liking. </p> </dd> </dl> </div> <p> The buttons at the bottom of the dialog allow you to operate on gradients in several ways: </p> <div class="variablelist"> <dl> <dt> <span class="term">Edit Gradient</span> </dt> <dd> <p> This button activates the <a class="link" href="gimp-gradient-dialog.html#gimp-gradient-editor-dialog" title="3.4.3.  The Gradient Editor">Gradient Editor</a>. </p> </dd> <dt> <span class="term">New Gradient</span> </dt> <dd> <a id="gimp-gradient-new"></a> <p> This creates a new gradient, initialized as a simple grayscale, and activates the Gradient Editor so that you can alter it. Gradients that you create are automatically saved in the <code class="filename">gradients</code> folder of your personal GIMP directory, from which they are automatically loaded when GIMP starts. (You can change this folder, or add new ones, using the Preferences dialog.) </p> </dd> <dt> <span class="term">Duplicate Gradient</span> </dt> <dd> <a id="gimp-gradient-duplicate"></a> <p> This creates a copy of the currently selected gradient. You will be able to edit the copy even if you cannot edit the original. </p> </dd> <dt> <span class="term">Delete Gradient</span> </dt> <dd> <a id="gimp-gradient-delete"></a> <p> This removes all traces of the gradient, if you have permission to do so. It asks for confirmation before doing anything. </p> </dd> <dt> <span class="term">Refresh Gradients</span> </dt> <dd> <a id="gimp-gradient-refresh"></a> <p> If you add gradients to your personal <code class="filename">gradients</code> folder by some means other than this dialog, this button causes the list to be reloaded, so that the new entries will be available. </p> </dd> </dl> </div> <p> The functions performed by these buttons can also be accessed from the dialog pop-up menu, activated by right-clicking anywhere in the gradient list, or via <span class="guisubmenu">Gradient Menu</span> in the Tab menu: </p> <div class="figure"> <a id="id2664239"></a> <p class="title"> <b>Figure 14.35.  <span lang="en" xml:lang="en">The Gradients Menu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-menu.png" alt="The Gradients Menu" /> </div> </div> </div> <br class="figure-break" /> <p> The gradient menu also gives you some additional functions: </p> <div class="variablelist"> <dl> <dt> <a id="gimp-gradient-save-as-pov"></a> <span class="term">Save as POV-Ray...</span> </dt> <dd> <p> This allows you to save the gradient in the format used by the <span class="application">POV-Ray</span> 3D ray-tracing program. </p> </dd> <dt> <a id="gimp-gradient-copy-location"></a> <span class="term"> <span lang="en" xml:lang="en">Copy Gradient Location</span> </span> </dt> <dd> <p> This command allows you to copy the gradient file location to the clipboard. You can then use it in a text editor. </p> </dd> <dt> <a id="script-fu-gradient-example"></a> <span class="term"> <span lang="en" xml:lang="en">Custom Gradient...</span> </span> </dt> <dd> <p> This command creates a sample image filled with the selected gradient. You can select width and height of the image as well as the gradient direction in the dialog window. </p> </dd> </dl> </div> </div> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h4 class="title"><a id="gimp-gradient-editor-dialog"></a>3.4.3.  <span lang="en" xml:lang="en">The Gradient Editor</span> </h4> </div> <div> <div class="revhistory"> <table border="1" width="100%" summary="Revision history"> <tr> <th align="left" valign="top" colspan="3"> <b>Revision History</b> </th> </tr> <tr> <td align="left">Revision $Revision: 2409 $</td> <td align="left">2007-09-27</td> <td align="left">ude</td> </tr> </table> </div> </div> </div> </div> <a id="gimp-gradient-edit"></a> <a id="id2664420" class="indexterm"></a> <div class="figure"> <a id="id2664433"></a> <p class="title"> <b>Figure 14.36.  <span lang="en" xml:lang="en">The gradient editor</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-dialog.png" alt="The gradient editor" /> </div> </div> </div> <br class="figure-break" /> <p> The Gradient Editor allows you to edit the colors in a gradient. It can only be used on gradients you have created yourself (or on a copy of a system gradient), not on system gradients that come pre-installed with GIMP. This is a sophisticated tool that may take a bit of effort to understand. The concept behind it is that a gradient can be decomposed into a series of adjoining <span class="emphasis"><em>segments</em></span>, with each segment consisting of a smooth transition from the color on the left edge to the color on the right edge. The Gradient Editor allows you to pack together any number of segments, with any colors you want for the left and right edges of each segment, and with several options for the shape of the transition from left to right. </p> <div class="sect4" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h5 class="title"><a id="gimp-gradient-editor-dialog-activate"></a>3.4.3.1.  <span lang="en" xml:lang="en">How to Activate the Gradient Editor</span> </h5> </div> </div> </div> <p> You can activate the Gradient Editor in several ways: </p> <div class="itemizedlist"> <ul type="disc"> <li> <p> By double-clicking on the gradient stripe in the Gradient dialog. </p> </li> <li> <p> From the context menu you get by right clicking on the selected gradient name. </p> </li> <li> <p> By clicking on the <span class="guibutton">Edit gradient</span> button in the Gradient Dialog. </p> </li> <li> <p> From the Gradient Menu you get by clicking on the small triangle representing the Tab Menu in the Gradient Dialog. </p> </li> </ul> </div> </div> <div class="sect4" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h5 class="title"><a id="gimp-gradient-editor-dialog-using"></a>3.4.3.2.  <span lang="en" xml:lang="en">Display</span> </h5> </div> </div> </div> <div class="variablelist"> <dl> <dt> <span class="term">Name</span> </dt> <dd> <p> In the name area, you have the tab menu button (the small triangle). </p> </dd> <dt> <span class="term">The Gradient Preview Window </span> </dt> <dd> <p> Below the name, you see the current result of your work if the <span class="guilabel">Instant update</span> option is checked; else, changes will appear only when you release the mouse button. </p> <p> If you simply move the mouse pointer on this display, it works somewhat as a color-picker. Values of the pointed pixel are displayed in a rather odd way. <span class="emphasis"><em>Position</em></span> is a number given to 3 decimal places, from 0.000 on the left to 1.000 on the right of the whole gradient. <span class="emphasis"><em>RGB, HSV, Intensity and Opacity</em></span> are also a ratio... </p> <p> If you click-n-drag on display, then only position and RGB data are displayed. But they are passed on to the Foreground color in the Toolbox and to the four first gradients of the list (by pressing the <span class="keycap"><strong>Ctrl</strong></span> key, the Color is sent to the Background color of the Toolbox). </p> </dd> <dt> <span class="term">Range Selection/Control Sliders</span> </dt> <dd> <p> Below the gradient display, you see a set of black and white triangles lined up in row which allow you to adjust endpoints and midpoints in the gradient preview. A <span class="emphasis"><em>segment</em></span> is the space between two consecutive <span class="emphasis"><em>black</em></span> triangles. Inside each segment is a white triangle, which is used to “<span class="quote">warp</span>” the colors in the segment, in the same way that the middle slider in the Levels tool warps the colors there. You can select a segment by clicking between the two black triangles that define it. It turns from white to blue. You can select a range of segments by shift-clicking on them. The selected range always consists of a set of <span class="emphasis"><em>consecutive</em></span> segments, so if you skip over any when shift-clicking, they will be included automatically. If “<span class="quote">Instant update</span>” is checked, the display is updated immediately after any slider movement; if it is unchecked, updates only occur when you release the mouse button. </p> <p> You can move sliders, segments and selections. If you simply <span class="emphasis"><em>click-n-drag a slider</em></span>, you only move the corresponding transition. By <span class="emphasis"><em>click-n-drag on a segment</em></span> you can move this segment up to the next triangle. By <span class="emphasis"><em>Shift+click-n-drag on a segment/selection</em></span>, you can move this segment/selection and compress/ dilate next segments. </p> </dd> <dt> <span class="term">Scrollbar</span> </dt> <dd> <p> Below the sliders is a scrollbar. This only comes into play if you zoom in using the buttons at the bottom. </p> </dd> <dt> <span class="term">Feedback Area</span> </dt> <dd> <p> Below, a color swatch shows the color pointed by the mouse cursor. Informations about this color and helpful hints or feedback messages may appear here. </p> </dd> <dt> <span class="term">Buttons</span> </dt> <dd> <p> At the bottom of the dialog appear five buttons: </p> <div class="variablelist"> <dl> <dt> <span class="term">Save</span> </dt> <dd> <p> Clicking this button causes the gradient, in its current state, to be saved in your personal <code class="filename">gradients</code> folder, so that it will automatically be loaded the next time you start GIMP. </p> </dd> <dt> <span class="term">Revert</span> </dt> <dd> <p> Clicking this button undoes all of your editing. (However, at the time this is being written, this function is not yet implemented.) </p> </dd> <dt> <span class="term">Zoom Out</span> </dt> <dd> <a id="gimp-gradient-editor-zoom-out"></a> <p> Clicking this button shrinks the gradient display horizontally. </p> </dd> <dt> <span class="term">Zoom In</span> </dt> <dd> <a id="gimp-gradient-editor-zoom-in"></a> <p> Clicking this button expands the gradient display horizontally. You can then use the scrollbar to pan the display left or right. </p> </dd> <dt> <span class="term">Zoom All</span> </dt> <dd> <a id="gimp-gradient-editor-zoom-all"></a> <p> Clicking this button resizes the display horizontally so that it fits precisely into the window. </p> </dd> </dl> </div> </dd> </dl> </div> </div> <div class="sect4" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h5 class="title"><a id="gimp-gradient-editor-dialog-menu"></a>3.4.3.3.  <span lang="en" xml:lang="en">The Gradient Editor pop-up Menu</span> </h5> </div> </div> </div> <div class="figure"> <a id="id2664945"></a> <p class="title"> <b>Figure 14.37.  <span lang="en" xml:lang="en">The Gradient Editor pop-up menu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-popup-menu.png" alt="The Gradient Editor pop-up menu" /> </div> </div> </div> <br class="figure-break" /> <p> You can access the Gradient Editor menu either by right-clicking on the gradient display, or by choosing the top item in the dialog's tab menu. The menu allows you to edit endpoint's color (set the left and right edge colors for each segment), blend colors, select a color model and edit segments. This editor works only with custom gradients or a copy of a system gradient. </p> <p>The following commands can be found in the menu:</p> <div class="variablelist"> <p class="title"> <b> <span lang="en" xml:lang="en">Editing endpoint's color</span> </b> </p> <dl> <dt> <span class="term">Left/Right color type</span> </dt> <dd> <p>This command opens a submenu:</p> <div class="figure"> <a id="id2665022"></a> <p class="title"> <b>Figure 14.38.  <span lang="en" xml:lang="en">The Left/Right color type sub-menu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-colortype-submenu.png" alt="The Left/Right color type sub-menu" /> </div> </div> </div> <br class="figure-break" /> <p> This submenu allows you to select the endpoint color from the toolbox foreground and background colors. Whenever you change the foreground or background color, this endpoint color may be changed as well. The alternative is to select a <span class="guilabel">Fixed</span> endpoint color. </p> </dd> <dt> <span class="term">Left [Right] Endpoint's Color</span> </dt> <dd> <a id="gimp-gradient-editor-left-color"></a> <a id="gimp-gradient-editor-right-color"></a> <p> These options allow you to choose a color for the respective endpoint using a Color Editor. </p> <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> <table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"> <img alt="[Note]" src="../images/note.png" /> </td> <th align="left">Note</th> </tr> <tr> <td align="left" valign="top"> <p> This command is related to the previous one and becomes inactive if you have selected a color yet. </p> </td> </tr> </table> </div> </dd> <dt> <span class="term">Load Left [Right] Color From</span> </dt> <dd> <a id="gimp-gradient-editor-left-load"></a> <a id="gimp-gradient-editor-right-load"></a> <div class="figure"> <a id="id2665141"></a> <p class="title"> <b>Figure 14.39.  <span lang="en" xml:lang="en">The "Load Color From" submenu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-colorfrom.png" alt="The "Load Color From" submenu" /> </div> </div> </div> <br class="figure-break" /> <p> These options give you a number of alternative ways of assigning colors to the endpoints. From the submenu you can choose (assuming we're dealing with the left endpoint): </p> <div class="variablelist"> <dl> <dt> <span class="term">Left Neighbor's Right Endpoint</span> </dt> <dd> <p> This choice will cause the color of the right endpoint of the segment neighboring on the left to be assigned to the left endpoint of the selected range. </p> </dd> <dt> <span class="term">Right Endpoint</span> </dt> <dd> <p> This choice will cause the color of the right endpoint of the selected range to be assigned to the left endpoint. </p> </dd> <dt> <span class="term">FG/BG color</span> </dt> <dd> <p> This choice causes GIMP's current foreground or background color, as shown in the Toolbox, to be assigned to the endpoint. Note that changing foreground or background color later will not change the endpoint's color. </p> </dd> <dt> <span class="term">RGBA slots</span> </dt> <dd> <p> At the bottom of the menu are 10 "memory slots". You can assign colors to them using the "Save" menu option described below. If you choose one of the slots, the color in it will be assigned to the endpoint. </p> </dd> </dl> </div> </dd> <dt> <span class="term">Save Left [Right] Color To</span> </dt> <dd> <a id="gimp-gradient-editor-left-save"></a> <a id="gimp-gradient-editor-right-save"></a> <p> These options cause the color of the endpoint in question to be assigned to the "memory slot" selected from the submenu. </p> </dd> </dl> </div> <div class="variablelist"> <p class="title"> <b> <span lang="en" xml:lang="en"> Blending and coloring functions for segment </span> </b> </p> <dl> <dt> <span class="term">Blending Function for Segment</span> </dt> <dd> <a id="gimp-gradient-editor-blending"></a> <div class="figure"> <a id="id2665337"></a> <p class="title"> <b>Figure 14.40.  <span lang="en" xml:lang="en">The Blending Function submenu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-blend.png" alt="The Blending Function submenu" /> </div> </div> </div> <br class="figure-break" /> <p> This option determines the course of the transition from one endpoint of the range (segment or selection) to the other, by fitting the specified type of function to the endpoints and midpoint of the range: </p> <div class="variablelist"> <dl> <dt> <span class="term">Linear</span> </dt> <dd> <p> Default option. Color varies linearly from one endpoint of the range to the other. </p> </dd> <dt> <span class="term">Curved</span> </dt> <dd> <p> Gradient varies more quickly on ends of the range than on its middle. </p> </dd> <dt> <span class="term">Sinusoidal</span> </dt> <dd> <p> The opposite of the curved type. Gradients varies more quickly on center of the range than on its ends. </p> </dd> <dt> <span class="term">Spherical (increasing)</span> </dt> <dd> <p> Gradient varies more quickly on the left of the range than on its right. </p> </dd> <dt> <span class="term">Spherical (decreasing)</span> </dt> <dd> <p> Gradient varies more quickly on the right than on the left. </p> </dd> </dl> </div> </dd> <dt> <span class="term">Coloring Type for Segment</span> </dt> <dd> <a id="gimp-gradient-editor-coloring"></a> <div class="figure"> <a id="id2665498"></a> <p class="title"> <b>Figure 14.41.  <span lang="en" xml:lang="en">The Coloring Type submenu</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/gradient-editor-color.png" alt="The Coloring Type submenu" /> </div> </div> </div> <br class="figure-break" /> <p> This option gives you additional control of the type of transition from one endpoint to the other: as a line either in RGB space or in HSV space. </p> </dd> </dl> </div> <div class="variablelist"> <p class="title"> <b> <span lang="en" xml:lang="en">Modifying segments</span> </b> </p> <dl> <dt> <span class="term">Flip Segment</span> </dt> <dd> <a id="gimp-gradient-editor-flip"></a> <p> This option does a right-to-left flip of the selected range (segment or selection), flipping all colors and endpoint locations. </p> </dd> <dt> <span class="term">Replicate Segment</span> </dt> <dd> <a id="gimp-gradient-editor-replicate"></a> <p> This option splits the selected range (segment or selection) into two parts, each of which is a perfect compressed copy of the original range. </p> </dd> <dt> <span class="term">Split Segment at Midpoint</span> </dt> <dd> <a id="gimp-gradient-editor-split-midpoint"></a> <p> This option splits each segment in the selected range in into two segments, splitting at the location of the white triangle. </p> </dd> <dt> <span class="term">Split Segment Uniformly</span> </dt> <dd> <a id="gimp-gradient-editor-split-uniform"></a> <p> This option is similar to the previous one, but it splits each segment halfway between the endpoints, instead of at the white triangle. </p> </dd> <dt> <span class="term">Delete Segment</span> </dt> <dd> <a id="gimp-gradient-editor-delete"></a> <p> This option deletes all segments in the selected range, (segment or selection) replacing them with a single black triangle at the center, and enlarging the segments on both sides to fill the void. </p> </dd> <dt> <span class="term">Re-center Segment's midpoint</span> </dt> <dd> <a id="gimp-gradient-editor-recenter"></a> <p> This option moves the white triangle for each segment in the selected range to a point halfway between the neighboring black triangles. </p> </dd> <dt> <span class="term">Re-distribute Handles in Segment</span> </dt> <dd> <a id="gimp-gradient-editor-redistribute"></a> <p> This option causes the black and white triangles in the selected range to be shifted so that the distances from one to the next are all equal. </p> </dd> </dl> </div> <div class="variablelist"> <p class="title"> <b> <span lang="en" xml:lang="en">Blending colors</span> </b> </p> <p> These options are available only if more than one segment are selected. </p> <dl> <dt> <span class="term">Blend Endpoints' Colors</span> </dt> <dd> <a id="gimp-gradient-editor-blend-color"></a> <p> This option causes the colors at interior endpoints in the range to be averaged, so that the transition from each segment to the next is smooth. </p> </dd> <dt> <span class="term">Blend Endpoints' Opacity</span> </dt> <dd> <a id="gimp-gradient-editor-blend-opacity"></a> <p> This option does the same thing as the previous option, but with opacity instead of color. </p> </dd> </dl> </div> <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;"> <table border="0" summary="Caution"> <tr> <td rowspan="2" align="center" valign="top" width="25"> <img alt="[Caution]" src="../images/caution.png" /> </td> <th align="left">Caution</th> </tr> <tr> <td align="left" valign="top"> <p> There is no "undo" available within the Gradient Editor, so be careful! </p> </td> </tr> </table> </div> </div> <div class="sect4" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h5 class="title"><a id="id2665830"></a>3.4.3.4.  <span lang="en" xml:lang="en">Using example for the Gradient Editor</span> </h5> </div> </div> </div> <a id="id2665843" class="indexterm"></a> <a id="id2665857" class="indexterm"></a> <p> All these options can seem somewhat boring. Here is an example to clear ideas: </p> <div class="orderedlist"> <ol type="1"> <li> <p> Open the Gradient Dialog. Click the <span class="guibutton">New Gradient</span>. The Gradient Editor is opened and shows a gradient from black to white. </p> <div class="figure"> <a id="id2665902"></a> <p class="title"> <b>Figure 14.42.  <span lang="en" xml:lang="en">New gradient</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/examples/new-gradient-1.png" alt="New gradient" /> </div> </div> </div> <br class="figure-break" /> </li> <li> <p> Right click in this new gradient and click the <span class="guilabel">Split Segment Uniformly</span>. Fix the number of segments you want. </p> <div class="figure"> <a id="id2665946"></a> <p class="title"> <b>Figure 14.43.  <span lang="en" xml:lang="en">Gradient with three segments</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/examples/new-gradient-2.png" alt="Gradient with three segments" /> <div class="caption"> <p> Every segment is limited with two black triangular sliders. Click a segment to activate it. By pressing the <span class="keycap"><strong>Shift</strong></span> key, you can select several contiguous segments. </p> </div> </div> </div> </div> <br class="figure-break" /> </li> <li> <p> In the context menu you get by right-clicking in the gradient, set <span class="guilabel">Left Endpoint Color</span> and <span class="guilabel">Right Endpoint Color</span> for the selected segment or segment group. </p> <div class="figure"> <a id="id2666015"></a> <p class="title"> <b>Figure 14.44.  <span lang="en" xml:lang="en">First segment colored</span> </b> </p> <div class="figure-contents"> <div class="mediaobject"> <img src="../images/dialogs/examples/new-gradient-3.png" alt="First segment colored" /> <div class="caption"> <p> Red has been chosen for left endpoint and yellow for the right enpoint. </p> </div> </div> </div> </div> <br class="figure-break" /> </li> <li> <p> Go on the same way for other segments. Then use the <span class="guilabel">Blending functions for segment</span> to achieve various effects. </p> </li> </ol> </div> </div> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="gimp-pattern-dialog.html"><img src="../images/prev.png" alt="Prev" /></a> </td> <td width="20%" align="center"> <a accesskey="u" href="gimp-dialogs-content.html"> <img src="../images/up.png" alt="Up" /> </a> </td> <td width="40%" align="right"> <a accesskey="n" href="gimp-palette-dialog.html"><img src="../images/next.png" alt="Next" /></a></td> </tr> <tr> <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-pattern-dialog.html">3.3.  <span lang="en" xml:lang="en">Patterns Dialog</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-palette-dialog.html">3.5.  <span lang="en" xml:lang="en">Palettes Dialog</span> </a></td> </tr> </table> </div> </body> </html>