Python Resize Image With Padding