title: PhotoShop - Automate Batch to remove content outside border
body: <p>Would like to automate and capture only the <strong>map</strong> part and save it to a different file i.e. any thing <strong>outside the rectangle</strong> is removed.
  I tried exploring Photoshop's <em>magic wand</em> and <em>refine edge</em> tools but not sure if I am missing anything in my approach. Looks like Crop or Trim may not work to automate since dimensions vary for each image.</p>
  
  <p>Note: The rectangle border is not exact for every image i.e. the border width on each side may vary and also the dimensions of rectangle may vary. I have 1000+ maps and automate will speed up the tasks.</p>
  
  <p>Thanks in advance for any inputs, recommendation![enter image description here][1]s etc.</p>
  
  <p>Reference Map:
  <a href="http://www.google.com/imgres?imgurl=http%3A%2F%2Fwww.portal.gsi.gov.in%2Fimages%2FGSIimages%2FSTATUS_Map_AirborneSurveys_11-12.gif&amp;imgrefurl=http%3A%2F%2Fwww.portal.gsi.gov.in%2Fpls%2Fportal%2Furl%2Fpage%2FGSI_STATIC%2FGSI_STAT_SEARCH_AMSE%3FlinkId%3D1032&amp;h=4018&amp;w=2651&amp;tbnid=Bgkcf16ZBBhB9M%3A&amp;zoom=1&amp;docid=azCZJ7k99sm84M&amp;ei=WzFBVN7YArS1sQSr_oGAAg&amp;tbm=isch&amp;ved=0CB4QMygAMAA&amp;iact=rc&amp;uact=3&amp;dur=9105&amp;page=1&amp;start=0&amp;ndsp=26" rel="nofollow">http://www.google.com/imgres?imgurl=http%3A%2F%2Fwww.portal.gsi.gov.in%2Fimages%2FGSIimages%2FSTATUS_Map_AirborneSurveys_11-12.gif&amp;imgrefurl=http%3A%2F%2Fwww.portal.gsi.gov.in%2Fpls%2Fportal%2Furl%2Fpage%2FGSI_STATIC%2FGSI_STAT_SEARCH_AMSE%3FlinkId%3D1032&amp;h=4018&amp;w=2651&amp;tbnid=Bgkcf16ZBBhB9M%3A&amp;zoom=1&amp;docid=azCZJ7k99sm84M&amp;ei=WzFBVN7YArS1sQSr_oGAAg&amp;tbm=isch&amp;ved=0CB4QMygAMAA&amp;iact=rc&amp;uact=3&amp;dur=9105&amp;page=1&amp;start=0&amp;ndsp=26</a></p>