Adding some filters to further enhance the image, And
Modifying the resizing to check the image size first