Fix wrong colors of resized image.YCbCr images.
Fix wrong colors of resized image.YCbCr images.

Fixes issue #31.
The color value of every pixel of the resized image is created from the YCbCr
colors of the input image. Therefore each of the three components have the same
sample rate. This is the 4:4:4 chroma subsampling and the output images are
now created accordingly.

tomcartwrightuk/resize,nfnt/resize,bradberger/resize,CodyGuo/resize,RomanMinkin/resize,charlievieth/resize