Padding image by adding more pixels