I think it would be pretty difficult to figure out the algorithm by looking at the Gimp source code. The algorithm that Gimp uses is based on papers by Todor Georgiev, and you can find a description of the algorithm in a paper he wrote called "Photoshop Healing Brush: a Tool for Seamless Cloning" -- you can access a PDF version at http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.109.5521&rep=rep1&type=pdf Note that Gimp only uses the Laplacian method that he describes, not the more sophisticated fourth-order version. -- Bill _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer