For those of you who are lazy like I am, and do not follow many times the excellent tutorial of Mahvin, but still like to have a way to create a water reflection of an image, I attach here one of my scripts:
warning: it is NOT the implementation of Mahvin's tutorial, it is more
an extension of the dm-gen-1.2 script by Andrey Lebedenko (this is also reflected in the name of my script); Andrey's script constitutes the core of my script in creating a displacement map, I just added some front-end and back-end code in order to let the user getting the final result just opening his/her image and running the script.
The results seem acceptable to me, even if following with attention Mahvin's tutorial you get better outcomes.
Two examples are shown for the same base image, using different gradients (the names of the images let you understand the gradients used).
The script creates a new image, which can be or not flattened depending on your parameter choice.
As water gradient the default is Caribbean Blues, but obviously you can choose the one you prefer.
I also created a slightly modified version of the Caribbean Blues standard gradient; it is included in the package (My Caribbean Blues), as well as another of my gradients (My Water 1).
Warning: the creation of the displacement map takes some time, better if you experiment the script
with images not too huge; on my PC (Window 7 32-bit 3-4 years old) an image of around 1900*1300
took 40-45 seconds to be "water-reflected".Graechan: feel totally free - if you like - to amend/improve this script in order to give to all gimp-chatters a better and more flexible plug-in, as all your scripts are.
Download Water Reflection from GIMP Scripts