[Gimp-user] [fix the script] copy a selection and paste as new layer..

David Gowers 00ai99 at gmail.com
Sat Mar 15 00:43:26 PDT 2008


By the way people,

'copy visible' always copies the entire selection -- the resultant
buffer always matches the selection bounds exactly.. When there is no
selection this is naturally the full image size.

If you don't like this behaviour, you can use the Autocrop filter on
the resultant image or layer.
(plug-in-autocrop, and plug-in-autocrop-layer)

On Sat, Mar 15, 2008 at 5:31 PM,
<saulgoode at flashingtwelve.brickfilms.com> wrote:
> Jihui Choi wrote:
>
>  > Here is a script. this copy a selection of the active layer and paste
>  > it as new layer with its opacity
>  > made by Ankh (thank you, Ankh in #gimp, irc.gimp.org)
>
>  > but there is a problem.
>  > size of the new layer is not its own size, is the same with the image.
>  > so I tried to fix this script, but I failed. T_T
>
>  The script you included copies the entire visible image to a new
>  layer. It makes sense that the new layer is the size of the image
>  since what you are copying may contain data outside the boundaries of
>  the active layer.
>
>
>  _______________________________________________
>  Gimp-user mailing list
>  Gimp-user at lists.XCF.Berkeley.EDU
>  https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>


More information about the Gimp-user mailing list