GIMP Script-fu

Artifact Content
Login

Artifact 5e596664c3bb2c5dff34c5adb9d16875c7e57fef:

Wiki page [sg-float-layer] by saulgoode 2014-12-06 18:44:37.
D 2014-12-06T18:44:37.084
L sg-float-layer
P 9305a2f07ebe6e5545788e6d3ef7661d2a2161f2
U saulgoode
W 1472
<dl>
<dt><b>Command:</b> <dd>Float layer</dd></dt>
<dt><b>Menu:</b> <dd>"<Image>/Layer/Float Layer"</dd>
<dd>"<Layers>/Float Layer"</dd></dt>
<dt><b>PDB Name:</b> <dd>script-fu-sg-float-layer</dd></dt>
<dt><b>Download:</b> <dd>[http://chiselapp.com/user/saulgoode/repository/script-fu/artifact/397ca841b38943d4b2c8e404e1f29e4f766d7d08|sg-float-layer.scm] (after the page appears, click on the "Download" command)</dd></dt>
<dt><b>License:</b> <dd>[copyright|GPLv2+]</dd></dt>

<dt><b>Description:</b> <dd>Create a floating selection from the entire layer; destroying any existing selection. This allows repositioning the layer without repositioning the layermask (works for other transformations as well).

This is a useful technique for interactively cropping/transforming a layer so that it is presented within a masked window in a certain location on the image. While a similar effect could be achieved by performing a "Select->All" and then floating the selection, regions of the layer outside of the image will be "lost" and unavailable during the repositioning. By using this "Float layer" command, the entire layer is available as the floated selection. This is often important for such use cases where the layer being positioned is much larger than final image.

NOTE: When the floated layer is anchored, any regions outside the bounds of the original layer are lost. Also, any selection mask that is present initially is lost.


</dd></dt>
</dl>

Z 1beb44f5a5feda882f9e7efe06177eb5