A slightly different approach from Mr A's, the following script will add a command "Filters->Distorts->Contour Fill Selection", which will scale each row of the current layer to fill the selection. It probably still needs some work but seems to be in a somewhat usable state.http://chiselapp.com/user/saulgoode/rep ... d6366b14ed
Example (selection outlined in blue):
Produces the following new layer (original layer and selection are retained):
I have always wanted to be able to paste raster information inside of a selection. I like what this script does but I don't know how to save it as an .scm file in my scripts folder. When I right click the link and try to save it it wants to save as an html. What should I do to get this script?