This class help you to resize a image.