Subsampling an image by a factor

Then perhaps Interpolations.jl?