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.26.  Align Visible Layers</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-configure-grid.html" title="9.25.  Configure Grid" />
- <link rel="next" href="gimp-image-properties.html" title="9.27.  Image Properties" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">9.26. 
- <span lang="en" xml:lang="en">Align Visible Layers</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-image-configure-grid.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-properties.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-align-layers"></a>9.26. 
- <span lang="en" xml:lang="en">Align Visible Layers</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: 2438 $</td>
- <td align="left">2007-12-02</td>
- <td align="left">j.h</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2702637" class="indexterm"></a>
- <a id="id2702655" class="indexterm"></a>
- <p>
- With the <span class="guimenuitem">Align Visible Layers</span> command,
- you can very precisely position the visible layers (those marked with
- the “<span class="quote">eye</span>” icon). This degree of precision is especially
- useful when you are working on animations, which typically have many
- small layers. Clicking on <span class="guimenuitem">Align Visible
- Layers</span> displays a dialog which allows you to choose
- how the layers should be aligned.
- </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>
- In <span class="application">GIMP 1.2</span>, the default base for the
- alignment was the top visible layer in the stack. In
- <span class="application">GIMP 2</span>, the default alignment base is
- the edge of the canvas. You can still align the image on the bottom
- layer of the stack, even if it is invisible, by checking
- <span class="guilabel">Use the (invisible) bottom layer as the base</span>
- in the dialog.
- </p>
- </td>
- </tr>
- </table>
- </div>
- <div class="figure">
- <a id="id2702723"></a>
- <p class="title">
- <b>Figure 15.89. 
- <span lang="en" xml:lang="en">Example image for layer alignment</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Example image for layer alignment" />
- <div class="caption">
- <p>
- The example image contains four layers on a large (150x150 pixel)
- canvas. The red square is 10x10 pixels, the green rectangle is
- 10x20 pixels and the yellow rectangle is 20x10 pixels. The
- background layer (blue, 100x100 pixels) will not be affected by
- the command, since the <span class="guilabel">Ignore lower layer</span>
- option has been checked on the dialog. Note that the layers in the
- image seem to have a different order than their actual order in
- the stack because of their positions on the canvas. The yellow
- layer is the top layer in the image and the second one in the
- stack.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2702776"></a>9.26.1. 
- <span lang="en" xml:lang="en">Activate 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">Image</span> ‚Üí <span class="guimenuitem">Align Visible layers</span>.
- There is no default keyboard shortcut. The dialog doesn't show up
- if the image holds a single layer only.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2702820"></a>9.26.2. 
- <span lang="en" xml:lang="en">
- Description of the “<span class="quote">Layer Align</span>” dialog
- </span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2702835"></a>
- <p class="title">
- <b>Figure 15.90. 
- <span lang="en" xml:lang="en">The “<span class="quote">Layer Align</span>” dialog</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/menus-layer-align.png" alt="The Layer Align dialog" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Horizontal Style; Vertical Style</span>
- </dt>
- <dd>
- <p>
- These options control how the layers should be moved in
- relationship to each other. You can choose:
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- <span class="guilabel">None</span>:
- There will be no change in the horizontal or the vertical
- position, respectively.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Collect</span>:
- The visible layers will be aligned on the canvas, in the
- way that is determined by the <span class="guilabel">Horizontal
- base</span> and <span class="guilabel">Vertical base</span>
- options. If you select a <span class="guilabel">Horizontal
- base</span> of <span class="guilabel">Right edge</span>, layers
- may disappear from the canvas. You can recover them by
- enlarging the canvas. If you check the
- <span class="guilabel">Use the (invisible) bottom layer as the
- base</span> option, the layers will be aligned on the
- top left corner of the bottom layer.
- </p>
- <div class="figure">
- <a id="id2702960"></a>
- <p class="title">
- <b>Figure 15.91. 
- <span lang="en" xml:lang="en">
- Horizontal “<span class="quote">Collect</span>” alignment
- (on the edge of the canvas)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Horizontal Collect alignment (on the edge of the canvas)" />
- <div class="caption">
- <p>Original image with the layer stack
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/alignHCLB-.png" alt="Horizontal Collect alignment (on the edge of the canvas)" />
- <div class="caption">
- <p>
- The layers have been moved horizontally so that their
- left edges are aligned with the left edge of the
- canvas.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2703027"></a>
- <p class="title">
- <b>Figure 15.92. 
- <span lang="en" xml:lang="en">
- Horizontal “<span class="quote">Collect</span>” alignment
- (on the bottom layer)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Horizontal Collect alignment (on the bottom layer)" />
- <div class="caption">
- <p>Original image with the layer stack
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/alignHCLB+.png" alt="Horizontal Collect alignment (on the bottom layer)" />
- <div class="caption">
- <p>
- The layers have been moved horizontally so that their
- left edges align with the left edge of the bottom
- layer.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- <span class="guilabel">Fill (left to right)</span>;
- <span class="guilabel">Fill (top to bottom)</span>:
- The visible layers will be aligned with the canvas
- according to the edge you selected with
- <span class="guilabel">Horizontal base</span> or
- <span class="guilabel">Vertical base</span>, respectively.
- The layers are arranged regularly, so that they do not
- overlap each other. The top layer in the stack is placed
- on the leftmost (or uppermost) position in the image.
- The bottom layer in the stack is placed on the rightmost
- (or bottommost) position of the image. The other layers
- are placed regularly between these two positions. If the
- <span class="guilabel">Use the (invisible) bottom layer as the
- base</span> option is checked, the layers are aligned
- with the corresponding edge of the bottom layer.
- </p>
- <div class="figure">
- <a id="id2703146"></a>
- <p class="title">
- <b>Figure 15.93. 
- <span lang="en" xml:lang="en">
- Horizontal “<span class="quote">Fill</span>” alignment (canvas)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Horizontal Fill alignment (canvas)" />
- <div class="caption">
- <p>Original image with the layer stack
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/alignHFLB-.png" alt="Horizontal Fill alignment (canvas)" />
- <div class="caption">
- <p>
- Horizontal filling alignment, Left to Right, with
- <span class="guilabel">Use the (invisible) bottom layer as the
- base</span> option not checked. The top layer
- in the stack, the green one, is placed all the way
- on the left. The bottom layer in the stack, the red
- one, is placed is on the right and the yellow layer
- is between the other two.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="figure">
- <a id="id2703223"></a>
- <p class="title">
- <b>Figure 15.94. 
- <span lang="en" xml:lang="en">
- Horizontal “<span class="quote">Fill</span>” alignment (bottom layer)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Horizontal Fill alignment (bottom layer)" />
- <div class="caption">
- <p>Original image with the layer stack
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/alignHFLB+.png" alt="Horizontal Fill alignment (bottom layer)" />
- <div class="caption">
- <p>
- The same parameters as in the previous example,
- but with the lowest (blue) level as the base.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- <span class="guilabel">Fill (right to left)</span>;
- <span class="guilabel">Fill (bottom to top)</span>:
- These settings work similarly to the ones described above,
- but the filling occurs in the opposite direction.
- </p>
- <div class="figure">
- <a id="id2703313"></a>
- <p class="title">
- <b>Figure 15.95. 
- <span lang="en" xml:lang="en">
- Vertical “<span class="quote">Fill</span>” alignment (bottom layer)
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/align-demo.png" alt="Vertical Fill alignment (bottom layer)" />
- <div class="caption">
- <p>Original image with the layer stack
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/menus/alignVFBB+.png" alt="Vertical Fill alignment (bottom layer)" />
- <div class="caption">
- <p>
- Vertical “<span class="quote">Fill</span>” alignment, bottom to
- top, bottom layer as base
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- There must be at least three visible layers in the image to
- use the “<span class="quote">Fill</span>” options.
- </p>
- </li>
- </ul>
- </div>
- </dd>
- </dl>
- </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-configure-grid.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-properties.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-configure-grid.html">9.25. 
- <span lang="en" xml:lang="en">Configure Grid</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-properties.html">9.27. 
- <span lang="en" xml:lang="en">Image Properties</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-