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>9.6.  Indexed mode</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-image.html" title="9.  The “Image” Menu" />
- <link rel="prev" href="gimp-image-convert-grayscale.html" title="9.5.  Grayscale mode" />
- <link rel="next" href="gimp-image-transform.html" title="9.7.  Transform" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">9.6. 
- <span lang="en" xml:lang="en">Indexed mode</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-image-convert-grayscale.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">9. 
- <span lang="en" xml:lang="en">The “<span class="quote">Image</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-image-transform.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-image-convert-indexed"></a>9.6. 
- <span lang="en" xml:lang="en">Indexed mode</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: 2336 $</td>
- <td align="left">2006-08-01</td>
- <td align="left">scb</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2696611" class="indexterm"></a>
- <a id="id2696628" class="indexterm"></a>
- <a id="id2696643" class="indexterm"></a>
- <p>
- The <span class="guimenuitem">Indexed</span> command converts your image to
- indexed mode. See
- <a class="link" href="glossary.html#glossary-colormodel" title="Color model">indexed colors</a> in the
- Glossary for more information about Indexed Color Mode.
- </p>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2696672"></a>9.6.1. 
- <span lang="en" xml:lang="en">Activating the Command</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- You can access this command from the image menubar through
- <span class="guimenu"><span class="accel">I</span>mage</span> ‚Üí <span class="guisubmenu"><span class="accel">M</span>ode</span> ‚Üí <span class="guimenuitem"><span class="accel">I</span>ndexed</span>.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2696729"></a>9.6.2. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Convert Image to Indexed Colors</span>” dialog
- </span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- The <span class="guimenuitem">Indexed</span> command opens the
- <span class="guilabel">Convert Image to Indexed Colors</span> dialog.
- </p>
- <div class="figure">
- <a id="id2696761"></a>
- <p class="title">
- <b>Figure 15.66. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Convert Image to Indexed Colors</span>” dialog
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/dialogs-image-mode-indexed.png" alt="The Convert Image to Indexed Colors dialog" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Colormap Options</span>
- </dt>
- <dd>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- <span class="guilabel">Generate optimum palette</span>:
- This option generates the best possible palette with a
- default maximum number of 256 colors (classic GIF format).
- You can reduce this
- <span class="emphasis"><em>Maximum Number of Colors</em></span>, although
- this may create unwanted effects (color banding) on smooth
- transitions. You may be able to lessen the unwanted effects
- by using dithering, however.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Use web-optimized palette</span>: use a
- palette that is optimized for the web.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Use black and white (1-bit) palette</span>:
- This option generates an image which uses only two colors,
- black and white.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Use custom palette</span>:
- This button lets you select a custom palette from a list.
- The number of colors is indicated for each palette. The
- “<span class="quote">Web</span>” palette, with 216 colors, is the
- “<span class="quote">web-safe</span>” palette. It was originally created
- by Netscape to
- provide colors that would look the same on both Macs and
- PCs, and Internet Explorer 3 could manage it. Since
- version 4, MSIE handles a 212 color palette. The problem
- of color similarity between all platforms has not been
- solved yet and it probably never will be. When designing a
- web page, you should keep two principles in mind: use light
- text on a dark background or dark text on a light
- background, and never rely on color to convey information.
- </p>
- <p>
- Some colors in the palette may not be used if your image
- does not have many colors. They will be removed from the
- palette if the <span class="guilabel">Remove unused colors from final
- palette</span> option is checked.
- </p>
- </li>
- </ul>
- </div>
- </dd>
- <dt>
- <span class="term">Dithering Options</span>
- </dt>
- <dd>
- <p>
- Since an indexed image contains 256 colors or less, some colors
- in the original image may not be available in the palette. This
- may result in some blotchy or solid patches in areas which
- should have subtle color changes. The dithering options let you
- correct the unwanted effects created by the Palette Options.
- </p>
- <p>
- A dithering filter tries to approximate a color which is
- missing from the palette by instead using clusters of pixels
- of similar colors which are in the palette. When seen from a
- distance, these pixels give the impression of a new color. See
- the Glossary for more information on
- <a class="link" href="glossary.html#glossary-dithering" title="Dithering">dithering</a>.
- </p>
- <p>
- Three filters (plus “<span class="quote">None</span>”) are available. It is
- not possible to predict what the result of a particular filter
- will be on your image, so you will have to try all of them and
- see which works best. The
- “<span class="quote">Positioned Color Dithering</span>” filter is well
- adapted to animations.
- </p>
- <div class="figure">
- <a id="id2696982"></a>
- <p class="title">
- <b>Figure 15.67. 
- <span lang="en" xml:lang="en">
- Example: full color, with no dithering
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/examples/dither1.png" alt="Example: full color, with no dithering" />
- <div class="caption">
- <p>
- This is an example image with a smooth transition in
- RGB Mode.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2697021"></a>
- <p class="title">
- <b>Figure 15.68. 
- <span lang="en" xml:lang="en">
- Example: four colors, with no dithering
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/examples/dither2.png" alt="Example: four colors, with no dithering" />
- <div class="caption">
- <p>
- The same image, after being transformed to four indexed
- colors, without dithering.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2697060"></a>
- <p class="title">
- <b>Figure 15.69. 
- <span lang="en" xml:lang="en">
- Example: Floyd-Steinberg (normal)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/examples/dither3.png" alt="Example: Floyd-Steinberg (normal)" />
- <div class="caption">
- <p>
- The same image, with four indexed colors and
- “<span class="quote">Floyd-Steinberg (normal)</span>” dithering.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2697102"></a>
- <p class="title">
- <b>Figure 15.70. 
- <span lang="en" xml:lang="en">
- Example: Floyd-Steinberg (reduced color bleeding)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/examples/dither4.png" alt="Example: Floyd-Steinberg (reduced color bleeding)" />
- <div class="caption">
- <p>
- The same image, with four indexed colors and
- “<span class="quote">Floyd-Steinberg (reduced color bleeding)</span>”
- dithering.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- In a GIF image, transparency is encoded in 1 bit: transparent
- or not transparent. To give the illusion of partial
- transparency, you can use the <span class="guilabel">Enable dithering of
- transparency</span> option. However, the
- <a class="link" href="plug-in-semiflatten.html" title="14.3.  Semi-Flatten">Semi-flatten</a>
- plug-in may give you better results.
- </p>
- </dd>
- </dl>
- </div>
- <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>
- You can edit the color palette of an indexed image by using the
- <a class="link" href="gimp-indexed-palette-dialog.html" title="2.4.  Colormap Dialog">Colormap Dialog</a>.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-image-convert-grayscale.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-imagewindow-menus-image.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-image-transform.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-image-convert-grayscale.html">9.5. 
- <span lang="en" xml:lang="en">Grayscale mode</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-image-transform.html">9.7. 
- <span lang="en" xml:lang="en">Transform</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-