Rick wrote:
It also pastes the selection back onto the layer it was originally selected from (upper left corner also). I don't understand the purpose of that.
I'm not experiencing that.
Rick wrote:
Also, the selection on the new layer should be located exactly where it was located on the image it was taken from. You should be able to merge the two layers back together seemlessly.
If you install my
Align Down1 Script-fu then you will be able to easily reposition the resulting new layer by running the script (menu command "Layer->Align Down") after performing your "Paste As->New Layer" (assuming you have not altered your original selection).
1 Align Down is my all-time favorite GIMP script. Though it was originally written before GIMP had an Align Tool, the script is still relevant and often much easier to use than either the new Tool or the "Image->Align Visible Layers" plug-in. I am continually finding new uses for the script -- and correcting this odd Paste As behavior is one that had not previously occurred to me (I have updated the wiki page to point this out).
Another script which might be of use (it is how I typically perform the operation described by Rick) is my
Edit->Isolate. This very simple script merely deletes everything in a layer
except within the selected region (it is equivalent to performing a "Select->Invert", "Edit->Clear", "Select->Invert"; though it will add an alpha channel if one does not exist).
If you make your selection, duplicate your layer, and then run "Edit->Isolate", the result will be much the same as "Edit->Copy", "Edit->Paste As->New Layer", and "Layer->Align Down"
except that the new layer will be the same size as the original layer (
not the original selection). Duplicating and then Isolate-ing is only two steps and the retention of the original layer's size is sometimes a desirable feature (especially when creating animated frames).