Add method resize_by_center

Resize the image by the center with a custom background color