Add destination subrect API
Fix memory corruption bug
Rename x/y to w/h for clarity
Update command-line tool to support cropping
Merge pull request #2 from rsaxvc/subrect-api

Update command-line tool to support cropping
Use vector<> and auto_ptr<> for dynamic memory allocation
Convert always-positive variables to unsigned int
Remove RESAMPLER_MAX_DIMENSION limit
Update test.cpp to remove RESAMPLER_MAX_DIMENSION limitation
C++03 portability

Previously this relied on C++11's ability to template
using a class/struct local to the current function.
Merge pull request #6 from rsaxvc/subrect-api

Update test.cpp to remove RESAMPLER_MAX_DIMENSION limitation
Remove resampler_range_check()

Let the STL handle bounds checking.
Merge branch 'subrect-api'

Conflicts:
	resampler.cpp
	resampler.h