WIP change. API using dst image.Image, src and dst image.Rectangle.

The resizing needs to avoid huge memory allocations. Resampling
from and to sub images doesn't work yet, but is planned.