Fix image resize with keepFrame, use bicubic interpolation for rescale.
Support background color for keepFrame.