In the process of working on my next game, I found myself in need of a particular photo editing effect: torn paper, as if an image has been ripped out of a magazine and glued in place. I found an excellent method for the image editor I use, the GIMP, but it requires several steps. The solution? Script-fu! I haven’t coded in Scheme in forever, but it was relatively straightforward to put together a new filter.
Save it to your GIMP scripts directory, which will be ~/.gimp-2.6/scripts/ (or something like C:\Users\Gregory\.gimp-2.6\scripts for Windows users). The filter will be added to the end of your Filters menu. To use, just make a selection of any shape, make sure the layer you want to tear out is active, and go to Filters->Torn Paper. The filter will make a new layer with the torn out piece on it.
This filter allows you to make images like the one above. Cool, huh?
Very neat indeed, thanks!
Looks very nice, looking forward to seeing what the full game will look like.