Quoting David Hodson <hodsond@xxxxxxxxxxxxxx>: > What is the correct way to copy a layer from one image to another, using > the API? I am not certain of its correctness, but I would use the PDB function 'gimp-layer-new-from-drawable'. In Script-fu: (define new-layer (car (gimp-layer-new-from-drawable source-layer destination-image))) (gimp-image-add-layer destination-image new-layer position) 'position' is the location in the layerstack (0=top; -1 means place the new layer above the active layer). Note that any layermask will also be copied and that the original layermode is retained. _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer