title: How to implement a similar of photoshop's "patch tool" function?
body: <p>I have to automatically remove a barcode in a T-Shirt image, like the attached file:</p>
  
  <p><a href="http://img546.imageshack.us/img546/2888/codel.jpg" rel="nofollow noreferrer">barcode http://img546.imageshack.us/img546/2888/codel.jpg</a></p>
  
  <p>I know I can do it manually in photoshop using the function "patch tool" that replaces the cropped area by image in the surrounded area but I need to either implement a code for that or get an SDK in Delphi to support this process automatically by passing to the function the (X,Y) points of the edges of the barcode.</p>
  
  <p>Does anyone have any ideas?</p>