title: How to detect an image border programmatically?
body: <p>I'm searching for a program which detects the border of a image,
  for example I have a square and the program detects the X/Y-Coords</p>
  
  <p>Example:</p>
  
  <p><a href="http://img709.imageshack.us/img709/1341/22444641.png" rel="nofollow noreferrer">alt text http://img709.imageshack.us/img709/1341/22444641.png</a></p>