Shrinks an image an integral factor by averaging pixels.
Because the resulting pixels might not fit into the input's
color model, the output is always in the default RGB color model.
This filter is somewhat slow.