[EMAIL PROTECTED] wrote:
> Quoting David Hodson <[EMAIL PROTECTED]>:

>>What is the correct way to copy a layer from one image to another, using
>>the API?

> (define new-layer (car (gimp-layer-new-from-drawable source-layer  
> destination-image)))
> 
> (gimp-image-add-layer destination-image new-layer position)

Great, that seems to do the trick. Thanks.

-- 
David Hodson  --  this night wounds time
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to