[feature] Padding image correctly.