Make ouput width and height multiple of 2.