Autocropping, Homemade GPS Tracking

I have this image:

I would like to automatically crop anything outside the blue rectangle.


I plan on using this image w/ some gps gear we have out in the field. I have instructions not to use google maps/earth. Using a div with dimensions equal to the pixels of the image, I will set the background image of the div to the picture. Then using gps data from our database, draw a point and label within the div.

The corner of the blue boxes indicate the exact coordinates labeled. So everything outside the blue box is not needed and would through off my points to draw.

Wondering if there is something I can add to me image upload script to auto crop the image.

Or if in reading this anyone decides that I'm being stupid and taking a difficult route, please call me out.

Thank you in advance.


Need Your Help

Android: Drawing on surfaceview in listview

android listview surfaceview drawrect

I have a listview with a few TextViews and a SurfaceView. Most items in the listview are dynamic and depend on data from an external server. I'm using a custom ArrayAdapter to keep track of things....

Java OpenGL Vertex Buffer Objects not working

java opengl buffer vertex

I tried to implement Open GLs Vertex Buffer Objects the first time, and all i get is a black screen.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.