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>2.  Preparing your Images for the Web</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-images-out.html" title="Chapter 6.  Getting images out of GIMP" />
- <link rel="prev" href="gimp-images-out.html" title="Chapter 6.  Getting images out of GIMP" />
- <link rel="next" href="gimp-using-web-reducing-file-size.html" title="2.2.  Reducing the File Size Even More" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">2. 
- <span lang="en" xml:lang="en">Preparing your Images for the Web</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-images-out.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">Chapter 6. 
- <span lang="en" xml:lang="en">Getting images out of GIMP</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-using-web-reducing-file-size.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-using-web"></a>2. 
- <span lang="en" xml:lang="en">Preparing your Images for the Web</span>
- </h2>
- </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: 2437 $</td>
- <td align="left">2007-07-15</td>
- <td align="left">romanofski</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2591062" class="indexterm"></a>
- <p>
- One of the most common purposes <acronym class="acronym">GIMP</acronym> is used for
- is to prepare images for adding them to a web site. This means that
- images should look as nice as possible while keeping the file
- size as small as possible. This little step-by-step guide will tell
- you how to achieve a smaller file size with minimal degradation of
- image quality.
- </p>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-using-web-size-vs-quality"></a>2.1. 
- <span lang="en" xml:lang="en">Images with an Optimal Size/Quality Ratio</span>
- </h3>
- </div>
- </div>
- </div>
- <p>
- An optimal image for the web depends upon the image type and the file
- format you have to use. If you want to put a photograph with a lot of
- colors online, you have to use
- <a class="link" href="gimp-images-out.html#file-jpeg-save" title="1.2.2.  Saving as JPEG">JPEG</a>
- as your primary file format. If your image contains fewer colors, that
- is, if it is not a photograph, but is more a drawing you created (such
- as a button or a screenshot), you would be better off using
- <a class="link" href="gimp-images-out.html#file-png-load">PNG</a>
- format. We will guide you through the process of doing this.
- </p>
- <div class="procedure">
- <ol type="1">
- <li>
- <p>
- First, open the image as usual. I have opened our Wilber as an
- example image.
- </p>
- <div class="figure">
- <a id="id2591145"></a>
- <p class="title">
- <b>Figure 6.6. 
- <span lang="en" xml:lang="en">The Wilber image opened in RGBA mode.</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/using/preparing_for_web1.png" alt="The Wilber image opened in RGBA mode." />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- The image is now in RGB mode, with an additional
- <a class="link" href="glossary.html#glossary-alpha" title="Alpha">Alpha channel</a>
- (RGBA). There is usually no need to have an alpha channel for your
- web image. You can remove the alpha channel by
- <a class="link" href="gimp-image-flatten.html" title="9.19.  Flatten Image">flattening the image</a>.
- </p>
- <p>
- If you open a photograph, you probably won't have to remove the
- alpha channel, because a photograph doesn't usually have one, so the
- file is already opened in RGB mode.
- </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>
- If the image has a soft transition into the transparent areas, you
- cannot remove the alpha channel, since the information which would
- be used for fading out will not be saved in the file. If you would
- like to save an image with transparent areas which do not have a
- soft transition, (similar to
- <a class="link" href="gimp-images-out.html#file-gif-save" title="1.2.1.  Saving as GIF">GIF</a>),
- you can remove the alpha channel.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </li>
- <li>
- <p>
- After you have flattened the image, you are able to
- <a class="link" href="gimp-file-save.html" title="5.7.  Save">save the image</a>
- in <a class="link" href="gimp-images-out.html#file-png-save-defaults">PNG format</a>
- for your web site.
- </p>
- </li>
- </ol>
- </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 save your image in PNG format with the default settings, but
- using maximum compression. Doing this will have no negative affects on
- the quality of the picture, as it would have with
- <a class="link" href="gimp-images-out.html#file-jpeg-save" title="1.2.2.  Saving as JPEG">JPEG</a>
- format. If your image is a photograph with lots of colors, you would
- be better off saving it as jpeg. The main thing is to find the best
- tradeoff between quality and compression. You can find more
- information about this topic in <a class="xref" href="gimp-images-out.html#file-jpeg-save" title="1.2.2.  Saving as JPEG">Section 1.2.2, “
- <span lang="en" xml:lang="en">Saving as JPEG</span>
- ”</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-images-out.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-images-out.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-using-web-reducing-file-size.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-images-out.html">Chapter 6. 
- <span lang="en" xml:lang="en">Getting images out of GIMP</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-using-web-reducing-file-size.html">2.2. 
- <span lang="en" xml:lang="en">Reducing the File Size Even More</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-