There's really no point in returning the output buffer.
It does nothing now but I want to support edge behavior in the future.
Allow specifying a stride.
We are going to support SRGB.
Beginning of a more sophisticated resample algorithm, starting with calculating filter contributions per scan line.