I wonder if you need to do the manually alpha blending. A lot of the algorithms work with a source image and a destination image. Which means that during the operation the destination image won't be read. What you could do is make sure that your tile is the size that you want plus the size of the radius of your operation. But this might not work for all situations. There is no built-in thing to do this for you.
↧