I did not properly present the part about pasting the recomposed image  
back into the original layer. You will want to set the offsets of the  
pasted layer so that they match the original active layer ('drawable')  
and to also anchor your pasted layer. The code should be similar to  
the following:

(set! floating-sel (car (gimp-edit-named-paste drawable buffer-name TRUE)))
(gimp-layer-set-offsets floating-sel
                         (car  (gimp-drawable-offsets drawable))
                         (cadr (gimp-drawable-offsets drawable)))
(gimp-floating-sel-anchor floating-sel)


_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to