Hi,
Martin Bernreuther [EMAIL PROTECTED] writes:
I just wantet to copy a rectangle area from a source-layer to a target layer
of an image. That's what I done first:
(gimp-rect-select image 0 0 layer-width height REPLACE FALSE 0)
(gimp-edit-copy source-layer)
(let ((floating-sel (car
Sven wrote:
oh, come on. calling perl to resize the layer to the image size is a
bit of an overkill if it can also be done in one or two lines of
scheme. The following code is untested, but might actually work: ...
It may be overkill, but it's available from the layers channels dialog box
Hi,
Jeff Trefftzs [EMAIL PROTECTED] writes:
oh, come on. calling perl to resize the layer to the image size is a
bit of an overkill if it can also be done in one or two lines of
scheme. The following code is untested, but might actually work: ...
It may be overkill, but it's available
Hi,
Jeff Trefftzs [EMAIL PROTECTED] writes:
that menu entry points to layer_resize_to_image() in app/layers.c.
Aha! I didn't see a reference to it in the PDB explorer, so I
thought the perl-fu function was what was used. Should I file a bug
report? At any rate, I couldn't find it in
Hello,
I just wantet to copy a rectangle area from a source-layer to a target layer
of an image. That's what I done first:
(gimp-rect-select image 0 0 layer-width height REPLACE FALSE 0)
(gimp-edit-copy source-layer)
(let ((floating-sel (car (gimp-edit-paste target-layer FALSE
Hi Martin -
First, your questions would be better directed to the gimp-user (instead of
gimp-developer) list. And I can also recommend the script-fu group on yahoo.
To answer your question: you can avoid creating the intermediate variable by
doing
(gimp-floating-sel-anchor