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>11.26.  Palette Map</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-imagewindow-menus-colors.html" title="11.  The “Colors” Menu" />
- <link rel="prev" href="plug-in-gradmap.html" title="11.25.  Gradient Map" />
- <link rel="next" href="plug-in-rotate-colormap.html" title="11.27.  Rotate Colors" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">11.26. 
- <span lang="en" xml:lang="en">Palette Map</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="plug-in-gradmap.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">11. 
- <span lang="en" xml:lang="en">The “<span class="quote">Colors</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="plug-in-rotate-colormap.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="plug-in-palettemap"></a>11.26. 
- <span lang="en" xml:lang="en">Palette Map</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: 2373 $</td>
- <td align="left">2007-12-28</td>
- <td align="left">j.h</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2723619" class="indexterm"></a>
- <a id="id2723637" class="indexterm"></a>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2723646"></a>11.26.1. 
- <span lang="en" xml:lang="en">Overview</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- This plug-in recolors the image using colors from the active palette
- that you choose in
- <span class="guimenu">Dialogs</span> ‚Üí <span class="guimenuitem">Palettes</span>.
- </p>
- <p>
- It maps the contents of the specified drawable (layer, selection...)
- with the active palette. It calculates luminosity of each pixel and
- replaces the pixel by the palette sample at the corresponding index. A
- complete black pixel becomes the lowest palette entry, and complete
- white becomes the highest. Works on both Grayscale and RGB image
- with/without alpha channel.
- </p>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2723693"></a>11.26.2. 
- <span lang="en" xml:lang="en">Activate the filter</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- You can access this filter in the image window menu under
- <span class="guimenu">Colors</span> ‚Üí <span class="guisubmenu">Map</span> ‚Üí <span class="guimenuitem">Palette Map</span>.
- </p>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2723736"></a>11.26.3. 
- <span lang="en" xml:lang="en">Example</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2723749"></a>
- <p class="title">
- <b>Figure 15.176. 
- <span lang="en" xml:lang="en">
- The active palette is applied to a gradient image
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/colors-map-palettemap-ex1.png" alt="The active palette is applied to a gradient image" />
- <div class="caption">
- <p>
- The current palette, with 18 colors
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/colors-map-palettemap-ex2.png" alt="The active palette is applied to a gradient image" />
- <div class="caption">
- <p>
- The colors of the active palette are applied to a black to white
- gradient. The color with the lowest index in the palette (orange)
- replaces the black color in the gradient. The color with the
- highest index in the palette (red) replaces the white color in
- the gradient. The other colors spread out in the order of the
- palette.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="plug-in-gradmap.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-imagewindow-menus-colors.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="plug-in-rotate-colormap.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-gradmap.html">11.25. 
- <span lang="en" xml:lang="en">Gradient Map</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="plug-in-rotate-colormap.html">11.27. 
- <span lang="en" xml:lang="en">Rotate Colors</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-