src
by simply using every second pixel into
dst
For efficiency reasons, the dimensions of dst
are not checked,
that is, you have to take care, that
dst.width == src.width / 2 + src.width % 2 &&
dst.height == src.height / 2 + src.height % 2 .